description=> "Turn color on, default is true if STDOUT is a TTY.",
default=> sub{ -t STDOUT ? 1 : 0 },
);
option quiet=> (
short=> 'q',
type=> 'c',
description=> "Be very quiet.",
default=> 0,
);
option verbose=> (
short=> 'v',
type=> 'c',
description=> "Be more verbose",
default=> 0,
);
option no_wrap=> (
type=> 'b',
description=> "Do not do fancy text-wrapping, let the terminal handle it",
default=> 0,
);
option show_times=> (
short=> 'T',
description=> 'Show the timing data for each job',
);
option term_width=> (
type=> 's',
alt=> ['term-size'],
description=> 'Alternative to setting $TABLE_TERM_SIZE. Setting this will override the terminal width detection to the number of characters specified.',
description=> "Toggle progress indicators. On by default if STDOUT is a TTY. You can use --no-progress to disable the 'events seen' counter and buffered event pre-display",
);
option renderers=> (
alt=> ['renderer'],
type=> 'H',
description=> 'Specify renderers, (Default: "Formatter=Test2"). Use "+" to give a fully qualified module name. Without "+" "Test2::Harness::Renderer::" will be prepended to your argument.',
description=> '[Q]uiet, but [V]erbose on [F]ailure. Hide all output from tests when they pass, except to say they passed. If a test fails then ALL output from the test is verbosely output.',
);
option show_job_end=> (
description=> 'Show output when a job ends. (Default: on)',
default=> 1,
);
option show_job_info=> (
description=> 'Show the job configuration when a job starts. (Default: off, unless -vv)',
default=> 0,
);
option show_job_launch=> (
description=> "Show output for the start of a job. (Default: off unless -v)",
default=> 0,
);
option show_run_info=> (
description=> 'Show the run configuration when a run starts. (Default: off, unless -vv)',
App::Yath::Options::Display - Display options for Yath.
=head1 DESCRIPTION
This is where display options are defined.
=head1 PROVIDED OPTIONS
=head2 COMMAND OPTIONS
=head3 Display Options
=over 4
=item --color
=item --no-color
Turn color on, default is true if STDOUT is a TTY.
=item --no-wrap
=item --no-no-wrap
Do not do fancy text-wrapping, let the terminal handle it
=item --progress
=item --no-progress
Toggle progress indicators. On by default if STDOUT is a TTY. You can use --no-progress to disable the 'events seen' counter and buffered event pre-display
=item --quiet
=item -q
=item --no-quiet
Be very quiet.
Can be specified multiple times
=item --renderers +My::Renderer
=item --renderers Renderer=arg1,arg2,...
=item --renderer +My::Renderer
=item --renderer Renderer=arg1,arg2,...
=item --no-renderers
Specify renderers, (Default: "Formatter=Test2"). Use "+" to give a fully qualified module name. Without "+" "Test2::Harness::Renderer::" will be prepended to your argument.
Can be specified multiple times. If the same key is listed multiple times the value lists will be appended together.
=item --show-times
=item -T
=item --no-show-times
Show the timing data for each job
=item --term-width 80
=item --term-width 200
=item --term-size 80
=item --term-size 200
=item --no-term-width
Alternative to setting $TABLE_TERM_SIZE. Setting this will override the terminal width detection to the number of characters specified.
=item --verbose
=item -v
=item --no-verbose
Be more verbose
Can be specified multiple times
=back
=head3 Formatter Options
=over 4
=item --formatter ARG
=item --formatter=ARG
=item --no-formatter
NO DESCRIPTION - FIX ME
=item --qvf
=item --no-qvf
[Q]uiet, but [V]erbose on [F]ailure. Hide all output from tests when they pass, except to say they passed. If a test fails then ALL output from the test is verbosely output.
=item --show-job-end
=item --no-show-job-end
Show output when a job ends. (Default: on)
=item --show-job-info
=item --no-show-job-info
Show the job configuration when a job starts. (Default: off, unless -vv)
=item --show-job-launch
=item --no-show-job-launch
Show output for the start of a job. (Default: off unless -v)
=item --show-run-info
=item --no-show-run-info
Show the run configuration when a run starts. (Default: off, unless -vv)
=back
=head1 SOURCE
The source code repository for Test2-Harness can be found at