https://github.com/dipsas/smud-cli
https://github.com/dipsas/smud-cli
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dipsas/smud-cli
- Owner: DIPSAS
- Created: 2023-11-17T14:50:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T07:44:13.000Z (about 1 year ago)
- Last Synced: 2025-04-29T14:33:58.989Z (10 months ago)
- Language: Shell
- Size: 150 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# smud-cli
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
## First time installation of `smud` CLI on the computer
### Simple installation (recommended)
1. Open powershell or bash console
2. Run the command:
```shell
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"
```
### Manual Download and install
1. Download the latest release [releases/Latest/download-and-install-cli.sh](https://github.com/DIPSAS/smud-cli/releases/download/Latest/download-and-install-cli.sh)
2. Open powershell or bash console
3. Run the command(s):
```shell
cd [Downloaded-folder]
bash -c ". ./download-and-install-cli.sh; rm ./download-and-install-cli.sh"
```
### Install information
> This will install the tool to the `~/smud-cli`-folder.
> The `~.bashrc`-file will be updated with `~/smud-cli/.bash_aliases`
## Update the `smud` CLI
When the `smud` CLI already is installed on the computer, run the following command to update it:
```sh
smud update-cli
```
## Using the `smud` CLI
Use the `--help` for investigating commands and options available:
```sh
smud --help
```