Skip to content

Commit 70b3c4f

Browse files
committed
Add aliases for push/pull
1 parent bbc7ae4 commit 70b3c4f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Commands/Projects/PullProjectConfigCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ protected function configure()
2525
{
2626
$this
2727
->setName('project:pull')
28+
->setAliases(['pull'])
2829
->setDescription('Pull the latest configuration updates if using Git')
2930
;
3031
}

src/Commands/Projects/PushProjectConfigCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ protected function configure()
2525
{
2626
$this
2727
->setName('project:push')
28+
->setAliases(['push'])
2829
->setDescription('Commit any configuration changes and push to the git repository')
2930
;
3031
}
@@ -49,7 +50,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
4950
$ok = $ok && $this->tools()->git()->commit($cwd, 'updating configuration files');
5051

5152
if ($ok) {
52-
$this->tools()->success('changed files committed to git\'d');
53+
$this->tools()->success('changed files committed to git');
5354
} else {
5455
$this->tools()->error('failed to commit changes to git, re-run with -vvv to debug');
5556
$this->tools()->info('There may not have been any changed files');

0 commit comments

Comments
 (0)