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. The output folder is useful when you need multiple instances of the same template with different configurations, for example having multiple instances of the application template.

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

Options

  -h, --help            help for add
      --update-schema   Update the JSON schema for affected packages (default true)

See also

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