0.8.0 • Published 8 months ago

r1ec v0.8.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Arvan Cloud Edge Computing CLI

ArvanCloud's Edge Computing CLI is a tool designed to empower developers with the ability to seamlessly deploy and manage applications on the edge servers. This CLI tool provides an intuitive, easy-to-use interface for leveraging the benefits of edge computing, such as reduced latency and improved performance, by enabling applications to be closer to end-users.

Usage

$ npm install -g r1ec
$ r1ec COMMAND
running command...
$ r1ec (--version)
r1ec/0.6.3 darwin-arm64 node-v18.20.2
$ r1ec --help [COMMAND]
USAGE
  $ r1ec COMMAND
...

Commands

r1ec autocomplete [SHELL]

Display autocomplete installation instructions.

USAGE
  $ r1ec 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
  $ r1ec autocomplete

  $ r1ec autocomplete bash

  $ r1ec autocomplete zsh

  $ r1ec autocomplete powershell

  $ r1ec autocomplete --refresh-cache

r1ec delete [EDGECOMPUTE]

You can search and delete your edge-computes by selecting them in the list

USAGE
  $ r1ec delete [EDGECOMPUTE]

ARGUMENTS
  EDGECOMPUTE  search for edge-compute to delete

DESCRIPTION
  You can search and delete your edge-computes by selecting them in the list

r1ec deploy PROJECTNAME

Deploy your project's files.

USAGE
  $ r1ec deploy PROJECTNAME -f <value> [-n <value>]

ARGUMENTS
  PROJECTNAME  set a name for project.

FLAGS
  -f, --fileName=<value>   (required) Enter your built JS/TS file path
  -n, --namespace=<value>  َUse this flag to deploy into a namespace other than the default one.

DESCRIPTION
  Deploy your project's files.

r1ec docs

Open the documentation page for ArvanCloud's Edge Computing CLI.

USAGE
  $ r1ec docs -l fa|en

FLAGS
  -l, --lang=<option>  (required) [default: en] Open documentation as selected language
                       <options: fa|en>

DESCRIPTION
  Open the documentation page for ArvanCloud's Edge Computing CLI.

r1ec help [COMMANDS]

Display help for r1ec.

USAGE
  $ r1ec help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

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

DESCRIPTION
  Display help for r1ec.

r1ec history

USAGE
  $ r1ec history

r1ec init [PROJECTNAME]

Initialize the Edge Compute project.

USAGE
  $ r1ec init [PROJECTNAME]

ARGUMENTS
  PROJECTNAME  set a name for project. default get the template name

DESCRIPTION
  Initialize the Edge Compute project.

r1ec list

You can see the list of edge-computes or search by name

USAGE
  $ r1ec list [-s <value>]

FLAGS
  -s, --search=<value>  َUse this flag to search for edge-compute

DESCRIPTION
  You can see the list of edge-computes or search by name

r1ec log [EDGECOMPUTE]

You can select edge-computes to retrieve logs by selecting them in the list

USAGE
  $ r1ec log [EDGECOMPUTE] [-l <value>]

ARGUMENTS
  EDGECOMPUTE  Select edge-compute for retrieving log

FLAGS
  -l, --logLevel=<value>  َUse this flag to filter logs by log level. Valid values: ERROR, WARN, INFO, DEBUG

DESCRIPTION
  You can select edge-computes to retrieve logs by selecting them in the list

r1ec login

Log in to the ArvanCloud Edge Computing.

USAGE
  $ r1ec login [-m <value>]

FLAGS
  -m, --machine-user=<value>  Login via Machine Uesr

DESCRIPTION
  Log in to the ArvanCloud Edge Computing.

r1ec logout

Log out from the logged-in account.

USAGE
  $ r1ec logout

DESCRIPTION
  Log out from the logged-in account.