| 1 |
package App::Yath::Command::fake; |
| 2 |
use strict; |
| 3 |
use warnings; |
| 4 |
|
| 5 |
use parent 'App::Yath::Command'; |
| 6 |
|
| 7 |
use App::Yath::Options; |
| 8 |
|
| 9 |
option_group {prefix => 'fake'}, sub { |
| 10 |
option($_, short => $_) for qw/x y z/; |
| 11 |
|
| 12 |
post sub { print "\n\nAAAA\n\n"; $main::POST_HOOK++ }; |
| 13 |
}; |
| 14 |
|
| 15 |
1; |