NAME

MooX::Cmd::Role::AbbrevCmds - Text::Abbrev support role for MooX::Cmd

VERSION

version 1.000

DESCRIPTION

When this role is applied, commands can be called by any unambiguous prefix. For example, if your app has commands frobnicate and format, typing frob will match frobnicate. Uses Text::Abbrev internally.

Compose into your top-level command class alongside MooX::Cmd:

package MyApp;
use Moo;
use MooX::Cmd with_abbrev_cmds => 1;

Or apply the role explicitly:

package MyApp;
use Moo;
with 'MooX::Cmd::Role';
with 'MooX::Cmd::Role::AbbrevCmds';

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-moox-cmd/issues.

IRC

Join #web-simple on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

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