[feature] Allow Hauler
to export a manifest of the store
#169
Open
Description
Is your feature request related to a problem? Please describe.
*Yes, please see below
Describe the solution you'd like
- Allow users to save the current store state as
hauler
manifest (yaml) so it can be export or reused at a later date. For example, if I added a bunch of content to the store usinghauler store add .......
, then I'm not able to save the content as a manifest, unless I manually create ahauler
manifest.
Example Implementation:
zackbradys@Zacks-MBP test % hauler store save -h
Save a content store to a store archive or hauler manifest
Usage:
hauler store save [flags]
Flags:
-t, --type string Save the content store as an archive or manifest (default "archive")
-f, --filename string Name of archive (default "haul.tar.zst")
-h, --help help for save
Global Flags:
--cache string Location of where to store cache data (defaults to $XDG_CACHE_DIR/hauler)
-l, --log-level string (default "info")
-s, --store string Location to create store at (default "store")
Describe alternatives you've considered
- Generating the
hauler
manifest outside ofhauler
and syncing it withhauler store sync
- Manually adding the contents of a
store
to a manifest and then storing it for use later
Additional context
- N/A
Metadata
Assignees
Type
Projects
Status
Backlog