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

[REQUEST] Parse tags from summary #32

Open
gabor-boros opened this issue Nov 2, 2021 · 0 comments
Open

[REQUEST] Parse tags from summary #32

gabor-boros opened this issue Nov 2, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@gabor-boros
Copy link
Owner

gabor-boros commented Nov 2, 2021

Is your feature request related to a problem? Please describe.

There are some sources that have no support for tags. In the case of these sources, like Harvest, the tags-as-tasks flag is not considered.

Describe the solution you'd like

Create a new flag and config option to parse tags from the Summary field of entries. Therefore, combining tags-as-tasks and the new flag would provide a similar user experience compared to sources that are supporting tags natively.

The new flag should have a pair as well, which would stand for the regex used for parsing.

An example call:

minutes \
    --tags-in-summary \
    --tags-in-summary-regex '\[(\w+|\s+)+\]' \
    --tags-as-tasks \
    --tags-as-tasks-regex '[A-Z]{2,7}-\d{1,6}'

Describe alternatives you've considered

As an alternative tags-in-summary could replace tags-as-tasks. During the implementation it should be evaluated.

Additional context

N/A

@gabor-boros gabor-boros added the enhancement New feature or request label Nov 2, 2021
@gabor-boros gabor-boros self-assigned this Nov 2, 2021
@gabor-boros gabor-boros added this to the v0.3.0 milestone Nov 2, 2021
@gabor-boros gabor-boros removed their assignment Nov 2, 2021
@gabor-boros gabor-boros modified the milestones: v0.4.0, v0.5.0 Apr 19, 2022
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

No branches or pull requests

1 participant