Skip to content

Publish Command

Joshua Miller edited this page Oct 29, 2020 · 1 revision
MCPBRP publish [options]

Publishes a resource pack to the defined destination using the rules in the specified profile. By default, up-to-date files will be skipped to make publishing as fast as possible; this behavior can be disabled by providing the clean option to first remove all content from the target directory. If zip is set, then a new archive file will be created regardless of existing content.

Options

  • -p | --pack
    The pack properties file describing the pack publishing configuration.

  • -d | --destination
    The target destination for published content; expects a path unless -zip is used.

  • -z | --zip
    Writes published content to a compressed ZIP archive rather than directory.

  • -c | --clean
    Removes all content from the destination directory before publishing.

  • --property
    Allows a pack property to be dynamically set; may be used multiple times.