5.0.3 • Published 9 years ago

apeman-tree v5.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

apeman-tree

Build Status Code Climate Code Coverage npm Version JS Standard

Inheritance tree inspector for apeman.

Installation

Install apeman-tree module via npm.

$ npm install apeman-tree -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: [
    require('apeman-proto-abstract'),
    require('apeman-proto-plain')
  ],
  $tmpls: { /* ... */ },
  $tasks: { /* ... */ },
  $apps: { /* ... */ },
  $wchs: { /* ... */ }
}

Then,

$ apeman-tree

my-demo-pkg
├── apeman-proto-abstract
└── apeman-proto-plain
     ├── apeman-proto-npm
     │   └── apeman-proto-abstract
     ├── apeman-proto-basic
     │   └── apeman-proto-abstract
     └── apeman-proto-abstract
CLI Options
$ apeman-tree -h

  Usage: apeman-tree [options] 

  Show project inheritance in the tree.

  Options:

    -h, --help                           output usage information
    -V, --version                        output the version number
    -c, --configuration <configuration>  Pathname of Apemanfile

  Examples:

  $ apeman-tree                   # Show inheritance tree of current project.

Programmatic API

apeman-tree also provide programmatic API.

Firstly, install the module locally.

$ npm install apeman-tree --save-dev

Then,

'use strict'

const apemanTree = require('apeman-tree')

apemanTree({}).then(() => {
  /* ... */
})
Programmatic Options
KeyDescriptionDefault
configurationPathname of Apemanfile

License

This software is released under the MIT License.

Links

5.0.3

9 years ago

5.0.2

9 years ago

5.0.1

9 years ago

5.0.0

9 years ago

4.0.1

9 years ago

4.0.0

9 years ago

3.0.0

9 years ago

2.0.4

9 years ago

2.0.3

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago