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
Usage
$ npm install -g @liara/cli
$ liara COMMAND
running command...
$ liara (-v|--version|version)
@liara/cli/2.6.6 linux-x64 node-v10.18.1
$ liara --help [COMMAND]
USAGE
$ liara COMMAND
...Commands
liara deployliara help [COMMAND]liara loginliara logsliara restart [PROJECT]liara start [PROJECT]liara stop [PROJECT]liara tunnel:closeliara tunnel:open
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
--region=iran|germany the region you want to deploy your app toSee 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 CLISee 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
--region=iran|germany the region you want to deploy your app toSee 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
--region=iran|germany the region you want to deploy your app toSee 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
--region=iran|germany the region you want to deploy your app toSee 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
--region=iran|germany the region you want to deploy your app toSee 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
--region=iran|germany the region you want to deploy your app toSee 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
--region=iran|germany the region you want to deploy your app toSee 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
--region=iran|germany the region you want to deploy your app toSee code: src/commands/tunnel/open.ts