apeman-show
show command module for apeman.
Last updated a year ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install apeman-show 
SYNC missed versions from official npm registry.

apeman-show

Build Status Code Climate Code Coverage npm Version

show command module for apeman.

Overview

apeman-show shows data about Apemanfile configuration.

Installation

Install apeman-show module via npm.

$ npm install apeman-show -g

Usage

Runs apeman apeman-show command at your project root.

# Show build task defined in Apemanfile.js
$ apeman-show tasks build

Some properties in Apemanfile begins with $ ("$tasks", "$cwd"... ). But you can jus skip typing $, which is bash meta charactor and needs to be escaped. task will resollved to $task automatically.

CLI Options
$ apeman-show -h

  Usage: apeman-show [options] [keypath...] 

  Show apemanfile configuration.

  Options:

    -h, --help                           output usage information
    -V, --version                        output the version number
    -c, --configuration <configuration>  Pathname of Apemanfile
    -k, --keysonly                       Show keys only


Programmatic API

apeman-show also provide programmatic API.

Firstly, install the module locally.

$ npm install apeman-show --save-dev

Then,

'use strict'

const apemanShow = require('apeman-show')

apemanShow("tmpl", "ci/*", {
    keysonly: true
}).then(() => {
    /* ... */
})
Programmatic Options
Key Description Default
configuration Pathname of Apemanfile
keysonly Show keys only

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 80
Dependencies (11)
Dev Dependencies (9)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |