a simple readonly CLI for simpledash.
It fetches the simpledash context, connects to the simpledash websocket server and displays a dashboard in the terminal. It will update the dashboard when the websocket server sends an update.
screen 1: see a snapshot of the cluster status and select a namespace
screen 2: monitor the namespace (endpoints, deployments and pods). this screen
auto updates when the websocket server sends an update. You can click on the
view logs links and endpoint links.
linux x86_64:
curl -Lo sc https://github.com/hellgrenj/simpledash_cli/releases/download/v0.3.0/sc-linux-x86_64 && \
sudo install sc /usr/local/bin/
macos arm64:
curl -Lo sc https://github.com/hellgrenj/simpledash_cli/releases/download/v0.3.0/sc-macos-arm64 && \
sudo install sc /usr/local/bin/
sc -h https://your.simpledash.url
If you have multiple simpledash servers create aliases for them in your .bashrc
or .zshrc file.
like this:
alias stest="sc -h https://simpledash-test.mycompany.com"
alias sprod="sc -h https://simpledash-prod.mycompany.com"
now you can just type stest
or sprod
to start the CLI for the different
servers.
rust
first: clone simpledash and follow
the instructions to start it.
then:
cargo run . -h http://localhost:1337
cargo test
cargo build -r