Closed vetinari closed 6 years ago
zmon entities
acts as zmon entities list
which is why it takes --output flag. In case entities filter
the --output flag applies to filter
and not entities
, this is why it should come at the end.
Removing entities implicit list could break existing tooling.
A
zmon entities --output json filter key value
renders as text, whilezmon entities filter --output json key value
correctly returns json. According to the help, it should work in both positions: