From 5fcc8115d2571fd09820c392828ae95c830528ca Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 31 Jul 2025 11:40:36 -0400 Subject: [PATCH] feat(occ): add default help text with docs link to all commands Signed-off-by: Josh --- core/Command/Base.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/Command/Base.php b/core/Command/Base.php index 6ab2765b0f9..1ad84111b3a 100644 --- a/core/Command/Base.php +++ b/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,