The smud
CLI will make maintanance of your fork of DIPS' GitOps repository easier by providing simple commands for the most common tasks, such as:
- Listing the versions wich products are installed in which environments in which versions.
- Upgrading a set products at a time.
Requirements:
- linux computer or WSL
- curl installed on the computer
- Open powershell or bash console
- Run the command:
bash -c "curl --ssl-no-revoke -H Accept:application/vnd.github.v3.raw https://api.github.com/repos/DIPSAS/smud-cli/contents/smud-cli/download-and-install-cli.sh | bash"
- Download the latest release releases/Latest/download-and-install-cli.sh
- Open powershell or bash console
- Run the command(s):
cd [Downloaded-folder] bash -c ". ./download-and-install-cli.sh; rm ./download-and-install-cli.sh"
This will install the tool to the
~/smud-cli
-folder.
The~.bashrc
-file will be updated with~/smud-cli/.bash_aliases
When the smud
CLI already is installed on the computer, run the following command to update it:
smud update-cli
Use the --help
for investigating commands and options available:
smud --help