Bash completion for cpanm and cpanf
Perl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Bash/Completion/Plugins
Changes
README.pod
dist.ini

README.pod

SYNOPSIS

$ cpanm MooseX::      
Display all 121 possibilities? (y or n)
ABC                     Declare                 Object::
APIRole                 DeepAccessors           OneArgNew
AbstractFactory         Documenter              POE
Accessors::             Emulate::               Param
Aliases                 Error::                 Params::
Alien                   FSM                     Plaggerize
AlwaysCoerce            FileAttribute           Policy::
App::                   File_or_DB::            Privacy
Async                   FollowPBP               PrivateSetters
Atom                    Getopt                  Q4MLog
Attribute::             Getopt::                RelatedClassRoles
AttributeCloner         GlobRef                 Role::
AttributeDefaults       Has::                   Runnable
AttributeHelpers        HasDefaults             Runnable::
AttributeIndexes        IOC                     Scaffold
AttributeInflate        InsideOut               SemiAffordanceAccessor
...

DESCRIPTION

Bash::Completion profile for cpanm, cpanf and cpan.

Simply add this line to your .bashrc or .bash_profile file:

source setup-bash-complete

or run it manually in a bash session.

METHODS

complete

Queries http://api.metacpan.org for distributions that match the given name. Limits the number of results to 1000. Some namespaces might not appear if there are more than 1000 results for a given query.