Scaleworks CLI
Scaleworks CLI is a command line utility that help to configure multiple profile configuration.
Installation
The installation is quick and direct, just run either of below command.
pip3 install -U rcn
pip3 install git+https://github.com/mayank31313/rcn-cli
Commands
-
configure
command is for the first time setup to configure a profile. Below is the following usage. When configure command is supplied it takes this inputs. While running this command it also expects an optional argument as --profile profile_name if not passed it will consider profile as "default" profile.
- Keycloak Server URL (For ex. http[s]://[server]:[port]/realms/ControlNet/protocol)
- Client ID
-
Username and Password Once all the inputs are passed, the cli tool will hit the keycloak server for the token and store it in ${HOME}/.rcn/[profile].yml
rcn configure [--profile [profile_name]]
-
login
command updates the user credentials in the [profile].yml file
rcn login [--profile [profile_name]]