apeman-bud
Bud file renderer.
Installation
Install apeman-bud module via npm.
$ npm install apeman-bud -g
Usage
- Prepare an Apemanfile.js at your project root.
- Run the command via CLI.
Apemanfile.js
/** Example of Apemanfile.js */ 'use strict' moduleexports = $cwd: __dirname $pkg: /* ... */ $proto: /* ... */ $tmpls: /* ... */ $tasks: /* ... */ $apps: /* ... */ $wtchs: /* ... */ $infra: /* ... */
Then,
$ apeman-bud
CLI Options
$ apeman-bud -h Usage: apeman-bud [options] [name...] Render bud files in the project. Options: -h, --help output usage information -V, --version output the version number -i, --ignore File patterns to ignore -f, --force Force to render template even
Programmatic API
apeman-bud also provide programmatic API.
Firstly, install the module locally.
$ npm install apeman-bud --save-dev
Then,
'use strict' const apemanBud =
Programmatic Options
Key | Description | Default |
---|---|---|
ignore | File patterns to ignore | |
force | Force to render template even if already exists | |
configuration | Pathname of Apemanfile |
License
This software is released under the MIT License.