apeman-tree
Inheritance tree inspector for apeman.
Last updated 4 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install apeman-tree 
SYNC missed versions from official npm registry.

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
Key Description Default
configuration Pathname of Apemanfile

License

This software is released under the MIT License.

Links

Current Tags

  • 5.0.3                                ...           latest (4 years ago)

16 Versions

  • 5.0.3                                ...           4 years ago
  • 5.0.2                                ...           4 years ago
  • 5.0.1                                ...           4 years ago
  • 5.0.0                                ...           4 years ago
  • 4.0.1                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.4                                ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.1.3                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (9)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |