From 83764afe6b4d46627596c4e42bd2dfc31541d03e Mon Sep 17 00:00:00 2001 From: mscherer Date: Sun, 4 Jan 2026 04:00:50 +0100 Subject: [PATCH] Add getDescription() to all commands --- src/Command/BootstrapCommand.php | 8 ++++++++ src/Command/CopyLayoutsCommand.php | 8 ++++++++ src/Command/InstallCommand.php | 8 ++++++++ src/Command/ModifyViewCommand.php | 8 ++++++++ 4 files changed, 32 insertions(+) diff --git a/src/Command/BootstrapCommand.php b/src/Command/BootstrapCommand.php index a345b8fe..600eca8d 100644 --- a/src/Command/BootstrapCommand.php +++ b/src/Command/BootstrapCommand.php @@ -16,6 +16,14 @@ */ class BootstrapCommand extends Command implements CommandCollectionAwareInterface { + /** + * @return string + */ + public static function getDescription(): string + { + return 'BootstrapUI commands entry point.'; + } + /** * The command collection to get help on. * diff --git a/src/Command/CopyLayoutsCommand.php b/src/Command/CopyLayoutsCommand.php index d4ef4e1c..bdb5cf06 100644 --- a/src/Command/CopyLayoutsCommand.php +++ b/src/Command/CopyLayoutsCommand.php @@ -15,6 +15,14 @@ */ class CopyLayoutsCommand extends Command { + /** + * @return string + */ + public static function getDescription(): string + { + return 'Copy sample layouts to app templates.'; + } + /** * @inheritDoc */ diff --git a/src/Command/InstallCommand.php b/src/Command/InstallCommand.php index d06a39ac..47392863 100644 --- a/src/Command/InstallCommand.php +++ b/src/Command/InstallCommand.php @@ -17,6 +17,14 @@ */ class InstallCommand extends Command { + /** + * @return string + */ + public static function getDescription(): string + { + return 'Install Bootstrap dependencies and link assets.'; + } + /** * @inheritDoc */ diff --git a/src/Command/ModifyViewCommand.php b/src/Command/ModifyViewCommand.php index 4ed5296b..f8a825b4 100644 --- a/src/Command/ModifyViewCommand.php +++ b/src/Command/ModifyViewCommand.php @@ -13,6 +13,14 @@ */ class ModifyViewCommand extends Command { + /** + * @return string + */ + public static function getDescription(): string + { + return 'Modify AppView to extend UIView.'; + } + /** * @inheritDoc */