| Crates.io | kx |
| lib.rs | kx |
| version | 1.3.0 |
| created_at | 2018-12-29 21:29:15.964421+00 |
| updated_at | 2023-02-25 21:46:29.837336+00 |
| description | Interactively switch between kubernetes contexts without any external dependencies |
| homepage | https://github.com/onatm/kx |
| repository | https://github.com/onatm/kx |
| max_upload_size | |
| id | 104458 |
| size | 43,236 |
kx is a utility to switch interactively between kubernetes contexts without any external dependencies and bash witchcraft. Written in Rust :crab:
You can directly download the kx executable.
cargo install kx
Clone the repo and run:
cargo install --path .
Alternatively, run:
cargo build --release
then put the resulting target/release/kx executable on your PATH.
kx : list the contexts
kx <NAME> : switch to context <NAME>
kx -c, --current : show the current context name
kx -u, --unset : unset the current context