| @@ 104-114 (lines=11) @@ | ||
| 101 | /** |
|
| 102 | * |
|
| 103 | */ |
|
| 104 | protected function configure() { |
|
| 105 | parent::configure(); |
|
| 106 | $this->setName('circles:manage:config') |
|
| 107 | ->setDescription('edit config/type of a Circle') |
|
| 108 | ->addArgument('circle_id', InputArgument::REQUIRED, 'ID of the circle') |
|
| 109 | ->addArgument( |
|
| 110 | 'config', InputArgument::IS_ARRAY, |
|
| 111 | 'list of value to change in the configuration of the Circle' |
|
| 112 | ) |
|
| 113 | ->addOption('initiator', '', InputOption::VALUE_REQUIRED, 'set an initiator to the request', ''); |
|
| 114 | } |
|
| 115 | ||
| 116 | ||
| 117 | /** |
|
| @@ 106-113 (lines=8) @@ | ||
| 103 | /** |
|
| 104 | * |
|
| 105 | */ |
|
| 106 | protected function configure() { |
|
| 107 | parent::configure(); |
|
| 108 | $this->setName('circles:manage:details') |
|
| 109 | ->setDescription('get details about a circle by its ID') |
|
| 110 | ->addArgument('circle_id', InputArgument::REQUIRED, 'ID of the circle') |
|
| 111 | ->addOption('instance', '', InputOption::VALUE_REQUIRED, 'Instance of the circle', '') |
|
| 112 | ->addOption('initiator', '', InputOption::VALUE_REQUIRED, 'set an initiator to the request', ''); |
|
| 113 | } |
|
| 114 | ||
| 115 | ||
| 116 | /** |
|
| @@ 120-129 (lines=10) @@ | ||
| 117 | /** |
|
| 118 | * |
|
| 119 | */ |
|
| 120 | protected function configure() { |
|
| 121 | parent::configure(); |
|
| 122 | $this->setName('circles:remote') |
|
| 123 | ->setDescription('remote features') |
|
| 124 | ->addArgument('host', InputArgument::OPTIONAL, 'host of the remote instance of Nextcloud') |
|
| 125 | ->addOption( |
|
| 126 | 'type', '', InputOption::VALUE_REQUIRED, 'set type of remote', RemoteInstance::TYPE_UNKNOWN |
|
| 127 | ) |
|
| 128 | ->addOption('all', '', InputOption::VALUE_NONE, 'display all information'); |
|
| 129 | } |
|
| 130 | ||
| 131 | ||
| 132 | /** |
|