You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send messaging to stderr. Log messages, errors, and so on should all be sent to stderr. This means that when commands are piped together, these messages are displayed to the user and not fed into the next command. (fixed in Add diff command and write non-data logs to stderr #204)
Improve subcommand help text by including one or two example invocations.
Provide a support path for feedback and issues. A website or GitHub link in the top-level help text is common.
Make it idempotent. If the program fails for some transient reason (e.g. the internet connection went down), you should be able to hit and and it should pick up from where it left off. See Remove all possible panics from the main resolver #106
If a user hits Ctrl-C (the INT signal), exit as soon as possible. Say something immediately, before you start clean-up. Add a timeout to any clean-up code so it can’t hang forever. Currently we don't exit gracefully in this case. See above note on idempotence as well
Do not read secrets from environment variables. While environment variables may be convenient for storing secrets, they have proven too prone to leakage. This is an interesting one, and I'm not quite sure that I agree or that I like the alternative solutions. Should be considered though
The text was updated successfully, but these errors were encountered:
List of improvements based on my reading of CLIG
Send messaging to(fixed in Add diff command and write non-data logs to stderr #204)stderr
. Log messages, errors, and so on should all be sent tostderr
. This means that when commands are piped together, these messages are displayed to the user and not fed into the next command.NO_COLOR
set,TERM=dumb
,--no-color
mantle destroy
, require a prompt by default?The text was updated successfully, but these errors were encountered: