@supernovaio/cli
v1.1.0
Published
Supernova.io Command Line Interface
Downloads
540
Readme
Supernova CLI
The Supernova CLI enables you to run specific tasks connected with Supernova from your CI/CD pipelines, from your action triggers (GitHub Actions and similar) or from your command line as well. Supernova CLI is powered by a Supernova SDK that allows access to many more lower-level operations.
CLI is separated into different commands that you can use to automate certain aspects of working with Supernova. More command line options are coming as well, stay tuned for those!
Installing CLI dependency
To install, simply run:
npm install --save-dev @supernovaio/supernova-sdk
yarn add --dev @supernovaio/cli
In your target environment, or include CLI dependency in your CI/CD pipelines, like this:
{
"dependencies": {
"@supernovaio/cli": "latest"
}
}
Installing CLI globally
You can also install the CLI as global package, and make the CLI globally available under > supernova
command to your command line. To install the CLI globally, just run the following command:
npm install -g @supernovaio/cli
yarn global add @supernovaio/cli
You can now test that everything was properly set up by running the supernova
command:
~ % supernova --version
> @supernovaio/cli/1.x.x ...
Node 14
or newer environment is required to run the Supernova CLI.
Updating CLI globally
You can update globally installed CLI by running npm update command on the package:
npm update -g @supernovaio/cli
yarn global upgrade @supernovaio/cli
This will upgrade the CLI to the latest version and make it immediately last default used version.
Use cases
Following is the list of use cases for Supernova CLI. We will be adding more over time, stay tuned!
Contributions
If you have additional ideas about how to make this project better, let us know by opening an issue! You can also open pull requests if you've worked on improving something yourself and would like to contribute back to the community.
We will be reviewing feature-pull-requests on case-by-case basis, but in general, we are super open to your new ideas and we welcome them! And finally, thank you for your support! You are an amazing community.
Supernova Engineering Team