Files
summercms/modules/bonfire/testdata/help_passthrough.golden
Jakub Zych 7b58ad5fa5 test(bonfire): goldens for list, help and errors
- list, list --all, list --format=json and an --ansi styled list (D-13, D-16)
- admin:token:create help and a passthrough help; help <cmd> equals --help (D-14)
- error blocks: hint with {bin}, unknown command, -v chain on stderr (D-18)
- CheckDocs gaps in order and sorted; the version header and BuildVersion
- goldens render with color detection cleared; -update rewrites them
2026-10-21 19:22:00 +02:00

24 lines
662 B
Plaintext

Description:
Run the bundled tool with its own arguments
Usage:
tool:exec [args] [options] [--] <args...>
Arguments:
args The tool's arguments
Global options:
-h, --help Display help for the given command
-q, --quiet Do not output any message
-v|vv|vvv Increase verbosity
--ansi|no-ansi Force (or disable) ANSI output
-n, --no-interaction Do not ask any interactive question
--env The environment the command runs under
Help:
Everything after the command name reaches the tool unchanged, global flags included.
Examples:
# The tool's own version
bin/acme tool:exec --version