Skip to content

Commit b5dfd7d

Browse files
committed
Bugfix: fixed issue where shorthand notation of parameters were not working
1 parent 1549c28 commit b5dfd7d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 2.0.1 - 2021-05-26
8+
### Fixed
9+
- Fixed issue where shorthand notations of parameters weren't working.
10+
711
## 2.0.0 - 2021-04-01
812
### Added
913
- Support for `grizz-it/command` and `grizz-it/cli`.
@@ -35,7 +39,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3539
- The initial implementation of the package.
3640

3741
# Versions
38-
- [2.0.0 > Unreleased](https://github.com/ulrack/cli-application/compare/2.0.0...HEAD)
42+
- [2.0.1 > Unreleased](https://github.com/ulrack/cli-application/compare/2.0.1...HEAD)
43+
- [2.0.0 > 2.0.1](https://github.com/ulrack/cli-application/compare/2.0.0...2.0.1)
3944
- [1.2.1 > 2.0.0](https://github.com/ulrack/cli-application/compare/1.2.1...2.0.0)
4045
- [1.2.0 > 1.2.1](https://github.com/ulrack/cli-application/compare/1.2.0...1.2.1)
4146
- [1.1.0 > 1.2.0](https://github.com/ulrack/cli-application/compare/1.1.0...1.2.0)

src/Component/Application/CliApplication.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
namespace Ulrack\CliApplication\Component\Application;
99

1010
use Ulrack\Kernel\Common\ApplicationInterface;
11+
use Ulrack\CliApplication\Component\Command\Input;
1112
use GrizzIt\Configuration\Common\RegistryInterface;
1213
use Ulrack\CliApplication\Dao\CommandConfiguration;
1314
use Ulrack\Kernel\Common\Manager\ServiceManagerInterface;
@@ -71,7 +72,7 @@ public function run(ServiceManagerInterface $serviceManager): void
7172
$inputFactory = $serviceFactory->create('services.cli.input-factory');
7273

7374
$this->exitCode = $commandRouter->__invoke(
74-
$inputFactory->create($this->arguments)
75+
new Input($inputFactory->create($this->arguments))
7576
);
7677
}
7778

0 commit comments

Comments
 (0)