From 11f38816777169163d3b544bb3ade52f097b29de Mon Sep 17 00:00:00 2001 From: Igor Kozhevnikov Date: Fri, 17 Nov 2023 15:11:23 +0300 Subject: [PATCH] Add the command method --- src/Commands/Feature/Swap.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Commands/Feature/Swap.php b/src/Commands/Feature/Swap.php index f17e5b4..6c8fef4 100644 --- a/src/Commands/Feature/Swap.php +++ b/src/Commands/Feature/Swap.php @@ -14,6 +14,14 @@ #[Aliases('git:feature:switch')] class Swap extends BaseCommand { + /** + * @inheritDoc + */ + protected function command(): string|array + { + return "git switch $this->branch"; + } + /** * @inheritDoc */