Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->shortDesc = 'stato foo - Dummy command';
     $this->longDesc = 'This is a dummy command.';
     $this->addOption('-u', '--user', Option::STRING, 'username', 'greet user');
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->shortDesc = 'stato createapp - Create a skeleton application';
     $this->longDesc = 'Create a skeleton application.';
     $this->addOption('-p', '--path', Option::STRING);
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     $this->shortDesc = 'stato dummy - Dummy command';
     $this->longDesc = 'This is a dummy command.';
     $this->addOption('-v', '--verbose', Option::BOOLEAN, null, 'make lots of noise');
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     $this->shortDesc = 'stato i18n:makemessages - Create a message file for a new language';
     $this->longDesc = 'The command runs over your application source tree and pulls out all strings marked for translation.';
     $this->addOption('-p', '--path', Option::STRING);
     $this->addOption('-l', '--lang', Option::STRING);
     $this->addOption('-b', '--backend', Option::STRING);
 }
Example #5
0
 public function __construct()
 {
     parent::__construct();
     $this->shortDesc = 'stato foo - Dummy command';
     $this->longDesc = 'This is a dummy command.';
 }