scalacenter / bloop

Bloop is a build server and CLI tool to compile, test and run Scala fast from any editor or build tool.

Home Page:https://scalacenter.github.io/bloop/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`bloop exit` is undocumented in CLI help and completions

ches opened this issue · comments

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