DOKK / manpages / debian 12 / 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

2022-10-16 perl v5.34.0