Skip to content

ok pkg add

Add the Boilerplate template to the package manifest with an optional output folder

Synopsis

Add the Boilerplate template to the package manifest with an optional output folder. The template version is fetched from the latest GitHub release in the template repository. Use the output folder to add the same template more than once, each with its own configuration. For example, add the app template one time for each application.

ok pkg add <template> [outputFolder] [flags]

Examples

ok pkg add databases my-postgres-database
ok pkg add app ecommerce-website
ok pkg add app ecommerce-api
BASE_URL=../boilerplate/terraform ok pkg add networking

Options

  -h, --help              help for add
      --no-schema         Do not add the JSON schema for the package
  -s, --no-var-file       Do not download a var file for the package
  -v, --var-file string   Download a var file for the package with the specified name (default "default")

See also

ok pkg - Group of package related commands for managing Boilerplate packages.