Appcore Config
Pulls configuration into an Appcore instance from the environment, the CLI and the file system.
processenvCAKE = "yum!"; var app = ; app; app;
Available options:
files
- List of files to import as configuration. Currently accepted file types are HJSON, JavaScript and YAML.filesKey
- A key in the Appcore instance's options that will be merged with the files list. Useful if wanting to allow the end user to specify a config file.cli
- Minimist options for parsing the CLI. Set tofalse
to disable CLI parsing.env
- An object ofprocess.env
properties mapped to Appcore option keys.