Skip to content

Commit

Permalink
Bugfix: fixed issue where shorthand notation of parameters were not w…
Browse files Browse the repository at this point in the history
…orking
  • Loading branch information
mfrankruijter committed May 26, 2021
1 parent 1549c28 commit b5dfd7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.0.1 - 2021-05-26
### Fixed
- Fixed issue where shorthand notations of parameters weren't working.

## 2.0.0 - 2021-04-01
### Added
- Support for `grizz-it/command` and `grizz-it/cli`.
Expand Down Expand Up @@ -35,7 +39,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The initial implementation of the package.

# Versions
- [2.0.0 > Unreleased](https://github.com/ulrack/cli-application/compare/2.0.0...HEAD)
- [2.0.1 > Unreleased](https://github.com/ulrack/cli-application/compare/2.0.1...HEAD)
- [2.0.0 > 2.0.1](https://github.com/ulrack/cli-application/compare/2.0.0...2.0.1)
- [1.2.1 > 2.0.0](https://github.com/ulrack/cli-application/compare/1.2.1...2.0.0)
- [1.2.0 > 1.2.1](https://github.com/ulrack/cli-application/compare/1.2.0...1.2.1)
- [1.1.0 > 1.2.0](https://github.com/ulrack/cli-application/compare/1.1.0...1.2.0)
Expand Down
3 changes: 2 additions & 1 deletion src/Component/Application/CliApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
namespace Ulrack\CliApplication\Component\Application;

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

$this->exitCode = $commandRouter->__invoke(
$inputFactory->create($this->arguments)
new Input($inputFactory->create($this->arguments))
);
}

Expand Down

0 comments on commit b5dfd7d

Please sign in to comment.