The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Kevin::Command::kevin - Alternative Minion command

VERSION

version 0.2.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 = $cmd->description;
  $cmd            = $cmd->description('Foo');

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

hint

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

Short hint shown after listing available Minion commands.

message

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

Short usage message shown before listing available Minion commands.

namespaces

  my $namespaces = $cmd->namespaces;
  $cmd           = $cmd->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

  $minion->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.