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

Fix setting env name with a property #568

Closed antlai-temporal closed 1 month ago

antlai-temporal commented 1 month ago

What was changed

Ensure that we read the property TEMPORAL_ENV, which sets then env name, early on, i.e., in preprocessOptions.

Why?

Otherwise it is too late to have an effect...

Checklist

  1. Closes

    541

  2. How was this tested:

    Added a system test

  3. Any docs updates needed? No