Interactive cli helper for kubectl
Tired of listing all alternatives just to be able to switch context or namespace - then this is for you
You'll need to have kubectl
installed in path
$ npm i -g kubex
$ kubex -h
Usage: kubex [command] [options]
Interactive <kubectl> helper
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
set-context|ctx select kubectl context
set-namespace|ns select kubectl namespace
set-image|si set image for deployment
interactive|i Choose command from list
Notice that when selecting context/namespace, the current one is the default selected option
- commander - solution for building node.js cli
- inquirer - interactive cli prompts
- clui - cli spinner etc.
- execa - a better
child_process