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.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
  • 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

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