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

Labels are not displayed next to card in cards list #60

Open
seletskiy opened this issue Jan 13, 2020 · 1 comment
Open

Labels are not displayed next to card in cards list #60

seletskiy opened this issue Jan 13, 2020 · 1 comment

Comments

@seletskiy
Copy link

It would be nice to see labels that are assigned to each card in cards list to be able to run grep and extract only cards with specific labels.

@mheap
Copy link
Owner

mheap commented Nov 24, 2023

This is an old issue, but his is now possible using jq and the new JSON formatter:

trello card:list --board BOARD --list LIST_NAME --format json | jq -r '.[] | select(.labels[].color == "green") | [.name, .id] | @tsv'

Output:

Test	603c05c304c0290233845a96
Another	63695c3755fa950240b80940

Would this solve your problem?

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