MooseX::App::Cmd::Command::BashComplete - Bash completion for your MooseX::App::Cmd programs.
Version 0.03
package MyApp::Command::BashComplete; use Moose; extends 'MooseX::App::Cmd::Command::BashComplete'; ... bash$ myapp bashcomplete > myapp-complete.sh bash$ source myapp-complete.sh
This package provides you with a way for getting bash auto completion for your MooseX::App::Cmd programs. What you have to do is to add a module under the same namespace as the other MooseX::App::Cmd::Command modules that extends MooseX::App::Cmd::Command::BashComplete (See the synopsis). Doing so will give you a command that outputs a shell script to STDOUT. This script can be saved and then sourced by bash (again, see the synopsis).
Kjell-Magne Øierud, <kjellm at acm.org>
<kjellm at acm.org>
Please report any bugs or feature requests to bug-moosex-app-cmd-command-bashcomplete at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-App-Cmd-Command-BashComplete. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-moosex-app-cmd-command-bashcomplete at rt.cpan.org
Copyright 2009 Kjell-Magne Øierud.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Øierud,'. Assuming UTF-8
To install MooseX::App::Cmd::Command::BashComplete, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::App::Cmd::Command::BashComplete
CPAN shell
perl -MCPAN -e shell install MooseX::App::Cmd::Command::BashComplete
For more information on module installation, please visit the detailed CPAN module installation guide.