serokell / coffer

Multi-backend password store with multiple frontends
4 stars 2 forks source link

Merge `--filter` and `--filter-field` into one option in core, CLI and web API #44

Closed Heimdell closed 2 years ago

Heimdell commented 2 years ago

Clarification and motivation

@dcastro: I think the --filter and --filter-field options can be merged into a single --filter option.

e.g.:

--filter name~vault               <- filter entries by entry name
--filter url:value~google.com     <- filter entries by field value

Probably, multiple --filter in CLI should act all at once, and so do filter[]=... in web API.

Acceptance criteria

dcastro commented 2 years ago

Looks like the core + cli have been updated in #94, and the web API has been updated during the last rebase in #37. Closing this issue now.