temporalio / cli

Command-line interface for running Temporal Server and interacting with Workflows, Activities, Namespaces, and other parts of Temporal
https://docs.temporal.io/cli
MIT License
243 stars 32 forks source link

Exit zero if help/version is explicitly requested #525

Closed josh-berry closed 3 months ago

josh-berry commented 3 months ago

We want a non-zero exit when the user invokes temporal with an unknown command/subcommand, or when invoked with no arguments. But if the user explicitly asks for help or version information, we should print it and return success.

Closes #495.

josh-berry commented 3 months ago

LGTM, but don't want to close #495 without also addressing --version or say we don't need to address it

🤦 It even listed --version in the ticket, oops. Will fix and re-post.