Skip to content

Consider how to handle "subtasks when parent matches" (with --match) #22

@bjohas

Description

@bjohas

DIscussion in issue #4 noted:

When filtering against the --match word, we first check the parents, and only if the parent matches do we look in the child tasks of the parent. We could swap this over to also looking in those ignored ones, but it's a little tricky and we would need to decide what that would looks like. Such as a line in the output or something. Can let me know if we what to chase that one.

Atm, if the entry matches, it's processed. However, if the subitems do not match as well, they are dropped. We need an option that is something like this:

--subtasks process_if_parent_matches
--subtasks drop_if_parent_matches_but_subtasks_does_not
--subtasks keep_parent_if_parent_matches_but_subtasks_does_not

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions