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

Show number of empty plates in Fridge #4

Open
danr opened this issue Oct 17, 2024 · 0 comments
Open

Show number of empty plates in Fridge #4

danr opened this issue Oct 17, 2024 · 0 comments

Comments

@danr
Copy link
Member

danr commented Oct 17, 2024

In the meantime you can do this

ssh devserver curl -s 10.10.0.97:5050/fridge/contents | jq -r '
    [.value[] | {project}] | group_by(.project) | map({project: .[0].project, count: length}) | sort_by(.count) | reverse | map([.project, .count] | @csv) | .[]
' | tabulate -s,```
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