Closed bjornasm closed 5 months ago
There's little we can do here that isn't repeating what's already been included in the README and in the docs as you describe them. I notice you omitted the SUBCOMMANDS
section that does give a description of the start command but I realise it's buried under other subcommands. I propose we do something similar to what you've suggested but promote using the existing documentation, so the new output would be:
bartib 1.1.0
Nikolas Schmidt-Voigt <nikolas.schmidt-voigt@posteo.de>
A simple timetracker
USAGE:
bartib.exe [OPTIONS] <SUBCOMMAND>
FLAGS:
(...)
SUBCOMMANDS:
(...)
To get help for a specific command, run `bartib [SUBCOMMAND] --help`
To get started, view the `start` help with `bartib start --help`
Would this help?
@RossBarnie - yes, that is perfect, by mentioning that there will be more info about each sub command by running bartib [SUBCOMMAND] --help
the user will know where to find information about specific flags etc. I appreciate that it has to be somewhat layered to not overbloat bartib --help
.
Hi,
This is just a small request, but it would be great if there was an example of usage when you print the help information. Now you have:
However it isn't specified how you actually start timetracking before you try f.ex
bartib start
and the following is printed:It would be nice if
bartib -h
(andbartib
without flags) could have that usage information as well, f.ex: