kubex
v0.0.6
Published
interactive cli helper tool for kubectl
Downloads
4
Maintainers
Readme
kubex
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
Install
$ npm i -g kubex
Usage
$ kubex -h
Usage: kubex [command] [options]
Interactive <kubectl> helper
Options:
-V, --version output the version number
-d, --debug verbose output
-h, --help output usage information
Commands:
set-context|ctx select kubectl context
set-namespace|ns select kubectl namespace
What it looks like
Notice that the current context/namespace is the default selected option
Dependencies
- commander - solution for building node.js cli
- inquirer - interactive cli prompts
- clui - cli spinner etc.
- execa - a better
child_process
Inspiration
- https://www.sitepoint.com/javascript-command-line-interface-cli-node-js/
- https://scotch.io/tutorials/build-an-interactive-command-line-application-with-nodejs
License
MIT @ https://tolu.mit-license.org/