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 grouped by tags #207

Open
siredmar opened this issue Nov 6, 2020 · 0 comments
Open

dobi list grouped by tags #207

siredmar opened this issue Nov 6, 2020 · 0 comments

Comments

@siredmar
Copy link
Contributor

siredmar commented Nov 6, 2020

It would be nice if dobi hat a way not only to list all resources and possible tags, but show a kind of grouped list dependend on the tags.

Currently all resources are listed unsorted. There is a way to make the list view more specific with the tags option.
I propose an option called -g,--groups, that makes the output a little bit more structured.

Example original:

$ dobi list
Resources:
  job0
  job1
  job2
  image1
  job1
  job3
  image2

Tags: 
  dev, prod

Example with -g:

$ dobi list -g
Resources:
  job0
  Tag: dev
    job1
    job2
    image1
  Tag: prod
    job1
    job3
    image2
Tags: 
  dev, prod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants