Skip to content

CLI Reference | kapitan init

kapitan init

Scaffolds a new Kapitan project skeleton in the target directory from a Cruft/Copier template (the kapicorp reference repo by default).

Flags

The table below is generated from Kapitan's argument parser at docs-build time, so it always matches the installed version. See also the global flags accepted by every command, and the .kapitan dotfile to set any of these permanently.

Flag Default Choices Description
--directory ./ set path, in which to generate the project skeleton,assumes directory already exists. default is "./"
--template_git_url https://github.com/kapicorp/kapitan-reference.git Cruft template_git_url, default is https://github.com/kapicorp/kapitan-reference.git
--checkout_ref copier Cruft checkout_ref, default is copier
Share this page