diff --git a/CHANGELOG.md b/CHANGELOG.md index 6655c1c..145cbda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ This project adheres to [Semantic Versioning](http://semver.org/). **View all [Unreleased][] changes here** +## [1.1.7][] +#### Added +- Added `pointybeard/helpers-functions-debug` package + +#### Changed +- Using `readable_debug_backtrace()` (provided by `pointybeard/helpers-functions-debug`) in `display_error_and_exit()` to produce a trace if one is provided + ## [1.1.6][] #### Added - Added `display_error_and_exit` function diff --git a/README.md b/README.md index 357e10a..ae774ec 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # PHP Helpers: Command-line Functions -- Version: v1.1.6 -- Date: May 25 2019 +- Version: v1.1.7 +- Date: May 26 2019 - [Release notes](https://github.com/pointybeard/helpers-functions-cli/blob/master/CHANGELOG.md) - [GitHub repository](https://github.com/pointybeard/helpers-functions-cli) @@ -28,12 +28,12 @@ This library is a collection convenience function for command-line tasks. They a 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, Input\InputCollection $collection, $foregroundColour=Colour\Colour::FG_DEFAULT, $headingColour=Colour\Colour::FG_WHITE, array $additional=[]): string` -- `get_window_size(): array` -- `display_error_and_exit($message, $heading = 'Error', $background = Colour\Colour::BG_RED): void` +- `can_invoke_bash()` +- `is_su()` +- `usage()` +- `manpage()` +- `get_window_size()` +- `display_error_and_exit()` Example usage: diff --git a/composer.json b/composer.json index 3ea5188..f9951c2 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "pointybeard/helpers-functions-cli", - "version": "1.1.6", + "version": "1.1.7", "description": "A collection of functions relating to the command-line", "homepage": "https://github.com/pointybeard/helpers-functions-cli", "license": "MIT",