Skip to content

tolu/kubex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    -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

What it looks like

Notice that when selecting context/namespace, the current one 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/

About

Interactive cli helper for kubectl

Resources

Stars

Watchers

Forks

Packages

No packages published