Browse Source

feat(occ): add default help text with docs link to all commands

Signed-off-by: Josh <josh.t.richards@gmail.com>
pull/54180/head
Josh 2 months ago
committed by Andy Scherzinger
parent
commit
5fcc8115d2
  1. 2
      core/Command/Base.php

2
core/Command/Base.php

@ -24,9 +24,11 @@ class Base extends Command implements CompletionAwareInterface {
protected string $defaultOutputFormat = self::OUTPUT_FORMAT_PLAIN;
private bool $php_pcntl_signal = false;
private bool $interrupted = false;
public string $defaultHelp = 'More extensive and thorough documentation may be found at https://docs.nextcloud.com' . PHP_EOL; // TODO: link to appropriately versioned/themed Admin Manual
protected function configure() {
$this
->setHelp($this->defaultHelp)
->addOption(
'output',
null,

Loading…
Cancel
Save