JSPM

@liara/cli

2.11.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2684
  • Score
    100M100P100Q118407F
  • License MIT

The command line interface for Liara

Package Exports

  • @liara/cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@liara/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@liara/cli

The command line interface for Liara

Version Appveyor CI Downloads/week License

Usage

$ npm install -g @liara/cli
$ liara COMMAND
running command...
$ liara (-v|--version|version)
@liara/cli/2.11.2 darwin-x64 node-v14.17.3
$ liara --help [COMMAND]
USAGE
  $ liara COMMAND
...

Commands

liara deploy

deploy an app

USAGE
  $ liara deploy

OPTIONS
  -a, --app=app          app id
  -d, --disks=disks      mount a disk
  -h, --help             show CLI help
  -i, --image=image      docker image to deploy
  -m, --message=message  the release message
  -v, --volume=volume    volume absolute path
  --api-token=api-token  your api token to use for authentication
  --args=args            docker image entrypoint args
  --build-arg=build-arg  docker image build args
  --debug                show debug logs
  --detach               do not stream app logs after deployment
  --path=path            app path in your computer
  --platform=platform    the platform your app needs to run
  --port=port            the port that your app listens to
  --region=iran|germany  the region you want to deploy your app to

See code: src/commands/deploy.ts

liara help [COMMAND]

display help for liara

USAGE
  $ liara help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

liara login

login to your account

USAGE
  $ liara login

OPTIONS
  -e, --email=email        your email
  -h, --help               show CLI help
  -p, --password=password  your password
  --api-token=api-token    your api token to use for authentication
  --debug                  show debug logs
  --region=iran|germany    the region you want to deploy your app to

See code: src/commands/login.ts

liara logs

fetch the logs of an app

USAGE
  $ liara logs

OPTIONS
  -a, --app=app          (required) app id
  -h, --help             show CLI help
  -s, --since=since      show logs since timestamp
  --api-token=api-token  your api token to use for authentication
  --debug                show debug logs
  --region=iran|germany  the region you want to deploy your app to

See code: src/commands/logs.ts

liara restart [APP]

restart an app

USAGE
  $ liara restart [APP]

OPTIONS
  -h, --help             show CLI help
  --api-token=api-token  your api token to use for authentication
  --debug                show debug logs
  --region=iran|germany  the region you want to deploy your app to

See code: src/commands/restart.ts

liara shell

run a command in a running applet

USAGE
  $ liara shell

OPTIONS
  -a, --app=app          app id
  -c, --command=command  [default: /bin/bash] the command to execute
  -h, --help             show CLI help
  --api-token=api-token  your api token to use for authentication
  --debug                show debug logs
  --region=iran|germany  the region you want to deploy your app to

See code: src/commands/shell.ts

liara start [APP]

start an app

USAGE
  $ liara start [APP]

OPTIONS
  -h, --help             show CLI help
  --api-token=api-token  your api token to use for authentication
  --debug                show debug logs
  --region=iran|germany  the region you want to deploy your app to

See code: src/commands/start.ts

liara stop [APP]

stop an app

USAGE
  $ liara stop [APP]

OPTIONS
  -h, --help             show CLI help
  --api-token=api-token  your api token to use for authentication
  --debug                show debug logs
  --region=iran|germany  the region you want to deploy your app to

See code: src/commands/stop.ts