Use humantime to parse timeouts

In issue

    29c6c6fc81

was noted that it would be nice to use value parsers for the timeouts in
the CLI.

This patch implements this.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Co-Authored-by: Fintan Halpenny <fintan.halpenny@gmail.com>
This commit is contained in:
Matthias Beyer
2026-03-17 11:39:09 +00:00
committed by Fintan Halpenny
co-authored by Fintan Halpenny
parent 52e5581228
commit 99d9242122
15 changed files with 53 additions and 33 deletions
+3
View File
@@ -66,6 +66,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The `TypeName` strings defined in `radicle-cob` are restricted to reflect the
size limits on domain names as specified in
[RFC-1035](https://www.rfc-editor.org/rfc/rfc1035#section-2.3.4).
- The `--timeout` flag, which is available on a number of CLI subcommands, now
takes a human-readable duration as parameter, E.G. "9s" or "1min" instead of
"9" or "60".
## 1.6.1