structured --filter JSON for paginated reads #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Paginated list ops accept
--filter <STRING>. The generatedFilterExpressiontype is aserde_json::Valuenewtype; today we wrap the CLI string asFilterExpression(Value::String(s)). Add support for raw JSON filters:--filter '@/path.json',--filter -(stdin), or--filter '{"field":"name","op":"eq","value":"x"}'. Likely reuseutil::read_bodysemantics.\n\nAffects every cmd module exposing--filter.Implemented in
f160869: util::read_filter and read_filter_expr accept @path / - / raw forms uniformly; applied to every paginated list arm across all 12 command groups.