Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 23:15
· 178 commits to main since this release
8e12bf3
feat: add global --query flag with JMESPath support

Added global --query flag to filter JSON output using JMESPath expressions.
This matches the behavior of the official Azure CLI.

Changes:
- Added --query persistent flag to root command
- Created pkg/query package with JMESPath query functions
- Created pkg/output package with PrintJSON helper
- Updated identity show/showByIDs to use new output helper
- Added github.com/jmespath/go-jmespath dependency

Example usage:
  az identity show -n my-identity -g my-rg --query 'properties.principalId'
  az identity show --ids /subscriptions/.../my-identity --query 'properties'