mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-04 05:43:27 +01:00
refactor: run every command on the pipeline (#665)
dump, dumpkeys, archive, restore, and list now run on the app stages, so cmd's old path goes away. archive writes manifest.json and restore reads it, falling back to today's layout for older archives. Windows and macOS smoke matched today's output apart from the planned changes.
This commit is contained in:
1 parent
cebfa97ed6
commit
bbd353f314
45 files changed
+1516
-664
No files matched your search
@@ -37,6 +37,7 @@ GitHub: https://github.com/moonD4rk/HackBrowserData`,
|
||||
// Copy dump flags to root so that `hack-browser-data -b chrome`
|
||||
// works the same as `hack-browser-data dump -b chrome`.
|
||||
root.RunE = func(cmd *cobra.Command, args []string) error {
|
||||
dump.SetContext(cmd.Context())
|
||||
return dump.RunE(dump, args)
|
||||
}
|
||||
dump.Flags().VisitAll(func(f *pflag.Flag) {
|
||||
|
||||
Reference in new issue
Block a user