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

Site list filters are incomplete #1980

Closed
ataylorme opened this issue Jun 7, 2019 · 3 comments
Closed

Site list filters are incomplete #1980

ataylorme opened this issue Jun 7, 2019 · 3 comments

Comments

@ataylorme
Copy link

Expected behavior

As a Terminus user, I expect to be able to filter by common site properties, such as name, frozen status, and framework, with site:list and org:site:list.

Actual behavior

  • name is missing from org:site:list
  • A framework filter does not exist on site:list or org:site:list
  • A frozen filter does not exist on site:list or org:site:list

Steps to reproduce the behavior

terminus org:site:list <ORG_UUID> --name="^foo-" does not return the same result as terminus site:list --org=<ORG_UUID> --name="^foo-"

terminus org:site:list --framework=wordpress does nothing.

@greg-1-anderson
Copy link
Member

As I mentioned in the PR, https://github.com/consolidation/filter-via-dot-access-data is useful here.

@oubawaleh
Copy link
Contributor

oubawaleh commented Jul 22, 2019

Hi @ataylorme I added the filter option. Now you can run org:site: list <ORG_UUID> --filter="framework=wordpress" PR #1992

@ataylorme
Copy link
Author

@oubawaleh thank you! This looks great.

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

3 participants