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
241 stars 32 forks source link

Fail on unknown environments #578

Closed Sushisource closed 1 month ago

Sushisource commented 1 month ago

…efault)

What was changed

Return an error when the user specifies a nonexistent environment. Confirmed that old CLI did this.

Why?

Avoid nonobvious failures / defaulting

Checklist

  1. Closes https://github.com/temporalio/cli/issues/566

  2. How was this tested: Existing tests, manual verification

  3. Any docs updates needed?