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
This commit is contained in:
26
modules/bonfire/testdata/list_styled.golden
vendored
Normal file
26
modules/bonfire/testdata/list_styled.golden
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
[1mSummerCMS acme v1.4.0 (framework v0.3.2)[m
|
||||
|
||||
[1mUsage:[m
|
||||
bin/acme <command> [options] [arguments]
|
||||
|
||||
[1mOptions:[m
|
||||
[32m-h, --help[m Display help for the given command
|
||||
[32m-q, --quiet[m Do not output any message
|
||||
[32m-v|vv|vvv[m Increase verbosity
|
||||
[32m --ansi|no-ansi[m Force (or disable) ANSI output
|
||||
[32m-n, --no-interaction[m Do not ask any interactive question
|
||||
[32m --env[m The environment the command runs under
|
||||
|
||||
[1mAvailable commands:[m
|
||||
[32mhelp[m Display help for a command
|
||||
[32mlist[m List commands
|
||||
[32mmigrate[m Run the database migrations
|
||||
[32mserve[m Serve the application
|
||||
[1madmin[m
|
||||
[32madmin:create[m Create a backend administrator
|
||||
[32madmin:token:create[m Create a personal API token for a backend admin
|
||||
[1mmake[m
|
||||
[32mmake:command[m Create a new console command
|
||||
[32mmake:model[m Create a new model and migration
|
||||
[1mtool[m
|
||||
[32mtool:exec[m Run the bundled tool with its own arguments
|
||||
Reference in New Issue
Block a user