From 99032834bed3d9f6a55fcabf4b8d7dc93c189367 Mon Sep 17 00:00:00 2001 From: Jens Krause <47693+sectore@users.noreply.github.com> Date: Wed, 8 Oct 2025 18:03:06 +0200 Subject: [PATCH] (cli)! Remove `--countdown-target` argument (#121) Reverts #112. For targeting a date (past/future) a new `event` feature will be introduced (soon). --- CHANGELOG.md | 7 +++++++ README.md | 41 +++++++++++++---------------------------- src/app.rs | 30 +++++++----------------------- src/args.rs | 5 ----- src/duration.rs | 1 + 5 files changed, 28 insertions(+), 56 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf13d25..1f82b07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [unreleased] + +### Breaking change + +- (cli)! Remove `--countdown-target` argument [#121](https://github.com/sectore/timr-tui/pull/121) + + ## v1.5.0 - 2025-10-03 ### Features diff --git a/README.md b/README.md index c6e1722..aac51ec 100644 --- a/README.md +++ b/README.md @@ -87,34 +87,19 @@ timr-tui --help Usage: timr-tui [OPTIONS] Options: - -c, --countdown - Countdown time to start from. Formats: 'Yy Dd hh:mm:ss', 'Dd hh:mm:ss', 'Yy mm:ss', 'Dd mm:ss', 'Yy ss', 'Dd ss', 'hh:mm:ss', 'mm:ss', 'ss'. Examples: '1y 5d 10:30:00', '2d 4:00', '1d 10', '5:03'. - --countdown-target - Countdown targeting a specific time in the future or past. Formats: 'yyyy-mm-dd hh:mm:ss', 'yyyy-mm-dd hh:mm', 'hh:mm:ss', 'hh:mm', 'mm' [aliases: --ct] - -w, --work - Work time to count down from. Formats: 'ss', 'mm:ss', 'hh:mm:ss' - -p, --pause - Pause time to count down from. Formats: 'ss', 'mm:ss', 'hh:mm:ss' - -d, --decis - Show deciseconds. - -m, --mode - Mode to start with. [possible values: countdown, timer, pomodoro, localtime] - -s, --style