Changes for version 0.04005 - 2018-03-12
- Bug Fixes
- Separate STDOUT/pager output for help a bit more. Also, set "status" to $? regardless of close() result. Some tests for status still fail, and I'm suspecting a race condition, making close() return "true". If this fails as well, then I'll just skip the test. :-(
- Files modified: lib/Term/CLI/Command/Help.pm
- Separate STDOUT/pager output for help a bit more. Also, set "status" to $? regardless of close() result. Some tests for status still fail, and I'm suspecting a race condition, making close() return "true". If this fails as well, then I'll just skip the test. :-(
- Other Changes
- Require specific versions of modules. Minimal versions come from Debian jessie (8) install. Wheezy has a version of "Moo" that is too old.
- Files modified: (almost all)
- Use MetaProvides::Package in dist.ini
- Files modified: dist.ini
- Clean up MANIFEST and gitignore
- Files modified: MANIFEST.SKIP, MANIFEST, .gitignore
- Add script to extract RPM provides from PM files.
- Files added: scratch/get_rpm_provides.pl
- Fix dependencies and provides.
- Files modified: pkg/fedora/perl-Term-CLI.spec
- Require specific versions of modules. Minimal versions come from Debian jessie (8) install. Wheezy has a version of "Moo" that is too old.
Documentation
introduction to Term::CLI class structure
tips, tricks, and examples for Term::CLI
Modules
CLI interpreter based on Term::ReadLine
generic parent class for arguments in Term::CLI
class for "boolean" arguments in Term::CLI
class for "enum" string arguments in Term::CLI
class for file name arguments in Term::CLI
base class for numerical arguments in Term::CLI
class for floating point arguments in Term::CLI
class for integer arguments in Term::CLI
class for basic string arguments in Term::CLI
generic base class for Term::CLI classes
Class for (sub-)commands in Term::CLI
A generic 'help' command for Term::CLI
generic parent class for elements in Term::CLI
localizations for Term::CLI
English localizations for Term::CLI
Dutch localizations for Term::CLI
maintain a single Term::ReadLine object
Role for (sub-)commands in Term::CLI
Role for (sub-)commands in Term::CLI
Role for generating help text in Term::CLI
Examples
Other files
- Changes
- INSTALL
- LICENSE
- MANIFEST
- META.json
- META.yml
- Makefile.PL
- README
- cpanfile
- tutorial/example_01_basic_repl.pl
- tutorial/example_02_ignore_blank.pl
- tutorial/example_03_setting_prompt.pl
- tutorial/example_04_exit_command.pl
- tutorial/example_05_add_help.pl
- tutorial/example_06_add_help_text.pl
- tutorial/example_07_echo_command.pl
- tutorial/example_08_make_command.pl
- tutorial/example_09_ls_command.pl
- tutorial/example_10_cp_command.pl
- tutorial/example_11_sleep_command.pl
- tutorial/example_12_show_command.pl
- tutorial/example_13_sub_cmd_and_args.pl
- tutorial/example_14_debug_command.pl
- tutorial/example_15_options.pl