shotover/shotover-proxy

Redesign windsock CLI interface

Closed this issue · 0 comments

The windsock CLI interface has organically grown over time from 0 to 22 arguments.
Its time to redesign these arguments to form a more cohesive and easier to use API.
Instead of the current CLI, currently accessible via cargo windsock --help, I propose the following CLI

cargo windsock list

# all of these take flags `--bench-length-seconds` `--operations-per-second` `--profilers` and then finally a name or filter.
cargo windsock cloud-setup
cargo windsock cloud-run
cargo windsock cloud-cleanup
cargo windsock cloud-setup-run-cleanup
cargo windsock local-run

cargo windsock baseline-set
cargo windsock baseline-clear
cargo windsock generate-webpage

# all of these take a name or filter
cargo windsock results # additionally includes a `--disable-baseline`
cargo windsock compare

Remove --name argument, instead either:

  • auto-detect that a name is used via the existence of , character.
  • remove the existence of "names" and just have names output in the form a filter.