1.23.0 • Published 1 month ago

@retter/rio-cli v1.23.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

Retter.io Command Line Tool

Rio CLI is a command-line tool that allows you to interact with the RIO platform. You can use it to deploy your RIO projects, generate class files, create new projects, and more.

Installation

npm i -g @retter/rio-cli

Dependency Support

The RIO CLI supports both TypeScript and JavaScript dependencies.

  • Make sure your typescript dependency has tsconfig.json file on its path.
  • If you have a dynamic dependency (a dependency created at runtime) and you want the CLI to ignore that dependency during deployment, add an .ignore file to its path

Example: https://github.com/retterio/v2-dependency-example

Commands

rio --

  • --help: Show help.
  • --version: Show version number.

rio set-profile [sp]

Upsert admin profile in local storage.

rio set-profile --profile-name <PROFILE_NAME> --secret-id <SECRET> --secret-key <SECRETKEY> --endpoint <DOMAIN>

Arguments

  • --profile-name: Name of this admin profile
  • --secret-id: Secrect id fetched from console
  • --secret-key: Secrect key fetched from console
  • --endpoint: URL to target rio console

rio deploy [d]

Save local changes to the rio cloud and deploy the project.

Arguments

  • --profile [p]: Profile name for deployment (type: string)
  • --project-id [pid]: Project id for deployment (type: string).
  • --classes [c]: Filtered classes for deployment (type: array) (optional).
  • --ignore-approval [i]: Ignore deployment manual approval (optional).
  • --force [f]: Send deployment requests with force parameter to RIO (optional).
  • --skip-diff-check [s]: Skip and don't perform difference checks while deploying (optional).
rio deploy --profile admin --project-id 77bb3924k --classes Order Product --force --skip-diff-check --ignore-approval
rio d --p admin --pid 77bb3924k --c Order Product --f --s --i

rio save [s]

Save local changes to the rio cloud without deploying them

Arguments

  • --profile [p]: Profile name for deployment (type: string)
  • --project-id [pid]: Project id for deployment (type: string).
  • --classes [c]: Filtered classes for deployment (type: array)(optional).
  • --ignore-approval [i]: Ignore deployment manual approval (optional).
  • --skip-diff-check [s]: Skip and don't perform difference checks while deploying (optional).
rio save --profile admin --project-id 77bb3924k --classes Order Product --skip-diff-check --ignore-approval
rio s --p admin --pid 77bb3924k --c Order Product --s --i

rio get-settings [gs]

Fetches project data and generates a project configuration file on your local disk

Arguments

  • --profile [p]: Profile name for target rio environment (type: string)
  • --project-id [pid]: Project id for target project (type: string).
rio get-settings --profile <profile_name> --project-id <project_id>
rio gs --p <profile_name> --pid <project_id>

rio set-settings [ss]

Synchronize your local project configuration with the remote project, enabling you to effortlessly create or update log adapters, state stream targets, and more.

Arguments

  • --profile [p]: Profile name for target rio environment (type: string)
  • --project-id [pid]: Project id for target project (type: string).
rio set-settings --profile <profile_name> --project-id <project_id>
rio ss --p <profile_name> --pid <project_id>

rio init [alias] (i)

Create a new project.

rio init --alias <project_name> --profile <profile_name>
rio i --a <project_name> --p <profile_name>

rio list-profiles [lp]

List local admin profiles.

rio list-profiles
1.23.0

1 month ago

1.22.0

1 month ago

1.21.0

1 month ago

1.20.0

1 month ago

1.19.0

5 months ago

1.18.5

7 months ago

1.18.4

8 months ago

1.18.6

5 months ago

1.18.1

11 months ago

1.18.0

11 months ago

1.18.3

11 months ago

1.18.2

11 months ago

1.17.2

12 months ago

1.17.1

1 year ago

1.17.0

1 year ago

1.17.3

11 months ago

1.14.1

1 year ago

1.14.0

1 year ago

1.14.5

1 year ago

1.14.4

1 year ago

1.14.3

1 year ago

1.14.2

1 year ago

1.14.8

1 year ago

1.14.7

1 year ago

1.14.6

1 year ago

1.15.0

1 year ago

1.16.3

1 year ago

1.16.2

1 year ago

1.16.1

1 year ago

1.16.0

1 year ago

1.16.6

1 year ago

1.16.5

1 year ago

1.16.4

1 year ago

1.7.4

1 year ago

1.13.2

1 year ago

1.13.3

1 year ago

1.7.2

1 year ago

1.7.1

1 year ago

1.12.0

1 year ago

1.11.0

1 year ago

1.13.1

1 year ago

1.13.0

1 year ago

1.10.0

2 years ago

1.9.0

2 years ago

1.8.2

2 years ago

1.8.1

2 years ago

1.4.5

2 years ago

1.8.0

2 years ago

1.6.2

2 years ago

1.4.4

2 years ago

1.6.1

2 years ago

1.4.3

2 years ago

1.6.0

2 years ago

1.7.0

2 years ago

1.5.0

2 years ago

1.8.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.8

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.2.0

2 years ago

1.2.2

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.1.24

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.0

2 years ago