The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Kevin::Command::kevin - Alternative Minion command

VERSION

version 0.4.0

SYNOPSIS

  Usage: APPLICATION kevin COMMAND [OPTIONS]

DESCRIPTION

Kevin::Command::kevin lists available alternative Minion commands.

ATTRIBUTES

Kevin::Command::kevin inherits all attributes from Mojolicious::Commands and implements the following new ones.

description

  my $description = $command->description;
  $command        = $command->description('Foo');

Short description of this command, used for the command list.

hint

  my $hint = $command->hint;
  $command = $command->hint('Foo');

Short hint shown after listing available Minion commands.

message

  my $msg  = $command->message;
  $command = $command->message('Bar');

Short usage message shown before listing available Minion commands.

namespaces

  my $namespaces = $command->namespaces;
  $command       = $command->namespaces(['MyApp::Command::kevin']);

Namespaces to search for available alternative Minion commands, defaults to Kevin::Command::kevin.

METHODS

Kevin::Command::kevin inherits all methods from Mojolicious::Commands and implements the following new ones.

help

  $command->help('app');

Print usage information for alternative Minion command.

SEE ALSO

Minion, Mojolicious::Guides, http://mojolicious.org.

AUTHOR

Adriano Ferreira <ferreira@cpan.org>

CONTRIBUTOR

Adriano Ferreira <a.r.ferreira@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Adriano Ferreira.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.