kran docs

kran init

Usagekran init

Copies the built-in template to config/kran.yml, creating config/ if needed.

$ kran init
Created config/kran.yml

# an existing file is left alone
$ kran init
config/kran.yml already exists (remove it first to create a new one)

The file it writes is the commented template on the Configuration page.

Destinations

kran init writes the base file only. A destination file such as config/kran.staging.yml is a partial override you write by hand. See Destinations.