kubex

0.0.6 • Public • Published

npm version MIT Licence

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

select subscription

Dependencies

  • commander - solution for building node.js cli
  • inquirer - interactive cli prompts
  • clui - cli spinner etc.
  • execa - a better child_process

Inspiration

License

MIT @ https://tolu.mit-license.org/

Package Sidebar

Install

npm i kubex

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

9.15 kB

Total Files

7

Last publish

Collaborators

  • tolu