JSPM

@liara/cli

2.13.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2213
  • Score
    100M100P100Q115125F
  • 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.13.2 darwin-x64 node-v14.17.3
$ liara --help [COMMAND]
USAGE
  $ liara COMMAND
...

Commands

liara account:add

add an account

USAGE
  $ liara account:add

OPTIONS
  -a, --account=account    account name
  -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/account/add.ts

liara account:list

list available accounts

USAGE
  $ liara account:list

OPTIONS
  -h, --help             show CLI help
  -x, --extended         show extra columns
  --api-token=api-token  your api token to use for authentication
  --columns=columns      only show provided columns (comma-separated)
  --csv                  output is csv format
  --debug                show debug logs
  --filter=filter        filter property by partial string matching, ex: name=foo
  --no-header            hide table header from output
  --no-truncate          do not truncate output to fit screen
  --region=iran|germany  the region you want to deploy your app to
  --sort=sort            property to sort by (prepend '-' for descending)

ALIASES
  $ liara account:ls

See code: src/commands/account/list.ts

liara account:remove

remove an account

USAGE
  $ liara account:remove

OPTIONS
  -a, --account=account  account name
  -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

ALIASES
  $ liara account:rm

See code: src/commands/account/remove.ts

liara account:use

select an account

USAGE
  $ liara account:use

OPTIONS
  -a, --account=account  account name
  -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/account/use.ts

liara app:create

create an app

USAGE
  $ liara app:create

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

ALIASES
  $ liara create

See code: src/commands/app/create.ts

liara app:delete

delete an app

USAGE
  $ liara app:delete

OPTIONS
  -a, --app=app          (required) app id
  -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

ALIASES
  $ liara delete

See code: src/commands/app/delete.ts

liara app:logs

fetch the logs of an app

USAGE
  $ liara app: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

ALIASES
  $ liara logs

See code: src/commands/app/logs.ts

liara app:restart

restart an app

USAGE
  $ liara app:restart

OPTIONS
  -a, --app=app          (required) app id
  -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

ALIASES
  $ liara restart

See code: src/commands/app/restart.ts

liara app:shell

run a command in a running applet

USAGE
  $ liara app: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

ALIASES
  $ liara shell

See code: src/commands/app/shell.ts

liara app:start

start an app

USAGE
  $ liara app:start

OPTIONS
  -a, --app=app          (required) app id
  -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

ALIASES
  $ liara start

See code: src/commands/app/start.ts

liara app:stop

stop an app

USAGE
  $ liara app:stop

OPTIONS
  -a, --app=app          (required) app id
  -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

ALIASES
  $ liara stop

See code: src/commands/app/stop.ts

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