3.1.4 • Published 8 years ago

apeman-init v3.1.4

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

apeman-init

Build Status Code Climate Code Coverage npm Version

apeman CLI tool to initialize apeman project.

Overview

apeman-init command initialize a directory as an apeman project.

After initialized, you'll be able to use various apeman command at the project root directory.

Installation

npm install apeman-init -g

Usage

Call apeman-init command at your project root directory to initialize as an apeman project.

$ apeman-init

CLI Options

$ apeman-init -h

  Usage: apeman-init [options] 

  Initialize a directory as an apeman project.

  Options:

    -h, --help               output usage information
    -V, --version            output the version number
    -f, --force              Force to init.
    -d, --dirname <dirname>  Directory name to init.
    -s, --silent             Disable console logs
    -p, --pkg <pkg>          Path of package.json

Programmatic API

apeman-init also provide programmatic API.

Firstly, install the module locally.

$ npm install apeman-init --save-dev

Then,

#!/usr/bin/env node
'use strict'

const apemanInit = require('apeman-init')

apemanInit({}).then(() => {
  /* ... */
})

Programmatic Options

KeyDescriptionDefault
forceForce to init.
dirnameDirectory name to init.process.cwd()
silentDisable console logs
pkgPath of package.json'./package.json'

License

This software is released under the MIT License.

Links

3.1.4

8 years ago

3.1.3

8 years ago

3.1.2

8 years ago

3.1.1

8 years ago

3.1.0

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago