Updated composer.json, README, and CHANGELOG for 1.1.4 release

This commit is contained in:
Alannah Kearney 2019-05-24 14:02:21 +10:00
commit 94801ba0e6
3 changed files with 9 additions and 4 deletions

View file

@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
**View all [Unreleased][] changes here** **View all [Unreleased][] changes here**
## [1.1.4][]
#### Changed
- Refactoring of `manpage()` to hide 'Options' and/or 'Arguments' if there are none to show.
## [1.1.3][] ## [1.1.3][]
#### Changed #### Changed
- Updated `manpage()` to include `foregroundColour`, `headingColour`, and `additional` arguments. Removed `example` argument in favour of including it inside `additional`. - Updated `manpage()` to include `foregroundColour`, `headingColour`, and `additional` arguments. Removed `example` argument in favour of including it inside `additional`.
@ -30,7 +34,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
#### Added #### Added
- Initial release - Initial release
[Unreleased]: https://github.com/pointybeard/helpers-functions-cli/compare/1.1.3...integration [Unreleased]: https://github.com/pointybeard/helpers-functions-cli/compare/1.1.4...integration
[1.1.4]: https://github.com/pointybeard/helpers-functions-cli/compare/1.1.3...1.1.4
[1.1.3]: https://github.com/pointybeard/helpers-functions-cli/compare/1.1.2...1.1.3 [1.1.3]: https://github.com/pointybeard/helpers-functions-cli/compare/1.1.2...1.1.3
[1.1.2]: https://github.com/pointybeard/helpers-functions-cli/compare/1.1.1...1.1.2 [1.1.2]: https://github.com/pointybeard/helpers-functions-cli/compare/1.1.1...1.1.2
[1.1.1]: https://github.com/pointybeard/helpers-functions-cli/compare/1.1.0...1.1.1 [1.1.1]: https://github.com/pointybeard/helpers-functions-cli/compare/1.1.0...1.1.1

View file

@ -1,6 +1,6 @@
# PHP Helpers: Command-line Functions # PHP Helpers: Command-line Functions
- Version: v1.1.3 - Version: v1.1.4
- Date: May 24 2019 - Date: May 24 2019
- [Release notes](https://github.com/pointybeard/helpers-functions-cli/blob/master/CHANGELOG.md) - [Release notes](https://github.com/pointybeard/helpers-functions-cli/blob/master/CHANGELOG.md)
- [GitHub repository](https://github.com/pointybeard/helpers-functions-cli) - [GitHub repository](https://github.com/pointybeard/helpers-functions-cli)
@ -31,7 +31,7 @@ The following functions are provided:
- `can_invoke_bash() : bool` - `can_invoke_bash() : bool`
- `is_su() : bool` - `is_su() : bool`
- `usage(string $name, Cli\Input\InputCollection $collection) : string` - `usage(string $name, Cli\Input\InputCollection $collection) : string`
- `manpage(string $name, string $version, string $description, string $example, Cli\Input\InputCollection $collection): string` - `manpage(string $name, string $version, string $description, Input\InputCollection $collection, $foregroundColour=Colour\Colour::FG_DEFAULT, $headingColour=Colour\Colour::FG_WHITE, array $additional=[]): string`
- `get_window_size(): array` - `get_window_size(): array`
Example usage: Example usage:

View file

@ -1,6 +1,6 @@
{ {
"name": "pointybeard/helpers-functions-cli", "name": "pointybeard/helpers-functions-cli",
"version": "1.1.3", "version": "1.1.4",
"description": "A collection of functions relating to the command-line", "description": "A collection of functions relating to the command-line",
"homepage": "https://github.com/pointybeard/helpers-functions-cli", "homepage": "https://github.com/pointybeard/helpers-functions-cli",
"license": "MIT", "license": "MIT",