mirror of
https://github.com/n3w/helpers-functions-cli.git
synced 2025-12-19 12:43:22 +00:00
Upated README, CHANGELOG, and composer.json for 1.1.7 release
This commit is contained in:
parent
558ea1ba2c
commit
2274998ed6
3 changed files with 16 additions and 9 deletions
|
|
@ -5,6 +5,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
**View all [Unreleased][] changes here**
|
**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][]
|
## [1.1.6][]
|
||||||
#### Added
|
#### Added
|
||||||
- Added `display_error_and_exit` function
|
- Added `display_error_and_exit` function
|
||||||
|
|
|
||||||
16
README.md
16
README.md
|
|
@ -1,7 +1,7 @@
|
||||||
# PHP Helpers: Command-line Functions
|
# PHP Helpers: Command-line Functions
|
||||||
|
|
||||||
- Version: v1.1.6
|
- Version: v1.1.7
|
||||||
- Date: May 25 2019
|
- Date: May 26 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)
|
||||||
|
|
||||||
|
|
@ -28,12 +28,12 @@ This library is a collection convenience function for command-line tasks. They a
|
||||||
|
|
||||||
The following functions are provided:
|
The following functions are provided:
|
||||||
|
|
||||||
- `can_invoke_bash() : bool`
|
- `can_invoke_bash()`
|
||||||
- `is_su() : bool`
|
- `is_su()`
|
||||||
- `usage(string $name, Cli\Input\InputCollection $collection) : string`
|
- `usage()`
|
||||||
- `manpage(string $name, string $version, string $description, Input\InputCollection $collection, $foregroundColour=Colour\Colour::FG_DEFAULT, $headingColour=Colour\Colour::FG_WHITE, array $additional=[]): string`
|
- `manpage()`
|
||||||
- `get_window_size(): array`
|
- `get_window_size()`
|
||||||
- `display_error_and_exit($message, $heading = 'Error', $background = Colour\Colour::BG_RED): void`
|
- `display_error_and_exit()`
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "pointybeard/helpers-functions-cli",
|
"name": "pointybeard/helpers-functions-cli",
|
||||||
"version": "1.1.6",
|
"version": "1.1.7",
|
||||||
"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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue