Open andrewhowdencom opened 4 years ago
binary cli options should be written as:
--foo
--no-foo
Instead of
--foo=true
Should consume the standard CLI semantics. That means being pipeable, stdin/out/err.
Also, bonus points for outputting in a variety of formats (starting with text & json)
hints seem interesting
$ git add
Nothing specified, nothing added.
hint: Maybe you wanted to say 'git add .'?
hint: Turn this message off by running
hint: "git config advice.addEmptyPathspec false"
server:
# Get people to _opt out_ of TLS rather than opt in. Warn when they're running "insecurely", with a problem code.
--no-mutual-tls
--no-tls
Help should contain examples of a command; perhaps 3 different ones for different purposes.
ffmpg -f -h -g
(and so on)
If possible, get them from analytics — like the most common commands or so.
The CLI use case