The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.
  • Bug fixes
    • Term::CLI::ReadLine
      • Fix signal restoration (`local(%SIG) = %SIG` does not work).
    • Term::CLI::Command::Help
      • Fix missing ')' in help text.
  • 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)