4.0.1 • Published 8 years ago

apeman-bud v4.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

apeman-bud

Build Status Code Climate Code Coverage npm Version JS Standard

Bud file renderer.

Installation

Install apeman-bud module via npm.

$ npm install apeman-bud -g

Usage

  1. Prepare an Apemanfile.js at your project root.
  2. Run the command via CLI.

Apemanfile.js

/** Example of Apemanfile.js */

'use strict'

module.exports = {
  $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 if already exists
    -c, --configuration <configuration>  Pathname of Apemanfile

  Examples:

  $ apeman-bud                   # Render bud files in the current project.
  $ apeman-tmpl "ci/.*.bud"       # Render specific bud files.

Programmatic API

apeman-bud also provide programmatic API.

Firstly, install the module locally.

$ npm install apeman-bud --save-dev

Then,

'use strict'

const apemanBud = require('apeman-bud')

apemanBud({}, (err) => {
  /* ... */
})
Programmatic Options
KeyDescriptionDefault
ignoreFile patterns to ignore
forceForce to render template even if already exists
configurationPathname of Apemanfile

License

This software is released under the MIT License.

Links

4.0.1

8 years ago

4.0.0

8 years ago

3.1.2

8 years ago

3.1.1

8 years ago

3.1.0

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago