Skip to content

[feature] Allow Hauler to export a manifest of the store #169

@zackbradys

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 using hauler store add ......., then I'm not able to save the content as a manifest, unless I manually create a hauler 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 of hauler and syncing it with hauler 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

No one assigned

    Labels

    enhancementNew feature or requestsize/LDenotes an issue/PR requiring a relatively large amount of work

    Projects

    • Status

      Backlog

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions