Пример #1
0
 public function __construct()
 {
     parent::__construct('plugins:list');
     $this->setDescription('Lists installed plugins')->addOption('json', 'j', InputOption::VALUE_NONE, 'Output result in JSON');
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct('plugins:disable');
     $this->setDescription('Disables a plugin')->addArgument('name', InputArgument::REQUIRED, 'The name of the plugin');
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct('plugins:remove');
     $this->setDescription('Removes a plugin given its name')->addArgument('name', InputArgument::REQUIRED, 'The name of the plugin');
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct('plugins:add');
     $this->setDescription('Installs a plugin to Phraseanet')->addArgument('source', InputArgument::REQUIRED, 'The source is a folder');
 }