diff options
-rw-r--r-- | src/_g-cpan | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/_g-cpan b/src/_g-cpan new file mode 100644 index 0000000..5cee5b5 --- /dev/null +++ b/src/_g-cpan @@ -0,0 +1,25 @@ +#compdef g-cpan +# g-cpan-0.16.6 + +local arguments + +arguments=( + '(- :)'{--help,-h}'[Show help]' + {'(--generate)-g','(-g)--generate'}'[Generate ebuilds only (Requires working overlays)]' + {'(--install)-i','(-i)--install'}'[Try to generate ebuild for the given module name and, if successful, emerge it. Important : installation requires exact CPAN Module Name.]' + {'(--list)-l','(-l)--list'}'[This command generates a list of the Perl modules and ebuilds handled by g-cpan.]' + {'(--log)-L','(-L)--log'}'[Log the output of g-cpan]' + {'(--search)-s','(-s)--search'}'[Search CPAN for the given expression (similar to the "m /EXPR/" from the CPAN Shell). Searches are case insensitive.]' + {'(--upgrade)-u','(-u)--upgrade'}'[Try to list and upgrade all Perl modules managed by g-cpan. It generate up-to-date ebuilds, then emerge then.]' + {'(--verbose)-v','(-v)--verbose'}'[Enable (some) verbose output.]' + "--cpan_reload[Reload the CPAN index]" + {'(--ask)-a','(-a)--ask'}'[Ask before installing]' + {'(--buildpkg)-b','(-b)--buildpkg'}'[Tells emerge to build binary packages for all ebuilds processed in addition to actually merging the packages.]' + {'(--buildpkgonly)-B','(-B)--buildpkgonly'}'[Creates binary packages for all ebuilds processed without actually mering the packages.]' + {'(--pretend)-p','(-p)--pretend'}"[Pretend (show actions, but don't emerge). This still generates new ebuilds.]" + '*:modules:' +) + +_arguments $arguments + +# vim: set et sw=2 ts=2 ft=zsh: |