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

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

Open
KairaMiu opened this issue Nov 17, 2020 · 0 comments
Open

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

KairaMiu opened this issue Nov 17, 2020 · 0 comments

Comments

@KairaMiu
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant