Skip to content

clijs/handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

handler NPM Version Travis

Execute functions within the context in a cli.js app

Install

npm install @cli/handler --save

Usage

var alias = require('@cli/alias')
var handler = requrie('@cli/handler')
var command = require('@cli/command')

var testCommand = command(
  alias('test'),
  handler(function () {/* do something here */})
)

Releases

No releases published

Packages

No packages published