Skip to content

Commit c05dbfc

Browse files
authored
Upgrade jbzoo/cli:^7.1.1 (#26)
1 parent e32509d commit c05dbfc

File tree

5 files changed

+508
-339
lines changed

5 files changed

+508
-339
lines changed

README.md

+47-24
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@
44
[![Stable Version](https://poser.pugx.org/jbzoo/composer-diff/version)](https://packagist.org/packages/jbzoo/composer-diff/) [![Total Downloads](https://poser.pugx.org/jbzoo/composer-diff/downloads)](https://packagist.org/packages/jbzoo/composer-diff/stats) [![Dependents](https://poser.pugx.org/jbzoo/composer-diff/dependents)](https://packagist.org/packages/jbzoo/composer-diff/dependents?order_by=downloads) [![GitHub License](https://img.shields.io/github/license/jbzoo/composer-diff)](https://github.com/JBZoo/Composer-Diff/blob/master/LICENSE)
55

66

7+
<!--ts-->
8+
* [Why?](#why)
9+
* [Installation](#installation)
10+
* [Usage](#usage)
11+
* [Help Description](#help-description)
12+
* [Output Examples](#output-examples)
13+
* [Default view (--output=console)](#default-view---outputconsole)
14+
* [Markdown Output (--output=markdown)](#markdown-output---outputmarkdown)
15+
* [JSON Output (--output=json)](#json-output---outputjson)
16+
* [Roadmap](#roadmap)
17+
* [Unit tests and check code style](#unit-tests-and-check-code-style)
18+
* [License](#license)
19+
* [See Also](#see-also)
20+
<!--te-->
21+
22+
23+
## Why?
724

825
See what packages have been changed after you run `composer update` by comparing `composer.lock` to the `git show HEAD:composer.lock`.
926

@@ -45,30 +62,36 @@ Usage:
4562
diff [options]
4663
4764
Options:
48-
--source=SOURCE The file, git ref, or git ref with filename to compare FROM [default: "HEAD:composer.lock"]
49-
--target=TARGET The file, git ref, or git ref with filename to compare TO [default: "./composer.lock"]
50-
--env=ENV Show only selected environment. Available options: both, require, require-dev [default: "both"]
51-
--output=OUTPUT Output format. Available options: console, markdown, json [default: "console"]
52-
--no-links Hide all links in tables
53-
--strict Return exit code if you have any difference
54-
--no-progress Disable progress bar animation for logs
55-
--mute-errors Mute any sort of errors. So exit code will be always "0" (if it's possible).
56-
It has major priority then --non-zero-on-error. It's on your own risk!
57-
--stdout-only For any errors messages application will use StdOut instead of StdErr. It's on your own risk!
58-
--non-zero-on-error None-zero exit code on any StdErr message
59-
--timestamp Show timestamp at the beginning of each message
60-
--profile Display timing and memory usage information
61-
--cron Shortcut for crontab. It's basically focused on logs output. It's combination of --timestamp --profile --stdout-only --no-progress -vv
62-
-h, --help Display help for the given command. When no command is given display help for the diff command
63-
-q, --quiet Do not output any message
64-
-V, --version Display this application version
65-
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
66-
-n, --no-interaction Do not ask any interactive question
67-
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
65+
--source=SOURCE The file, git ref, or git ref with filename to compare FROM [default: "HEAD:composer.lock"]
66+
--target=TARGET The file, git ref, or git ref with filename to compare TO [default: "./composer.lock"]
67+
--env=ENV Show only selected environment. Available options: both, require, require-dev [default: "both"]
68+
--output=OUTPUT Output format. Available options: console, markdown, json [default: "console"]
69+
--no-links Hide all links in tables
70+
--strict Return exit code if you have any difference
71+
--no-progress Disable progress bar animation for logs. It will be used only for text output format.
72+
--mute-errors Mute any sort of errors. So exit code will be always "0" (if it's possible).
73+
It has major priority then --non-zero-on-error. It's on your own risk!
74+
--stdout-only For any errors messages application will use StdOut instead of StdErr. It's on your own risk!
75+
--non-zero-on-error None-zero exit code on any StdErr message.
76+
--timestamp Show timestamp at the beginning of each message.It will be used only for text output format.
77+
--profile Display timing and memory usage information.
78+
--output-mode=OUTPUT-MODE Output format. Available options:
79+
text - Default text output format, userfriendly and easy to read.
80+
cron - Shortcut for crontab. It's basically focused on human-readable logs output.
81+
It's combination of --timestamp --profile --stdout-only --no-progress -vv.
82+
logstash - Logstash output format, for integration with ELK stack.
83+
[default: "text"]
84+
--cron Alias for --output-mode=cron. Deprecated!
85+
-h, --help Display help for the given command. When no command is given display help for the diff command
86+
-q, --quiet Do not output any message
87+
-V, --version Display this application version
88+
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
89+
-n, --no-interaction Do not ask any interactive question
90+
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
6891
```
6992

7093

71-
# Output Examples
94+
## Output Examples
7295

7396
### Default view (--output=console)
7497

@@ -199,10 +222,8 @@ make build
199222
make test-all
200223
```
201224

202-
### PS
203-
Special thanks to the project [davidrjonas/composer-lock-diff](https://github.com/davidrjonas/composer-lock-diff) which inspired me to make a great utility :)
204225

205-
### License
226+
## License
206227

207228
MIT
208229

@@ -217,3 +238,5 @@ MIT
217238
- [Data](https://github.com/JBZoo/Data) - Extended implementation of ArrayObject. Use files as config/array.
218239
- [Retry](https://github.com/JBZoo/Retry) - Tiny PHP library providing retry/backoff functionality with multiple backoff strategies and jitter support.
219240
- [SimpleTypes](https://github.com/JBZoo/SimpleTypes) - Converting any values and measures - money, weight, exchange rates, length, ...
241+
242+
Special thanks to the project [davidrjonas/composer-lock-diff](https://github.com/davidrjonas/composer-lock-diff) which inspired me to make a great utility :)

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
"jbzoo/data" : "^7.0",
3636
"jbzoo/markdown" : "^7.0",
37-
"jbzoo/cli" : "^7.0",
37+
"jbzoo/cli" : "^7.1.1",
3838

3939
"symfony/console" : ">=5.4",
4040
"symfony/process" : ">=5.4",

0 commit comments

Comments
 (0)