NAME

App::BashComplete - command line interface to Bash::Complete

VERSION

version 0.008

ATTRIBUTES

opts

Returns an HashRef with all the command line options used.

cmd_line

Returns a ArrayRef with the parts of the command line that could not be parsed as options.

METHODS

new

Creates a new empty instance.

run

Processes options, using both command line and arguments to run(), and executes the proper action.

complete

setup

Collects all plugins, decides which ones should be activated, and generates the bash complete command lines for each one.

This allows you to setup your bash completion with only this:

    # Stick this into your .bashrc
    eval $( bash-complete setup )

The system will adjust to new plugins that you install via CPAN.

AUTHOR

Pedro Melo <melo@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Pedro Melo.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)