Coder Social home page Coder Social logo

liara-cloud / cli Goto Github PK

View Code? Open in Web Editor NEW
102.0 6.0 12.0 2.17 MB

The command line interface for Liara

Home Page: https://www.npmjs.com/package/@liara/cli

License: MIT License

JavaScript 0.12% Batchfile 0.05% TypeScript 99.75% Makefile 0.06% Shell 0.02%
deployment liara cli deploy hacktoberfest

cli's Introduction

@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 (--version|-v)
@liara/cli/6.0.2 linux-x64 node-v20.11.1
$ liara --help [COMMAND]
USAGE
  $ liara COMMAND
...

Commands

liara account add

add an account

USAGE
  $ liara account add [-h] [--debug] [--api-token <value>] [--region iran|germany] [-a <value>] [-e <value>] [-p
    <value>]

FLAGS
  -a, --account=<value>    account name
  -e, --email=<value>      your email
  -h, --help               Show CLI help.
  -p, --password=<value>   your password
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  add an account

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

liara account list

list available accounts

USAGE
  $ liara account list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available accounts

ALIASES
  $ liara account ls

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

liara account ls

list available accounts

USAGE
  $ liara account ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available accounts

ALIASES
  $ liara account ls

liara account remove

remove an account

USAGE
  $ liara account remove [-h] [--debug] [--api-token <value>] [--region iran|germany] [-a <value>]

FLAGS
  -a, --account=<value>    account name
  -h, --help               Show CLI help.
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  remove an account

ALIASES
  $ liara account rm

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

liara account rm

remove an account

USAGE
  $ liara account rm [-h] [--debug] [--api-token <value>] [--region iran|germany] [-a <value>]

FLAGS
  -a, --account=<value>    account name
  -h, --help               Show CLI help.
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  remove an account

ALIASES
  $ liara account rm

liara account use

select an account

USAGE
  $ liara account use [-h] [--debug] [--api-token <value>] [--region iran|germany] [-a <value>]

FLAGS
  -a, --account=<value>    account name
  -h, --help               Show CLI help.
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  select an account

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

liara app create

create an app

USAGE
  $ liara app create [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>] [--platform <value>] [--plan <value>] [-n <value>] [-r true|false]

FLAGS
  -a, --app=<value>         app id
  -h, --help                Show CLI help.
  -n, --network=<value>     network
  -r, --read-only=<option>  read-only filesystem
                            <options: true|false>
      --account=<value>     temporarily switch to a different account
      --api-token=<value>   your api token to use for authentication
      --debug               show debug logs
      --plan=<value>        plan
      --platform=<value>    platform
      --region=<option>     the region you want to deploy your app to
                            <options: iran|germany>

DESCRIPTION
  create an app

ALIASES
  $ liara create

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

liara app delete

delete an app

