Getopt-Complete
Getopt-complete
https://metacpan.org/release/Getopt-Complete
programmable shell completion for Perl apps
Getopt::Complete makes it easy to add custom command-line completion to Perl applications. It also does additional validation of arguments, when the program is actually executed, based on completion lists.
Support is also present for apps which are an entry point for a hierarchy of sub-commands (in the style of cvs and git).
Getopt::Complete also wraps the standard options processing and exports it as a %ARGS hash at compile time, making using the arguments hassle-free.
The completion features currently work with the bash shell, which is the default on most Linux and Mac systems. Patches for other shells are welcome.
Download
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: Olivier Sallou <osallou@debian.org>
Verified on
23 February 2013
Notes
License: artistic or gpl-1+
Leaders and contributors
Resources and communication
Audience | Resource type | URI |
---|---|---|
Perl (Ref) | https://metacpan.org/release/Getopt-Complete | |
Debian (Ref) (R) | https://tracker.debian.org/pkg/libgetopt-complete-perl |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.