From 94801ba0e6a744873bab30f1a1da123cab01b004 Mon Sep 17 00:00:00 2001 From: Alannah Kearney Date: Fri, 24 May 2019 14:02:21 +1000 Subject: [PATCH] Updated composer.json, README, and CHANGELOG for 1.1.4 release --- CHANGELOG.md | 7 ++++++- README.md | 4 ++-- composer.json | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cdbbdb..65dd31b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/). **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][] #### Changed - 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 - 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.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 diff --git a/README.md b/README.md index b7338f2..4c17d04 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PHP Helpers: Command-line Functions -- Version: v1.1.3 +- Version: v1.1.4 - Date: May 24 2019 - [Release notes](https://github.com/pointybeard/helpers-functions-cli/blob/master/CHANGELOG.md) - [GitHub repository](https://github.com/pointybeard/helpers-functions-cli) @@ -31,7 +31,7 @@ The following functions are provided: - `can_invoke_bash() : bool` - `is_su() : bool` - `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` Example usage: diff --git a/composer.json b/composer.json index a1eb815..13571fb 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "pointybeard/helpers-functions-cli", - "version": "1.1.3", + "version": "1.1.4", "description": "A collection of functions relating to the command-line", "homepage": "https://github.com/pointybeard/helpers-functions-cli", "license": "MIT",