-
From the
cli/folder run:sudo ./cli install sr-cli
This will:- allow you to call the CLI from any location in your filesystem (adds a
- symlink to the
cliscript in/usr/bin). - setup the auto-completion (adds a script in
/etc/bash_completion.d/).
-
Source your
.bashrcor restart your terminal.
By simply running sr-cli you can visualize all available commands with a short
description.
From the cli/ folder run: sudo ./cli uninstall sr-cli
This will remove the two files created during the installation step.
- Install and first run
- Use a custom image instead of the default
cyrillg/sr-dev
Coming soon...
This tool is based on the very helpful Bash CLI framework by SierraSoftworks, available at https://github.com/SierraSoftworks/bash-cli.
