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

Make site label available to site:list and org:site:list commands #2665

Open
wants to merge 2 commits into
base: 4.x
Choose a base branch
from

Conversation

vinmassaro
Copy link

This PR fixes #1968 and does two things:

  1. Makes the site label available to site:list and org:site:list commands when using the --field/--fields options
  2. Adds the ability to filter by site label using the --filter option: --filter='label*=foo'

org:site:list did not have default fields so I set them to keep the default output the same.

Thanks!

@vinmassaro vinmassaro requested a review from a team as a code owner January 15, 2025 21:58
@vinmassaro
Copy link
Author

vinmassaro commented Jan 15, 2025

Tried to terminus site:list | grep "foo" today and realized site label is still not returned, only site machine name. This replaces #2071 for terminus 4.x. Thanks!

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

Successfully merging this pull request may close these issues.

Add 'label' to output of site:list and org:site:list
1 participant