Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Add resource top flags for filtering and sorting #142

Merged
merged 1 commit into from
Oct 19, 2020
Merged

Conversation

cmoog
Copy link
Contributor

@cmoog cmoog commented Oct 19, 2020

This PR implements the following flags for coder resources top

      --org string       filter by the name of an organization
      --show-empty       show groups with zero active environments
      --sort-by string   field to sort aggregate groups and environments by (cpu|memory) (default "cpu")
      --user string      filter by a user email

@cmoog cmoog requested a review from fuskovic October 19, 2020 16:20
@cmoog cmoog marked this pull request as ready for review October 19, 2020 16:21
Copy link
Contributor

@fuskovic fuskovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cmoog cmoog merged commit d11afcd into master Oct 19, 2020
@cmoog cmoog deleted the resource-filters branch October 19, 2020 19:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants