Changes for version 0.061000 - 2025-05-16

  • Fix escape sequences during completion (fixes #29) Unquoted, double quoted, and single quoted partial input needs to have spaces and quotes handled correctly.
    • Basically, a "\" in unquoted and double quoted words will always escape the next character; in a single quoted word it has no effect (meaning it is a literal "\").
    • When adding escape sequences, an unquoted word should have all "\", double/single quote, and whitespace escaped; for double quoted words, it's the same, except that whitespace and single quotes do not need to be escaped; for single quoted strings, no escaping is done.
  • Prevent very long usage lines with sub-commands. Replace a long list of sub-commands with I<sub-command>.
  • Fix missing ')' in translation of help text.
  • Fixes to _check_arguments (Term::CLI::Command) Remove trailing space from error message and change quoting to use double quotes inside the message.
  • Fix debian/fedora package number.

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
class for tree arguments in Term::CLI
class for Type::Tiny validated 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)