public function setup(array $args = array()) { // Perform app-specific tasks $this->_init(); // This one's free: inserting required snippets $snippetCmd = new Garp_Cli_Command_Snippet(); $snippetCmd->create(array('from', 'file')); }
public function createSnippets() { $snippetCmd = new Garp_Cli_Command_Snippet(); $snippetCmd->create(); }