coz-bud
bud for coz
Usage
Create a new bud.
'use strict'
const bud = require('bud')
bud({})
Specification
Supported Properties
List of properties configurable in bud files.
Name | Type | Default | Description | |
---|---|---|---|---|
`` | string | object | 'handlebars' | Template engine name or engine itself |
`` | string | process.cwd() | Working directory path | |
`` | object | Data which template render with | ||
`` | boolean | false | Make parent directories if needed | |
`` | object | Optional settings for template engine | ||
`` | boolean | false | Should overwrite file when already exists, or not | |
`` | string | number | '644' | Permission of generated files. (eg., '444' for readonly files) |
`` | string | Destination file path. If not provided, guess from bud file path | ||
`` | string | function | 'json' | Template file path or registered template name or template function |
License
This software is released under the MIT License.