Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👾 Allow tags to be set in start command #88

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

shantanuraj
Copy link
Member

What does this PR do?

Add support for --tags (short -t) to the toggl start command.
This accepts a space-separated list of tags to apply to the time entry.

Usage

toggl start 'Add initial database' --tags code dev --project watercooler-labs

asciicast

Note: --tags will override any tags configured in the directory configuration.

Gif

tag

Context

Closes #83

@shantanuraj shantanuraj added the enhancement New feature or request label Dec 11, 2024
@shantanuraj shantanuraj self-assigned this Dec 11, 2024
- Avoid configuring entity fields in two spots
- Now it only concerns itself with the field we modify interactively
  - `billable`
  - `project`
  - `task`
@shantanuraj shantanuraj merged commit aaaddbb into main Dec 11, 2024
5 checks passed
@shantanuraj shantanuraj deleted the shantanu/tags branch December 11, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set tags like you set project
1 participant