Easily switch configs for the Linode CLI
If you have a file called ~/.linode-cli
, rename it - or it will be clobbered by the symlink.
Create a directory called ~/.linode-cli-env
.
npm install linode-env -g
$ linode-env -h
Usage: linode-env[options]
Options:
-h, --help output usage information
-V, --version output the version number
-u, --use [name] Activate a given Linode config
-l, --list List the available Linode configs
This script will simply set the file symlinked to ~/.linode-cli
so you
can use the linode-cli
commands without specifying this as an argument each time.
- Updates for linode-cli v2
- Fixes shebang line
- First release