From 4aeb7420e2cfeaec9a9326589d82a83f5d1b4bfe Mon Sep 17 00:00:00 2001 From: Vaibhav Jain Date: Sun, 23 Aug 2020 19:19:00 +0530 Subject: [PATCH] Added aliases for 8 other commands. --- src/Cli/Command/Issue/Apply.php | 1 + src/Cli/Command/Issue/Branch.php | 1 + src/Cli/Command/Issue/Interdiff.php | 1 + src/Cli/Command/Issue/Link.php | 1 + src/Cli/Command/Issue/Patch.php | 1 + src/Cli/Command/Project/Kanban.php | 1 + src/Cli/Command/Project/Link.php | 1 + src/Cli/Command/Project/Releases.php | 1 + 8 files changed, 8 insertions(+) diff --git a/src/Cli/Command/Issue/Apply.php b/src/Cli/Command/Issue/Apply.php index a5b9f19..5359ca3 100644 --- a/src/Cli/Command/Issue/Apply.php +++ b/src/Cli/Command/Issue/Apply.php @@ -23,6 +23,7 @@ protected function configure() { $this ->setName('issue:apply') + ->setAliases(['ia']) ->addArgument('nid', InputArgument::REQUIRED, 'The issue node ID') ->setDescription('Applies the latest patch from an issue.') ->setHelp(implode(PHP_EOL, [ diff --git a/src/Cli/Command/Issue/Branch.php b/src/Cli/Command/Issue/Branch.php index a93a395..140e52d 100644 --- a/src/Cli/Command/Issue/Branch.php +++ b/src/Cli/Command/Issue/Branch.php @@ -22,6 +22,7 @@ protected function configure() { $this ->setName('issue:branch') + ->setAliases(['ib']) ->addArgument('nid', InputArgument::REQUIRED, 'The issue node ID') ->setDescription('Creates a branch for the issue.') ->setHelp(implode(PHP_EOL, [ diff --git a/src/Cli/Command/Issue/Interdiff.php b/src/Cli/Command/Issue/Interdiff.php index ef41d87..6a8a2e6 100644 --- a/src/Cli/Command/Issue/Interdiff.php +++ b/src/Cli/Command/Issue/Interdiff.php @@ -22,6 +22,7 @@ protected function configure() { $this ->setName('issue:interdiff') + ->setAliases(['ii']) ->addArgument('nid', InputArgument::OPTIONAL, 'The issue node ID') ->setDescription('Generate an interdiff for the issue from committed local changes.'); } diff --git a/src/Cli/Command/Issue/Link.php b/src/Cli/Command/Issue/Link.php index 3623990..3ce0319 100644 --- a/src/Cli/Command/Issue/Link.php +++ b/src/Cli/Command/Issue/Link.php @@ -21,6 +21,7 @@ protected function configure() { $this ->setName('issue:link') + ->setAliases(['il']) ->addArgument('nid', InputArgument::OPTIONAL, 'The issue node ID') ->setDescription('Opens an issue'); } diff --git a/src/Cli/Command/Issue/Patch.php b/src/Cli/Command/Issue/Patch.php index bb7cd4d..d0f44a2 100644 --- a/src/Cli/Command/Issue/Patch.php +++ b/src/Cli/Command/Issue/Patch.php @@ -22,6 +22,7 @@ protected function configure() { $this ->setName('issue:patch') + ->setAliases(['ip']) ->addArgument('nid', InputArgument::OPTIONAL, 'The issue node ID') ->setDescription('Generate a patch for the issue from committed local changes.'); } diff --git a/src/Cli/Command/Project/Kanban.php b/src/Cli/Command/Project/Kanban.php index 7830a92..9e95834 100644 --- a/src/Cli/Command/Project/Kanban.php +++ b/src/Cli/Command/Project/Kanban.php @@ -18,6 +18,7 @@ protected function configure() { $this ->setName('project:kanban') + ->setAliases(['pk']) ->addArgument('project', InputArgument::OPTIONAL, 'The project machine name') ->setDescription('Opens project kanban'); } diff --git a/src/Cli/Command/Project/Link.php b/src/Cli/Command/Project/Link.php index 3fc6c82..ca9ab66 100644 --- a/src/Cli/Command/Project/Link.php +++ b/src/Cli/Command/Project/Link.php @@ -16,6 +16,7 @@ protected function configure() { $this ->setName('project:link') + ->setAliases(['pl']) ->addArgument('project', InputArgument::OPTIONAL, 'The project machine name') ->setDescription('Opens project page'); } diff --git a/src/Cli/Command/Project/Releases.php b/src/Cli/Command/Project/Releases.php index 69ed736..a7c220e 100644 --- a/src/Cli/Command/Project/Releases.php +++ b/src/Cli/Command/Project/Releases.php @@ -17,6 +17,7 @@ protected function configure() { $this ->setName('project:releases') + ->setAliases(['pr']) ->addArgument('project', InputArgument::OPTIONAL, 'The project machine name') ->setDescription('Lists available releases'); }