@liara/cli
The command line interface for Liara
Usage
$ npm install -g @liara/cli
$ liara COMMAND
running command...
$ liara (-v|--version|version)
@liara/cli/2.1.0 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