# `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.

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

## Examples

```sh
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

```sh
  -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`](ok_pkg.md) - Group of package related commands for managing
Boilerplate packages.
