npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@retter/rio-cli

v1.25.0

Published

Retter.io Command Line Tool

Downloads

2,032

Readme

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