tme

Toggl like Time Manager
git clone git://gtms.dev:tme
Log | Files | Refs

commit 4f482431a8f68b7004be275a480fa33b14e40866
parent 0ab3bf91304c0a93707b3ebf6130a58bbbd5c1e7
Author: Tomas Nemec <owl@gtms.dev>
Date:   Wed, 12 Apr 2023 22:26:38 +0200

feat(removec): WIP line up

Diffstat:
Mcommand.go | 11+++++++++++
Mmain.go | 2++
2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/command.go b/command.go @@ -305,3 +305,14 @@ func (c Command) Status() { } } } + +func (c Command) Remove() { + // TODO(tms) 12.04.23: + // - list recursively *numbered* entried from group + // - most fresh entry be 1 + // - ask user to enter numbers + // - 1,2,3 ; 1-3 ; 1,3,5-10 ; 1: (1 to end) ;: :10 (start to ten) ; + // - print entries to remove + // - wait for user to confirm y/n + // - remove +} diff --git a/main.go b/main.go @@ -42,6 +42,8 @@ func main() { command.Ls() } else if cmd == "lsr" { command.Lsr() + } else if cmd == "rm" { + command.Remove() } else if cmd == "report" { command.Report() } else if cmd == "status" {