issues
search
oxur
/
rucksack
A terminal-based secrets manager, generator, and importer/exporter (Firefox, Chrome) backed with a concurrent hashmap
Apache License 2.0
12
stars
1
forks
source link
Add support for tags
#67
Closed
oubiwann
closed
1 year ago
oubiwann
commented
1 year ago
Tasks:
[x] Add
tags
field to
Metadata
[x] Add logic for basic operations on tags
[x] Implement set logic for tests (and/or) in util module
for any, use intersection == non-zero;
https://doc.rust-lang.org/std/collections/hash_set/struct.Intersection.html
for all, ensure input is a subset;
https://doc.rust-lang.org/std/collections/hash_set/struct.HashSet.html#method.is_subset
[x] Add
--all-tags
flag (AND)
[x] Add
--any-tags
flag (OR)
[x] Add
show tags
subcommand
oubiwann
commented
1 year ago
Done.
Tasks:
tags
field toMetadata
--all-tags
flag (AND)--any-tags
flag (OR)show tags
subcommand