| 1 | package Mercury::Command::mercury; | ||
| 2 | 1 | our $VERSION = '0.016'; | |
| 3 | # ABSTRACT: Mercury command for Mojolicious | ||
| 4 | |||
| 5 | 1 | ▶ | use Mojo::Base 'Mojolicious::Commands'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | has description => 'Mercury message broker'; | |
| 8 | 1 | has hint => <<EOF; | |
| 9 | |||
| 10 | See 'APPLICATION mercury help COMMAND' for more information on a specific | ||
| 11 | command. | ||
| 12 | EOF | ||
| 13 | |||
| 14 | 0 | ▶ | has message => sub { shift->extract_usage . "\nCommands:\n" }; |
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||
| 15 | 0 | ▶ | has namespaces => sub { ['Mercury::Command::mercury'] }; |
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||
| 16 | |||
| 17 | 0 | ▶ | sub help { shift->run(@_) } |
|
Subroutine
help: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 18 | |||
| 19 | 1 | 1; | |
| 20 | |||
| 21 | __END__ | ||