| 1 |
package App::Yath::Options::Persist; |
| 2 |
use strict; |
| 3 |
use warnings; |
| 4 |
|
| 5 |
our $VERSION = '1.000179'; |
| 6 |
|
| 7 |
use Test2::Util qw/IS_WIN32/; |
| 8 |
use Test2::Harness::Util qw/clean_path/; |
| 9 |
|
| 10 |
use App::Yath::Options; |
| 11 |
|
| 12 |
option_group {prefix => 'runner', category => "Runner Options"} => sub { |
| 13 |
option daemon => ( |
| 14 |
description => 'Start the runner as a daemon (Default: True)', |
| 15 |
default => 1, |
| 16 |
); |
| 17 |
}; |
| 18 |
|
| 19 |
1; |
| 20 |
|
| 21 |
__END__ |
| 22 |
|
| 23 |
|
| 24 |
=pod |
| 25 |
|
| 26 |
=encoding UTF-8 |
| 27 |
|
| 28 |
=head1 NAME |
| 29 |
|
| 30 |
App::Yath::Options::Persist - Persistent Runner options for Yath. |
| 31 |
|
| 32 |
=head1 DESCRIPTION |
| 33 |
|
| 34 |
This is where the command line options for the persistent runner are defined. |
| 35 |
|
| 36 |
=head1 PROVIDED OPTIONS |
| 37 |
|
| 38 |
=head2 COMMAND OPTIONS |
| 39 |
|
| 40 |
=head3 Runner Options |
| 41 |
|
| 42 |
=over 4 |
| 43 |
|
| 44 |
=item --daemon |
| 45 |
|
| 46 |
=item --no-daemon |
| 47 |
|
| 48 |
Start the runner as a daemon (Default: True) |
| 49 |
|
| 50 |
|
| 51 |
=back |
| 52 |
|
| 53 |
=head1 SOURCE |
| 54 |
|
| 55 |
The source code repository for Test2-Harness can be found at |
| 56 |
F<http://github.com/Test-More/Test2-Harness/>. |
| 57 |
|
| 58 |
=head1 MAINTAINERS |
| 59 |
|
| 60 |
=over 4 |
| 61 |
|
| 62 |
=item Chad Granum E<lt>[email protected]<gt> |
| 63 |
|
| 64 |
=back |
| 65 |
|
| 66 |
=head1 AUTHORS |
| 67 |
|
| 68 |
=over 4 |
| 69 |
|
| 70 |
=item Chad Granum E<lt>[email protected]<gt> |
| 71 |
|
| 72 |
=back |
| 73 |
|
| 74 |
=head1 COPYRIGHT |
| 75 |
|
| 76 |
Copyright 2020 Chad Granum E<lt>[email protected]<gt>. |
| 77 |
|
| 78 |
This program is free software; you can redistribute it and/or |
| 79 |
modify it under the same terms as Perl itself. |
| 80 |
|
| 81 |
See F<http://dev.perl.org/licenses/> |
| 82 |
|
| 83 |
=cut |