GothenburgBitFactory / GothenburgBitFactory/timewarrior

Rework tagging commands

Open
#179 3 comments 20 reactions 0 assignees View on GitHub
RFC
Dominant language
C++
Stars
1.7k
Forks
118
Avg merge
1d 7h
Merged PRs (30d)
5

Description

Unify current commands `tag`, `untag`, and `tags` to
```
$ timew tags add [...] ...
$ timew tags remove [...] ...
$ timew tags list [...]
```
Add a command to add a tag description:
```
$ timew tags describe
```
Add a command to rename a given tag:
```
$timew tags rename
```
Add a command to replace a tag with another for a given ID:
```
$ timew tags replace [...]
```
As usual, when no `ID` is given `@1` is assumed, if there is active time tracking.

Old commands could be restored via (user defined) command aliases, see #144.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing `tag`, `untag`, and `tags` command entry points, then review the command-alias context in #144. Done means the unified `tags add`, `remove`, `list`, `describe`, `rename`, and `replace` commands support the stated syntax and the documented default-ID behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.