/liara-cli

The command line interface for Liara

Primary LanguageTypeScriptMIT LicenseMIT

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

Commands

liara deploy

deploy a project

USAGE
  $ liara deploy

OPTIONS
  -d, --debug            show debug logs
  -h, --help             show CLI help
  -i, --image=image      docker image to deploy
  -p, --project=project  project id
  -v, --volume=volume    volume absolute path
  --api-token=api-token  your api token to use for authentication
  --args=args            docker image entrypoint args
  --no-project-logs      do not stream project logs after deployment
  --path=path            project path in your computer
  --platform=platform    the platform your project 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

see a project's logs

USAGE
  $ liara logs

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

See code: src/commands/logs.ts