-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Add the ability to generate a "defaults" configuration file via boilerplate.BUILD_DEFAULT_CONFIG. This will build a valid configuration file with all configuration properties in it. The value for everything should be the module defined defaults, ignoring any others
Must display all help text, enums, type information, required state in the file
Activate
--build-default-config- output at ./.{appname} ininiformat--build-default-config ./output- output at the target file
# example usage
node dist/my_app.js --build-default-config ./default_config
# loading the file (already implemented)
node dist/my_app.js --config ./my_custom_configNotes
Only supporting ini & yaml / yml (none = ini) initial implementation. JSON files possible if comment-json gets added as a production dependency