DOKK / manpages / debian 10 / libmoosex-app-perl / MooseX::App::Plugin::BashCompletion.3pm.en
MooseX::App::Plugin::BashCompletion(3pm) User Contributed Perl Documentation MooseX::App::Plugin::BashCompletion(3pm)

MooseX::App::Plugin::BashCompletion - Bash completion for your MooseX::App applications

In your base class:

 package MyApp;
 use MooseX::App qw(BashCompletion);

In your shell

 bash$ myapp bash_completion > myapp-complete.sh
 bash$ source myapp-complete.sh

This plugin generates a bash completion definition for your application.

MooseX::App::Cmd::Command::BashComplete

2017-10-02 perl v5.26.0