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

Use server's timestamp.ParseDuration for all durations #572

Closed dnr closed 1 month ago

dnr commented 1 month ago

What was changed

Use server timestamp.ParseDuration for parsing durations in flags. This supports a d suffix for multiples of 24 hours.

Why?

Convenience and compatibility.

Checklist

  1. How was this tested: Modified namespace test and checked --help output manually