Exemple #1
0
 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'));
 }
Exemple #2
0
 public function createSnippets()
 {
     $snippetCmd = new Garp_Cli_Command_Snippet();
     $snippetCmd->create();
 }