metal-cli icon indicating copy to clipboard operation
metal-cli copied to clipboard

`metal project get --filter name=foo` is not supported

Open displague opened this issue 1 year ago • 0 comments

What happened?

I ran metal project get --filter name=foo and the foo project was not filtered. The filter argument was silently ignored. I then ran curl with /projects?name=foo and confirmed that projects can be filtered by name.

metal project get -n foo works but it filters client-side after fetching all projects.

Can users expect --filter foo=bar to continue to supply arbitrary query parameters?

How can we reproduce it?

^

CLI version (metal --version):

displague avatar Jan 26 '24 00:01 displague