USAGE
  $ liara app delete [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  delete an app

ALIASES
  $ liara delete
  $ liara app remove
  $ liara app rm

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

liara app list

list available apps

USAGE
  $ liara app list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available apps

ALIASES
  $ liara app ls

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

liara app logs

fetch the logs of an app

USAGE
  $ liara app logs [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>] [-s <value>] [-t] [-f] [-c]

FLAGS
  -a, --app=<value>        app id
  -c, --colorize           colorize log output
  -f, --follow             follow log output
  -h, --help               Show CLI help.
  -s, --since=<value>      show logs since timestamp
  -t, --timestamps         show timestamps
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  fetch the logs of an app

ALIASES
  $ liara logs

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

liara app ls

list available apps

USAGE
  $ liara app ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available apps

ALIASES
  $ liara app ls

liara app remove

delete an app

USAGE
  $ liara app remove [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  delete an app

ALIASES
  $ liara delete
  $ liara app remove
  $ liara app rm

liara app restart

restart an app

USAGE
  $ liara app restart [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  restart an app

ALIASES
  $ liara restart

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

liara app rm

delete an app

USAGE
  $ liara app rm [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  delete an app

ALIASES
  $ liara delete
  $ liara app remove
  $ liara app rm

liara app shell

run a command in a running applet

USAGE
  $ liara app shell [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>] [-c <value>]

FLAGS
  -a, --app=<value>        app id
  -c, --command=<value>    [default: /bin/bash] the command to execute
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  run a command in a running applet

ALIASES
  $ liara shell

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

liara app start

start an app

USAGE
  $ liara app start [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  start an app

ALIASES
  $ liara start

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

liara app stop

stop an app

USAGE
  $ liara app stop [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  stop an app

ALIASES
  $ liara stop

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

liara autocomplete [SHELL]

Display autocomplete installation instructions.

USAGE
  $ liara autocomplete [SHELL] [-r]

ARGUMENTS
  SHELL  (zsh|bash|powershell) Shell type

FLAGS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

DESCRIPTION
  Display autocomplete installation instructions.

EXAMPLES
  $ liara autocomplete

  $ liara autocomplete bash

  $ liara autocomplete zsh

  $ liara autocomplete powershell

  $ liara autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

liara bucket create

create a bucket

USAGE
  $ liara bucket create [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--name
    <value>] [--permission <value>] [--plan <value>]

FLAGS
  -h, --help                Show CLI help.
      --account=<value>     temporarily switch to a different account
      --api-token=<value>   your api token to use for authentication
      --debug               show debug logs
      --name=<value>        name
      --permission=<value>  permission
      --plan=<value>        plan
      --region=<option>     the region you want to deploy your app to
                            <options: iran|germany>

DESCRIPTION
  create a bucket

ALIASES
  $ liara bucket create

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

liara bucket delete

delete a bucket

USAGE
  $ liara bucket delete [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-b
    <value>] [-f]

FLAGS
  -b, --bucket=<value>     bucket name
  -f, --force              force the deletion
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  delete a bucket

ALIASES
  $ liara bucket delete

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

liara bucket list

list available buckets

USAGE
  $ liara bucket list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available buckets

ALIASES
  $ liara bucket ls

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

liara bucket ls

list available buckets

USAGE
  $ liara bucket ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available buckets

ALIASES
  $ liara bucket ls

liara create

create an app

USAGE
  $ liara create [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>] [--platform <value>] [--plan <value>] [-n <value>] [-r true|false]

FLAGS
  -a, --app=<value>         app id
  -h, --help                Show CLI help.
  -n, --network=<value>     network
  -r, --read-only=<option>  read-only filesystem
                            <options: true|false>
      --account=<value>     temporarily switch to a different account
      --api-token=<value>   your api token to use for authentication
      --debug               show debug logs
      --plan=<value>        plan
      --platform=<value>    platform
      --region=<option>     the region you want to deploy your app to
                            <options: iran|germany>

DESCRIPTION
  create an app

ALIASES
  $ liara create

liara db backup create

create a database backup

USAGE
  $ liara db backup create [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  create a database backup

See code: src/commands/db/backup/create.ts

liara db backup dl

download a database backup

USAGE
  $ liara db backup dl [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>] [-b <value>] [-o <value>]

FLAGS
  -b, --backup=<value>     select which backup to download
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
  -o, --output=<value>     download the backup file and save it as the given name in the current working directory
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  download a database backup

ALIASES
  $ liara db backup dl

liara db backup download

download a database backup

USAGE
  $ liara db backup download [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>] [-b <value>] [-o <value>]

FLAGS
  -b, --backup=<value>     select which backup to download
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
  -o, --output=<value>     download the backup file and save it as the given name in the current working directory
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  download a database backup

ALIASES
  $ liara db backup dl

See code: src/commands/db/backup/download.ts

liara db backup list

list backups for a database

USAGE
  $ liara db backup list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml
    |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list backups for a database

ALIASES
  $ liara db backup ls

See code: src/commands/db/backup/list.ts

liara db backup ls

list backups for a database

USAGE
  $ liara db backup ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml
    |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list backups for a database

ALIASES
  $ liara db backup ls

liara db create

create a new database

USAGE
  $ liara db create [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>] [--plan <value>] [--public-network] [-t <value>] [-v <value>] [-y] [--network <value>]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
  -t, --type=<value>       choose which database to use
  -v, --version=<value>    version of the database
  -y, --yes                say yes to continue prompt
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --network=<value>    network
      --plan=<value>       plan
      --public-network     use public network or not
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  create a new database

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

liara db list

list available databases

USAGE
  $ liara db list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available databases

ALIASES
  $ liara db ls

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

liara db ls

list available databases

USAGE
  $ liara db ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available databases

ALIASES
  $ liara db ls

liara db remove

remove a database

USAGE
  $ liara db remove [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>] [-y]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
  -y, --yes                say yes to continue prompt
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  remove a database

ALIASES
  $ liara db rm

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

liara db resize

resize a database

USAGE
  $ liara db resize [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>] [--plan <value>] [-d <value>]

FLAGS
  -d, --disk=<value>       extend disk size or not
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --plan=<value>       new plan name
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  resize a database

See code: src/commands/db/resize.ts

liara db rm

remove a database

USAGE
  $ liara db rm [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>] [-y]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
  -y, --yes                say yes to continue prompt
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  remove a database

ALIASES
  $ liara db rm

liara db start

start a database

USAGE
  $ liara db start [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  start a database

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

liara db stop

stop a database

USAGE
  $ liara db stop [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your database
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  stop a database

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

liara delete

delete an app

USAGE
  $ liara delete [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  delete an app

ALIASES
  $ liara delete
  $ liara app remove
  $ liara app rm

liara deploy

deploy an app

USAGE
  $ liara deploy [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--path
    <value>] [--platform <value>] [-a <value>] [-p <value>] [-i <value>] [--detach] [--no-app-logs] [--args <value>]
    [--build-arg <value>] [-m <value>] [-d <value>] [--no-cache] [-f <value>] [-b iran|germany]

FLAGS
  -a, --app=<value>              app id
  -b, --build-location=<option>  name of the build's location
                                 <options: iran|germany>
  -d, --disks=<value>...         mount a disk
  -f, --dockerfile=<value>       name of the Dockerfile (default is "PATH/Dockerfile")
  -h, --help                     Show CLI help.
  -i, --image=<value>            docker image to deploy
  -m, --message=<value>          the release message
  -p, --port=<value>             the port that your app listens to
      --account=<value>          temporarily switch to a different account
      --api-token=<value>        your api token to use for authentication
      --args=<value>             docker image entrypoint args
      --build-arg=<value>...     docker image build args
      --debug                    show debug logs
      --detach                   run build in background
      --no-app-logs              do not stream app logs after deployment
      --no-cache                 do not use cache when building the image
      --path=<value>             app path in your computer
      --platform=<value>         the platform your app needs to run
      --region=<option>          the region you want to deploy your app to
                                 <options: iran|germany>

DESCRIPTION
  deploy an app

See code: src/commands/deploy.ts

liara disk create

create a disk

USAGE
  $ liara disk create [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>] [-n <value>] [-s <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
  -n, --name=<value>       disk name
  -s, --size=<value>       disk size
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  create a disk

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

liara env list

list environment variables of an app

USAGE
  $ liara env list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml
    |  | ] [--sort <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list environment variables of an app

ALIASES
  $ liara env ls

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

liara env ls

list environment variables of an app

USAGE
  $ liara env ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml
    |  | ] [--sort <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list environment variables of an app

ALIASES
  $ liara env ls

liara env set [ENV]

specifying environment variables to an app

USAGE
  $ liara env set [ENV...] [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>]
    [-a <value>] [-f]

ARGUMENTS
  ENV...  key=value pair

FLAGS
  -a, --app=<value>        app id
  -f, --force              force update
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  specifying environment variables to an app

See code: src/commands/env/set.ts

liara env unset [ENV]

remove environment variables from an app

USAGE
  $ liara env unset [ENV...] [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>]
    [-a <value>] [-f]

ARGUMENTS
  ENV...  key

FLAGS
  -a, --app=<value>        app id
  -f, --force              force update
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  remove environment variables from an app

See code: src/commands/env/unset.ts

liara help [COMMAND]

Display help for liara.

USAGE
  $ liara help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for liara.

See code: @oclif/plugin-help

liara login

login to your account

USAGE
  $ liara login [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-e
    <value>] [-p <value>] [-i] [--browser chrome|firefox|edge]

FLAGS
  -e, --email=<value>      your email
  -h, --help               Show CLI help.
  -i, --interactive        login with username/password
  -p, --password=<value>   your password
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --browser=<option>   browser to open
                           <options: chrome|firefox|edge>
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  login to your account

See code: src/commands/login.ts

liara logs

fetch the logs of an app

USAGE
  $ liara logs [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>] [-s <value>] [-t] [-f] [-c]

FLAGS
  -a, --app=<value>        app id
  -c, --colorize           colorize log output
  -f, --follow             follow log output
  -h, --help               Show CLI help.
  -s, --since=<value>      show logs since timestamp
  -t, --timestamps         show timestamps
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  fetch the logs of an app

ALIASES
  $ liara logs

liara mail create

create a mail server

USAGE
  $ liara mail create [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--domain
    <value>] [--plan <value>] [--mode <value>]

FLAGS
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --domain=<value>     domain
      --mode=<value>       mode
      --plan=<value>       plan
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  create a mail server

ALIASES
  $ liara mail create

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

liara mail delete

delete an mail server

USAGE
  $ liara mail delete [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-m
    <value>] [-f]

FLAGS
  -f, --force              force the deletion
  -h, --help               Show CLI help.
  -m, --mail=<value>       mail server id
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  delete an mail server

ALIASES
  $ liara mail delete

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

liara mail list

list available mail servers

USAGE
  $ liara mail list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available mail servers

ALIASES
  $ liara mail ls

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

liara mail ls

list available mail servers

USAGE
  $ liara mail ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available mail servers

ALIASES
  $ liara mail ls

liara mail send

send an email

USAGE
  $ liara mail send [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--mail
    <value>] [--from <value>] [--to <value>] [--subject <value>] [--text <value>] [--attachments <value>]

FLAGS
  -h, --help                    Show CLI help.
      --account=<value>         temporarily switch to a different account
      --api-token=<value>       your api token to use for authentication
      --attachments=<value>...  path of your attachments
      --debug                   show debug logs
      --from=<value>            from
      --mail=<value>            mail server id
      --region=<option>         the region you want to deploy your app to
                                <options: iran|germany>
      --subject=<value>         subject
      --text=<value>            text
      --to=<value>              to

DESCRIPTION
  send an email

ALIASES
  $ liara mail send

See code: src/commands/mail/send.ts

liara network create

create network

USAGE
  $ liara network create [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       name of your network
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  create network

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

liara network list

list available networks

USAGE
  $ liara network list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available networks

ALIASES
  $ liara network ls

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

liara network ls

list available networks

USAGE
  $ liara network ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available networks

ALIASES
  $ liara network ls

liara plan list

list available plans

USAGE
  $ liara plan list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available plans

ALIASES
  $ liara plan ls

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

liara plan ls

list available plans

USAGE
  $ liara plan ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list available plans

ALIASES
  $ liara plan ls

liara restart

restart an app

USAGE
  $ liara restart [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  restart an app

ALIASES
  $ liara restart

liara shell

run a command in a running applet

USAGE
  $ liara shell [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>] [-c <value>]

FLAGS
  -a, --app=<value>        app id
  -c, --command=<value>    [default: /bin/bash] the command to execute
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  run a command in a running applet

ALIASES
  $ liara shell

liara start

start an app

USAGE
  $ liara start [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  start an app

ALIASES
  $ liara start

liara stop

stop an app

USAGE
  $ liara stop [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-a
    <value>]

FLAGS
  -a, --app=<value>        app id
  -h, --help               Show CLI help.
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  stop an app

ALIASES
  $ liara stop

liara version

USAGE
  $ liara version [--json] [--verbose]

FLAGS
  --verbose  Show additional information about the CLI.

GLOBAL FLAGS
  --json  Format output as json.

FLAG DESCRIPTIONS
  --verbose  Show additional information about the CLI.

    Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.

See code: @oclif/plugin-version

liara zone ch

check zone status

USAGE
  $ liara zone ch [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml
    |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  check zone status

ALIASES
  $ liara zone ch

liara zone check

check zone status

USAGE
  $ liara zone check [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml
    |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  check zone status

ALIASES
  $ liara zone ch

See code: src/commands/zone/check.ts

liara zone create

create a new zone

USAGE
  $ liara zone create [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -z, --zone=<value>       zone name (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  create a new zone

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

liara zone del

delete a zone

USAGE
  $ liara zone del [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [-y] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output
    csv|json|yaml |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
  -y, --yes                say yes to continue prompt
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  delete a zone

ALIASES
  $ liara zone del
  $ liara zone rm

liara zone delete

delete a zone

USAGE
  $ liara zone delete [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [-y] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output
    csv|json|yaml |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
  -y, --yes                say yes to continue prompt
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  delete a zone

ALIASES
  $ liara zone del
  $ liara zone rm

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

liara zone get

inspect zone details

USAGE
  $ liara zone get [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml
    |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  inspect zone details

See code: src/commands/zone/get.ts

liara zone list

list all zones

USAGE
  $ liara zone list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list all zones

ALIASES
  $ liara zone ls

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

liara zone ls

list all zones

USAGE
  $ liara zone ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list all zones

ALIASES
  $ liara zone ls

liara zone record create ZONE

create a new dns record

USAGE
  $ liara zone record create ZONE [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-n
    <value>] [-t <value>] [-l <value>] [-i <value>] [-s <value>] [-m <value>] [-r <value>] [-x <value>]

ARGUMENTS
  ZONE  zone name (domain)

FLAGS
  -h, --help               Show CLI help.
  -i, --ip=<value>...      ip value for record A and AAAA
  -l, --ttl=<value>        time to live
  -m, --mx=<value>...      host and priority values for MX record. mx flag should be like this: --mx
                           <hostname>,<priority>
  -n, --name=<value>       record name
  -r, --srv=<value>...     hostname, port, priority and weight values for SRV record. srv flag should be like this:
                           <hostname>,<port>,<priority>,<weight>
  -s, --host=<value>       host value for record ALIAS and CNAME
  -t, --type=<value>       record type
  -x, --txt=<value>...     text value for record TXT
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --debug              show debug logs
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>

DESCRIPTION
  create a new dns record

See code: src/commands/zone/record/create.ts

liara zone record get

get a DNS record

USAGE
  $ liara zone record get [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [-n <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output
    csv|json|yaml |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       Name of the record
  -x, --extended           show extra columns
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  get a DNS record

See code: src/commands/zone/record/get.ts

liara zone record list

list all DNS records

USAGE
  $ liara zone record list [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml
    |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list all DNS records

ALIASES
  $ liara zone record ls

See code: src/commands/zone/record/list.ts

liara zone record ls

list all DNS records

USAGE
  $ liara zone record ls [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml
    |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  list all DNS records

ALIASES
  $ liara zone record ls

liara zone record remove

remove a DNS record

USAGE
  $ liara zone record remove [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [-n <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output
    csv|json|yaml |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       Name of the record
  -x, --extended           show extra columns
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  remove a DNS record

ALIASES
  $ liara zone record rm

See code: src/commands/zone/record/remove.ts

liara zone record rm

remove a DNS record

USAGE
  $ liara zone record rm [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [-n <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output
    csv|json|yaml |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -n, --name=<value>       Name of the record
  -x, --extended           show extra columns
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  remove a DNS record

ALIASES
  $ liara zone record rm

liara zone record update

update a DNS record

USAGE
  $ liara zone record update [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [-n <value>] [-l <value>] [-i <value>] [-s <value>] [-m <value>] [-r <value>] [-x <value>] [--columns
    <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort
    <value>]

FLAGS
  -h, --help               Show CLI help.
  -i, --ip=<value>...      ip value for record A and AAAA
  -l, --ttl=<value>        time to live
  -m, --mx=<value>...      host and priority values for MX record. mx flag should be like this: --mx
                           <hostname>,<priority>
  -n, --name=<value>       record name
  -r, --srv=<value>...     hostname, port, priority and weight values for SRV record. srv flag should be like this:
                           <hostname>,<port>,<priority>,<weight>
  -s, --host=<value>       host value for record ALIAS and CNAME
  -x, --extended           show extra columns
  -x, --txt=<value>...     text value for record TXT
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  update a DNS record

See code: src/commands/zone/record/update.ts

liara zone rm

delete a zone

USAGE
  $ liara zone rm [-h] [--debug] [--api-token <value>] [--region iran|germany] [--account <value>] [-z
    <value>] [-y] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]] [--output
    csv|json|yaml |  | ] [--sort <value>]

FLAGS
  -h, --help               Show CLI help.
  -x, --extended           show extra columns
  -y, --yes                say yes to continue prompt
  -z, --zone=<value>       name of the zone (domain)
      --account=<value>    temporarily switch to a different account
      --api-token=<value>  your api token to use for authentication
      --columns=<value>    only show provided columns (comma-separated)
      --csv                output is csv format [alias: --output=csv]
      --debug              show debug logs
      --filter=<value>     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
      --output=<option>    output in a more machine friendly format
                           <options: csv|json|yaml>
      --region=<option>    the region you want to deploy your app to
                           <options: iran|germany>
      --sort=<value>       property to sort by (prepend '-' for descending)

DESCRIPTION
  delete a zone

ALIASES
  $ liara zone del
  $ liara zone rm

cli's People

Contributors

alirezabeitari avatar erfanium avatar eyeamnoob avatar guoard avatar hmarzban avatar jarqvi avatar mhemrg avatar mohammadxali avatar phantom007md avatar userdehghani avatar vashian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cli's Issues

add feature to set list volumes

ability to set set list of volumes like :

{
  "platform": "docker",
  "project": "myApp",
  "port": 8080,
  "volume": [
        "/opt/app/data",
        "/opt/app/log",
        "/opt/app/backup"
    ]
}

Drop Support for Node.js v16 Due to Lack of Maintenance Releases

We are currently providing support for Node.js v16. However, as per the Node.js Release Schedule and Maintenance Policy, Node.js v16 has reached the end of its maintenance cycle, and there will be no more maintenance releases for this version.

Lets:

  • Drop support for Node.js v16 in our project to maintain a secure and stable codebase.
  • Update dependencies
  • Encourage users to upgrade to a supported version of Node.js.

Reference:
Node.js Previous Releases

issue in login with api-token

Details

@liara/cli/3.2.1 linux-x64 node-v16.14.2

Reproduce

  • liara login --api-token "TOKEN"
  • enter email address
  • bad request happen

specifing account name in config

Hello, thanks for your awesome package.
I work as a freelancer so I have a lot of Liara accounts on my machine. even though I specified the app name in liara.json file, I have to change the account each time I change my workspace. it would be better if I could specify account name in liara.json file. something like my-username/my-app would be great. or even better the cli first searches for a matching app with the name specified in the main account, if not found, it search for it in other accounts too.

Nice work

Wish you the bests. Really enjoyed your job.

"zsh: command not found: liara" error after installing @liara/cli using npm install -g command

I have installed the @liara/cli using the npm install -g @liara/cli command in my terminal. However, when I try to run the "liara" command in my terminal, it returns an error message that reads "zsh: command not found: liara".

I have tried uninstalling and reinstalling @liara/cli multiple times, but the issue persists. I have also tried restarting my terminal and my computer, but the error message still appears.

Can anyone please help me resolve this issue? I would appreciate any suggestions or insights on how to fix this problem.

Environment:

  • Operating System: Manjaro Linux 22.1.0
  • Node.js version: v19.8.1
  • npm version: 8.19.2
  • @liara/cli version: @liara/[email protected]

Setup TravisCI

We have to integrate this repo with a CI service like TravisCI to run tests automatically.
So we can make sure that PRs are passing the tests.

Multi-Account Login

It is good to be able to have multiple-account access (e.g. for freelancers),
you could add something like this in constants.ts for relative path lookup:

import fs from 'fs'

//...

if (fs.existsSync('.liara.json')) {
    export const GLOBAL_CONF_PATH = path.resolve('.liara.json')
} else {
    export const GLOBAL_CONF_PATH = path.join(os.homedir(), '.liara.json')
}

write down a better error msg

from:

›   Error: Response code 401 (Unauthorized)

to:

›   Error: Authentication failed. Please log in to your account by running `liara login` command.

bug: liara logs not working

here is my debug logs

$ liara logs --app=XXX -f --debug
[debug] [2024-05-14T09:56:38.974Z] Polling...
[debug] [2024-05-14T09:56:39.947Z] HTTPError: Response code 428 (Precondition Required)
    at Request.<anonymous> (file:///home/erfanium/.nvm/versions/node/v20.9.0/lib/node_modules/@liara/cli/node_modules/got/dist/source/as-promise/index.js:86:42)
    at Object.onceWrapper (node:events:629:26)
    at Request.emit (node:events:526:35)
    at Request._onResponseBase (file:///home/erfanium/.nvm/versions/node/v20.9.0/lib/node_modules/@liara/cli/node_modules/got/dist/source/core/index.js:726:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Request._onResponse (file:///home/erfanium/.nvm/versions/node/v20.9.0/lib/node_modules/@liara/cli/node_modules/got/dist/source/core/index.js:768:13)
[debug] [2024-05-14T09:56:39.979Z] Polling...
[debug] [2024-05-14T09:56:40.085Z] HTTPError: Response code 428 (Precondition Required)
    at Request.<anonymous> (file:///home/erfanium/.nvm/versions/node/v20.9.0/lib/node_modules/@liara/cli/node_modules/got/dist/source/as-promise/index.js:86:42)
    at Object.onceWrapper (node:events:629:26)
    at Request.emit (node:events:526:35)
    at Request._onResponseBase (file:///home/erfanium/.nvm/versions/node/v20.9.0/lib/node_modules/@liara/cli/node_modules/got/dist/source/core/index.js:726:22)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Request._onResponse (file:///home/erfanium/.nvm/versions/node/v20.9.0/lib/node_modules/@liara/cli/node_modules/got/dist/source/core/index.js:768:13)
[debug] [2024-05-14T09:56:40.979Z] Polling...

version:

$ liara --version
@liara/cli/6.0.1 linux-x64 node-v20.9.0

Problem .net core Publish

I was published your test .net core app ,but anyway display "Welcome to nginx!" page, was show.
Same as .net core 7 for my App too.
if I use this command "liara deploy --platform=netcore" then this error occurred:
dirname: missing operand
Try 'dirname --help' for more information.
Could not find a .csproj file.
⠹ Building...The command '/bin/bash -o pipefail -c chmod +x /usr/local/bin/configure.sh && /usr/local/bin/configure.sh' returned a non-zero code: 2

@liara/cli/5.0.0 darwin-arm64 node-v20.5.1

› Error: Deployment failed.
› Sorry for inconvenience. If you think it's a bug, please contact us.
› To file a ticket, please head to: https://console.liara.ir/tickets

How pass authentication for CI/CD

Hi,
I develop some kind of web services, and I plan to use GitLab CI/CD, I ran into a problem for cli deployment, because cli ask for email and password for authentication as a prompt question!
so I suggest add new command key like --api_token to pass automatically this authentication prompt for deployment.

Liara deploy problem

ModuleLoadError: [MODULE_NOT_FOUND] import() failed to load
› /opt/hostedtoolcache/node/18.18.0/x64/lib/node_modules/@liara/cli/lib/comm
› ands/deploy.js: Cannot find module 'call-bind'
› Require stack:
› - /opt/hostedtoolcache/node/18.18.0/x64/lib/node_modules/@liara/cli/node_m
› odules/@ljharb/through/index.js
› Code: MODULE_NOT_FOUND

[BUG] deploy fail when using `--build-arg`

here is the error log:

 # liara deploy --build-arg='staging=1'

App: client
Path: /Users/vanenshi/Work/client-website
Platform: docker
Port: 80
Disks: 
  next-cache -> /app/.next/cache
Compressed size: 12.65MB (use .gitignore to reduce the size)
✔ Upload finished.

 ›   Error: CODE 400: child "build" fails because [child "args" fails because ["args" must be an object]]

Error message

running the command liara deploy --api-token=<wrong-token>

Screen Shot 2022-03-03 at 1 41 54 PM

maybe we need to log something like this:

Screen Shot 2022-03-03 at 1 45 08 PM

bug: `liara logs --since=X` should fetch all logs from `since` to now.

Actual Behavior

when using liara logs command like this:

liara logs --since=1714024894

cli will print just a few logs, but it should be many.

Expected behavior

print all the logs from 1714024894 to now

Additional Context

That's because when I don't use --follow, liara cli only makes one single API call to the sever. but in case of --since, cli should do many API calls to the server in a loop

SSL wrong version

Version: 2.21.2
Platform: Darwin-arm64

Error: write EPROTO 4419732864:error:1408F10B:SSL routines:ssl3_get_record:wrong version
 ›   number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:

Can't signing in to my accounts

feat: `liara init`

It would be nice to have an liara init command. this command will ask some questions and then generates a liara.json file based on answers.

Questions like appName, port, platform, disks, which account to use for deploy, ...

sudo npm install -g @liara/cli Error

وقتی سعی میکنم برنامه رو نصب کنم ارور زیر رو میده!

sudo npm install -g @liara/cli
[sudo] password for ×××××:         
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@liara/[email protected]',
npm WARN EBADENGINE   required: { node: '>=14.0.0' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@oclif/[email protected]',
npm WARN EBADENGINE   required: { node: '>=14.0.0' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }

changed 286 packages, and audited 287 packages in 19s

44 packages are looking for funding
  run `npm fund` for details

4 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

و این که نمیتونم نسخه node رو بروز کنم! میگه این اخرین نسخه هست. دقیقا چی کار کنم؟!


             ...-:::::-...                 msadr471@Earth 
          .-MMMMMMMMMMMMMMM-.              -------------- 
      .-MMMM`..-:::::::-..`MMMM-.          OS: Linux Mint 21.1 x86_64 
    .:MMMM.:MMMMMMMMMMMMMMM:.MMMM:.        Host: X541UVK 1.0 
   -MMM-M---MMMMMMMMMMMMMMMMMMM.MMM-       Kernel: 5.15.0-56-generic 
 `:MMM:MM`  :MMMM:....::-...-MMMM:MMM:`    Uptime: 4 hours, 30 mins 
 :MMM:MMM`  :MM:`  ``    ``  `:MMM:MMM:    Packages: 4419 (dpkg), 14 (flatpak), 9 (snap) 
.MMM.MMMM`  :MM.  -MM.  .MM-  `MMMM.MMM.   Shell: bash 5.1.16 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   Resolution: 1920x1080 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM:MMM:   DE: Cinnamon 5.6.5 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   WM: Mutter (Muffin) 
.MMM.MMMM`  :MM:--:MM:--:MM:  `MMMM.MMM.   WM Theme: Mint-Y-Legacy-Dark-Orange (Mint-Y) 
 :MMM:MMM-  `-MMMMMMMMMMMM-`  -MMM-MMM:    Theme: Mint-Y-Dark-Orange [GTK2/3] 
  :MMM:MMM:`                `:MMM:MMM:     Icons: Mint-Y-Red [GTK2/3] 
   .MMM.MMMM:--------------:MMMM.MMM.      Terminal: gnome-terminal 
     '-MMMM.-MMMMMMMMMMMMMMM-.MMMM-'       CPU: Intel i7-7500U (4) @ 3.500GHz 
       '.-MMMM``--:::::--``MMMM-.'         GPU: Intel HD Graphics 620 
            '-MMMMMMMMMMMMM-'              GPU: NVIDIA GeForce 920MX 
               ``-:::::-``                 Memory: 5191MiB / 7831MiB 

                                                                   
                                                                   

****@****:~$ npm -v
9.2.0
****@****:~$ nodejs -v
v12.22.9

liara shell error

I just pressed ctrl + c when I was using liara shell and got the following error:

root@c7fbcafa695b:/app# e^C
root@c7fbcafa695b:/app# exit
exit
events.js:352
      throw er; // Unhandled 'error' event
      ^

Error: WebSocket is not open: readyState 2 (CLOSING)
    at sendAfterClose (/Users/mhe/n/lib/node_modules/@liara/cli/node_modules/ws/lib/websocket.js:1015:17)
    at WebSocket.send (/Users/mhe/n/lib/node_modules/@liara/cli/node_modules/ws/lib/websocket.js:451:7)
    at Duplex.duplex._write (/Users/mhe/n/lib/node_modules/@liara/cli/node_modules/ws/lib/stream.js:151:8)
    at writeOrBuffer (internal/streams/writable.js:358:12)
    at Duplex.Writable.write (internal/streams/writable.js:303:10)
    at ReadStream.ondata (internal/streams/readable.js:726:22)
    at ReadStream.emit (events.js:387:35)
    at addChunk (internal/streams/readable.js:290:12)
    at readableAddChunk (internal/streams/readable.js:261:11)
    at ReadStream.Readable.push (internal/streams/readable.js:204:10)
Emitted 'error' event on Duplex instance at:
    at Duplex.duplexOnError (/Users/mhe/n/lib/node_modules/@liara/cli/node_modules/ws/lib/stream.js:37:10)
    at Duplex.emit (events.js:387:35)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at errorOrDestroy (internal/streams/destroy.js:168:7)
    at onwriteError (internal/streams/writable.js:391:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

Error with liara deploy

When I run "liara deploy", I get the following error

› Error: A NodeJS app must be runnable with 'npm start'.
› You must add a 'start' command to your package.json scripts.

installing on ubuntu

hello liara team

I'm trying to run liara --version command in ubuntu, but this is the result:

(node:438330) UnhandledPromiseRejectionWarning: /usr/local/lib/node_modules/@liara/cli/node_modules/@oclif/core/lib/command.js:45
            delete this.baseFlags?.json;
                                  ^

SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/@liara/cli/node_modules/@oclif/core/lib/index.js:5:19)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
(node:438330) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:438330) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

[bug] - liara deployment freezes

So many times, when I try to run liara deploy and provide all the credentials in liara.json file, the compression and uploading process takes forever like it freezes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.