コード例 #1
0
ファイル: ListPlugin.php プロジェクト: nlegoff/Phraseanet
 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
ファイル: RemovePlugin.php プロジェクト: nlegoff/Phraseanet
 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
ファイル: AddPlugin.php プロジェクト: luisbrito/Phraseanet
 public function __construct()
 {
     parent::__construct('plugins:add');
     $this->setDescription('Installs a plugin to Phraseanet')->addArgument('source', InputArgument::REQUIRED, 'The source is a folder');
 }