refactor(cli): flatten keys export/import into dumpkeys/restore (#608)

* refactor(cli): flatten keys export/import into dumpkeys/restore

The keys noun-group clashed with the flat dump/list verbs; unify on flat verbs and drop the keys parent. Pure rename, no behavior change.

* docs(rfc): add RFC-013 CLI redesign & cross-host restore

The accepted design doc for the flat-verb CLI redesign and cross-platform restore.
This commit is contained in:
Roger
2026-06-06 14:34:40 +08:00
committed by GitHub
parent 9fa709a11e
commit 8936c42d10
4 changed files with 182 additions and 59 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ GitHub: https://github.com/moonD4rk/HackBrowserData`,
root.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "enable debug logging")
dump := dumpCmd()
root.AddCommand(dump, listCmd(), keysCmd(), versionCmd())
root.AddCommand(dump, dumpKeysCmd(), restoreCmd(), listCmd(), versionCmd())
// Default to dump when no subcommand is given.
// Copy dump flags to root so that `hack-browser-data -b chrome`