Configuration

Items such as passwords, tokens, custom applications, and paths can be supplied via a per-application configuration file.

This file is stored in example-cfg.yaml in the standard file locations.

The file can contain any valid YAML, for example:

# /etc/appbuilder/demo-cfg.yaml
Cowsay: animalsay

This can then be used in templates. When a configuration item is required, the require function should be used:

command: |
   slack-notify --token "{{.Config.slack.token | require "slack token not set" }}"