Skip to content
HomePagesHomePages template kit

template-kit pack

The `template-kit pack` command — its arguments, flags, exit codes and constraints.

Build a template’s submission zip.

Terminal window
template-kit pack [template] [--no-auto-update]
Argument Required What it does
template no The one template to pack. Omitted, it is inferred from the current directory. The submission unit is a single template.
Flag Type Default What it does
--no-auto-update boolean false Skip the package refresh this command runs first when the workspace is behind the published release
Code When
0 the zip was written
1 check is not green, or a preflight guard refuses
  • Runs check on the template first and produces nothing unless it passes.
  • Refuses a workspace with no lockfile, or a dependency on a local file:/link: protocol.
  • Every command — the rest of the CLI’s surface.
  • This CLI drives any kit in ^9.0.0; template-kit --version prints the pair.