apeman-srch

Plugin search for apeman.


Keywords
apeman, command, search
License
MIT
Install
npm install apeman-srch@1.0.0

Documentation

apeman-srch

Build Status Code Climate Code Coverage npm Version JS Standard

Plugin search for apeman.

Installation

Install apeman-srch module via npm.

$ npm install apeman-srch -g

Usage

$ apeman-srch -t task "nodeunit"
CLI Options
$ apeman-srch -h

  Usage: apeman-srch [options] [term...] 

  Search apeman modules.

  Options:

    -h, --help         output usage information
    -V, --version      output the version number
    -v, --verbose      Show verbose logs
    -t, --type <type>  Type to search.

  Examples:

    $ apeman-srch                     # List all available packages.
    $ apeman-srch -t task              # List all available task packages.
    $ apeman-srch -t task "foo"      # List all available task which match term "foo".

Available Types
  • "app"
  • "asset"
  • "brws"
  • "cmd"
  • "bud"
  • "demo"
  • "react"
  • "scff"
  • "task"
  • "tmpl"
  • "proto"

Programmatic API

apeman-srch also provide programmatic API.

Firstly, install the module locally.

$ npm install apeman-srch --save-dev

Then,

'use strict'

const apemanSrch = require('apeman-srch')

apemanSrch('mocha', {
  type: 'task'
}).then((result) => {
  /* ... */
})
Programmatic Options
Key Description Default
verbose Show verbose logs
type Type to search.

License

This software is released under the MIT License.

Links