canonical / pebble

Pebble is a lightweight Linux service manager with layered configuration and an HTTP API.
https://canonical-pebble.readthedocs-hosted.com/
GNU General Public License v3.0
145 stars 54 forks source link

feat(cli): new Info category for help, version #400

Closed thp-canonical closed 6 months ago

thp-canonical commented 6 months ago

The commands help and version are not related to running the service manager (you can run help also for client help, and version prints both the client and the server version). This splits those two commands into a new "Info" category, leaving only the run command in the "Run" category.

benhoyt commented 6 months ago

I'll get @hpidcock's opinion as well, but otherwise merge tomorrow.

benhoyt commented 6 months ago

Seems reasonable to me, but maybe the info category should be first.

I downloaded this locally and tried that, and I actually think Run does look better as the first category.