scalacenter/bloop

`bloop exit` is undocumented in CLI help and completions

ches opened this issue · 1 comments

ches commented

Quite minor usability thing here, but I occasionally want to stop the server for one reason or another and I fumble with a task manager, or finding a working pkill invocation, or attempting bloop stop, bloop quit, bloop kill

Clearly there are workarounds, but bloop exit is convenient, if only I remember the command.

And that's the rub: bloop exit is documented only by mention in the server reference page, it is not listed in bloop --help nor the built-in shell completions.

This is probably low-hanging fruit, and I keep meaning to try making a patch but have a sneaking suspicion I'll need to invest time into learning the architecture of why the frontend bloop.Cli and bloopgun are distinct things 😅

expectation

  • bloop --help includes exit when listing available commands
  • bloop exit --help gives usage like any other subcommand
  • Shell completion works for exit

Thanks for reporting! We should add that for sure