Skip to content

Commit

Permalink
distribution files
Browse files Browse the repository at this point in the history
  • Loading branch information
ccorcos committed Dec 2, 2016
1 parent f8d6f95 commit 2b3adfe
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dist/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,18 @@ command.action = function (fn) {
return this;
};

/**
* Let's you compose other funtions to extend the command.
*
* @param {Function} fn
* @return {Command}
* @api public
*/

command.use = function (fn) {
return fn(this);
};

/**
* Defines a function to validate arguments
* before action is performed. Arguments
Expand Down

0 comments on commit 2b3adfe

Please sign in to comment.