src/core/interfaces/cli_command.coffee |
|
|---|---|
{isType} = require '../../utils/matchers' |
|
CLICommand |
|
The The rules are simple, the function must have a property named |
CLICommand = __definition__: (o) -> typeof o is 'function' and o.aliases? and Array.isArray(o.aliases) and o.aliases.every isType 'string' module.exports = CLICommand |