Skip to content

[REQUEST] Parse tags from summary #32

@gabor-boros

Description

@gabor-boros

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions