We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef29727 commit 86ecf30Copy full SHA for 86ecf30
README.md
@@ -172,14 +172,13 @@ class InitCommand extends Ahc\Cli\Input\Command
172
173
$help = '<cyan>Custom help screen</end>';
174
$writer = new Ahc\Cli\Output\Writer();
175
- $rendered_help = $writer->colorizer()->colors($help);
176
177
$this
178
->argument('<arrg>', 'The Arrg')
179
->argument('[arg2]', 'The Arg2')
180
->option('-a --apple', 'The Apple')
181
->option('-b --ball', 'The ball')
182
- ->help($rendered_help)
+ ->help($writer->colorizer()->colors($help))
183
// Usage examples:
184
->usage(
185
// append details or explanation of given example with ` ## ` so they will be uniformly aligned when shown
0 commit comments