Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@liara/cli

2.4.1 • Public • Published

@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.4.1 linux-x64 node-v10.18.1
$ liara --help [COMMAND]
USAGE
  $ liara COMMAND
...

Commands

liara deploy

deploy an app

USAGE
  $ liara deploy

OPTIONS
  -a, --app=app          app id
  -d, --debug            show debug logs
  -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
  --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

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
  -d, --debug              show debug logs
  -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

See code: src/commands/login.ts

liara logs

Fetch the logs of an app

USAGE
  $ liara logs

OPTIONS
  -a, --app=app          (required) app id
  -d, --debug            show debug logs
  -h, --help             show CLI help
  -s, --since=since      show logs since timestamp
  --api-token=api-token  your api token to use for authentication

See code: src/commands/logs.ts

liara restart [PROJECT]

restart a project

USAGE
  $ liara restart [PROJECT]

OPTIONS
  -d, --debug            show debug logs
  -h, --help             show CLI help
  --api-token=api-token  your api token to use for authentication

See code: src/commands/restart.ts

liara start [PROJECT]

start a project

USAGE
  $ liara start [PROJECT]

OPTIONS
  -d, --debug            show debug logs
  -h, --help             show CLI help
  --api-token=api-token  your api token to use for authentication

See code: src/commands/start.ts

liara stop [PROJECT]

stop a project

USAGE
  $ liara stop [PROJECT]

OPTIONS
  -d, --debug            show debug logs
  -h, --help             show CLI help
  --api-token=api-token  your api token to use for authentication

See code: src/commands/stop.ts

liara tunnel:close

close all open ssh tunnels

USAGE
  $ liara tunnel:close

OPTIONS
  -d, --debug            show debug logs
  -h, --help             show CLI help
  --api-token=api-token  your api token to use for authentication

See code: src/commands/tunnel/close.ts

liara tunnel:open

open a ssh tunnel

USAGE
  $ liara tunnel:open

OPTIONS
  -d, --debug            show debug logs
  -h, --help             show CLI help
  --api-token=api-token  your api token to use for authentication

See code: src/commands/tunnel/open.ts

Install

npm i @liara/cli

DownloadsWeekly Downloads

173

Version

2.4.1

License

MIT

Unpacked Size

81.2 kB

Total Files

53

Last publish

Collaborators

  • avatar