is-it-ayush/fa

more than just a KV? (sites, tags) etc.

Closed this issue · 1 comments

currently the internal data structure is just a HashMap<String, Vec<String>>. how would you think about associating more information? here's a few options i can think of!

  • A struct Credential { site: String, tag: String, password: String } and use this instead of Vec<String> such as HashMap<String, Vec<Credential>?
  • What "api" would you like?
    • fa search <query> --filter <filter> <filter_query> where filter = "sites" | "tags" and you can create via fa add <login> <password> --site isitayush.dev --tag fun. you can also do fa tags list/add/remove and fa sites list/add/remove
    • something better?
  • something better?

Implemented in #13