apeman-show v4.1.5
apeman-show
show command module for apeman.
Overview
apeman-show shows data about Apemanfile configuration.
Installation
Install apeman-show module via npm.
$ npm install apeman-show -gUsage
Runs apeman apeman-show command at your project root.
# Show build task defined in Apemanfile.js
$ apeman-show tasks buildSome 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 onlyProgrammatic API
apeman-show also provide programmatic API.
Firstly, install the module locally.
$ npm install apeman-show --save-devThen,
'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
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago