File: commands/webfan/project.js

Recommend this page to a friend!
  Classes of Till Wehowski   Widget CLI   commands/webfan/project.js   Download  
File: commands/webfan/project.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Widget CLI
Process commands entered by the user
Author: By
Last change:
Date: 7 years ago
Size: 446 bytes


Class file image Download
/* webfan (C) Till Wehowski, - All rights reserved. */ var action = ''; exports.finalize = function(CLI){ }; exports.prepare = function(CLI){ _CLI.finalState.add('parse_second_arg'); var parse_second_arg = function(value){ action = value; _CLI.emit('parse_second_arg', action); }; CLI.positionalSwitches[1] = parse_second_arg; };