oxur / rucksack

A terminal-based secrets manager, generator, and importer/exporter (Firefox, Chrome) backed with a concurrent hashmap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extend imports for new types/kinds

oubiwann opened this issue · comments

Tasks:

  • Change import --type to --format
  • Add support for --type (kind)
  • Add JSON deserialisation capability
  • Add json to the allowed types for import
  • If the --type for import is Kind::AsymmetricCrypto, Kind::Certificates, or Kind::ServiceCredentials, set the format to JSON
  • If no type is set, check the file extension
  • When exporting to JSON, support limiting by --category
  • When exporting to JSON, support limiting by --tags

Depends on: