Skip to content

'dobi list -t a -t b' AND operation #211

@KairaMiu

Description

@KairaMiu

It would be nice if dobi had a way to use an AND operation optionally for listing jobs with tags instead of OR operation.
This would add an additional (optional) parameter to dobi list -t a -t b [OPERATION], which is per default --or and can be replaced with --and.

Example original (--or):

$ dobi list -t a -t b
Resources:
    job-a-b
    job-a-c
    job-b-c

Tags: 
    a, b, c

Example with --and:

$ dobi list -t a -t b --and
Resources:
    job-a-b

Tags: 
    a, b, c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions