The Spectro CLI tool is a command-line interface for the Spectro Cloud Pack Registry server to upload or download the packs using commands.
- The Spectro CLI tool must be installed.
- A custom pack registry server must be up and running.
The Spectro CLI tool is currently available for OSX and Linux.
- Download the CLI binary file:
- Provide the executable permission to the CLI spectro.
chmod +x spectro
List of Arguments available to all the Spectro CLI commands -
List of Flags available to all the Spectro CLI commands:
- h, --help - help for each command
Authenticate user with Spectro Cloud pack registry by using the login command:
spectro registry login [SERVER]
SERVER - Spectro Cloud pack registry server in the format [host:port]
-i, --insecure - Insecure is used when the pack registry is installed in HTTP or HTTPS with self-signed certificates.
-d, --default - Set the server as default Spectro Cloud pack registry for all the CLI commands.
Note: In case of HTTPS, if you have access to the pack registry's CA certificate, there is no need for the insecure flag; simply place the CA certificate at /etc/spectro/certs.d/[SERVER]/ca.crt