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

[Feature Request] Fail if provided `--env`/`TEMPORAL_ENV` is unknown #566

Closed cretz closed 1 month ago

cretz commented 2 months ago

Describe the solution you'd like

We think we want to fail users if they provide an env that isn't there. Discussion points:

josh-berry commented 2 months ago

We should make sure not to break temporal env commands when we do this, because temporal env set --env ... can be used to create new environments.

Sushisource commented 1 month ago

Confirmed that the old CLI does break on unknown envs, so will be fixing.