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

support new has/nothas filter operator #200

Merged
merged 2 commits into from
Nov 26, 2022
Merged

Conversation

reubenmiller
Copy link
Owner

Support new client side filter operators using the global --filter flag:

  • has <key> - Returns objects where the key is present
  • nothas <key> - Returns objects where the key is not present

Examples

c8y applications list --filter "has manifest.billingMode"

c8y applications list --filter "nothas manifest.billingMode"

@reubenmiller reubenmiller merged commit 799be4d into v2 Nov 26, 2022
@reubenmiller reubenmiller deleted the feat-filter-has-nothas branch November 26, 2022 21:18
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.

1 participant