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**
|
||||
|
||||
## [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
|
||||
|
|
|
|||
16
README.md
16
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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue