Changes for version 0.057001 - 2022-04-20
- Acknowledgements to djerius for various fixes, enhancements, and suggestions (see git log for full details).
- Enhancements
- Term::CLI::Argument::Enum [djerius]
- Minor optimizations to Term::CLI::Argument::Enum cache.
- Term::CLI, Term::CLI::Command::Help
- Move pager logic from `Help` command to `CLI` object (add `write_pager` method).
- CLI::Base
- Move `parent` and `root_node` to CLI::Base.
- Term::CLI::Argument::Enum [djerius]
- Bug fixes
- Term::CLI::ReadLine
- Fix signal restoration (`local(%SIG) = %SIG` does not work).
- Term::CLI::Command::Help
- Fix missing ')' in help text.
- Term::CLI::ReadLine
- Documentation fixes
- Change references in documentation from M6::CLI to Term::CLI [djerius]
- Miscellaneous POD fixes.
- Miscellaneous
- Lower dependencies for Test::MockModule and Capture::Tiny.
- Lower dependency on Term::ReadKey for older system Perls.
Documentation
introduction to Term::CLI class/module 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
Term::ReadLine compatibility layer for Term::CLI
Manage command arguments in Term::CLI
Role for (sub-)commands in Term::CLI
Role for generating help text in Term::CLI
Keep a "state" hash in Term::CLI objects
utility functions for Term::CLI(3p)
Examples
- examples/big_enum.pl
- examples/cli_context.pl
- examples/context_sensitive_completion/README.md
- examples/context_sensitive_completion/cli_demo.pl
- examples/context_sensitive_completion/data/README.md
- examples/context_sensitive_completion/data/continents.json
- examples/context_sensitive_completion/data/countries.json
- examples/context_sensitive_completion/data/data.json
- examples/context_sensitive_completion/data/munge_country_data.pl
- examples/dynamic_commands.pl
- examples/getopt_test.pl
- examples/readline_cli.pl
- examples/readline_completion_demo.pl
- examples/simple_cli.pl
- examples/state_demo.pl
- examples/term_cli.pl
- examples/term_cli_demo.pl
- examples/wordlist-en.txt
Other files
- CONTRIBUTING.md
- Changes
- INSTALL
- LICENSE
- MANIFEST
- META.json
- META.yml
- Makefile.PL
- README.md
- 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_set_command.pl
- tutorial/example_14_sub_cmd_and_args.pl
- tutorial/example_15_debug_command.pl
- tutorial/example_16_options.pl
- tutorial/example_17_suspend.pl
- tutorial/example_18_dynamic_enum.pl