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.04 - 2010-03-31

  • Fixed inconsistency in exception handling (http://cpanforum.com/posts/12419)
  • Fixed failing tests (some test scripts depended on DBI and DBD::SQLite, which are not (and should not be) dependencies of the distribution)
  • Added CLI::Framework package to satisfy CPAN's requirements for finding the ABSTRACT for a distribution
    • ***NOTE***: CLIF Application classes can now inherit from CLI::Framework instead of CLI::Framework::Application (both work equivalently)
  • documentation updates
    • link corrections, better explanation of some concepts
    • moved general framework documentation from CLI::Framework::Application POD to CLI::Framework POD
    • added class diagram
  • ATTENTION: one (minor) interface change:
  • in CLI::Framework::Exceptions, changed throw_app_args_exception() to throw_invalid_cmd_exception()

Documentation

"HOWTO" develop CLIF applications using best practices

Modules

Build standardized, flexible, testable command-line applications
CLIF Application superclass
CLIF Command superclass
CLIF built-in command to display the command aliases that are in effect for the running application and its commands
CLIF built-in command supporting interactive mode
CLIF built-in command to show the internal state of a running application
CLIF built-in command to print application or command-specific usage messages
CLIF built-in command to print a list of commands available to the running application
CLIF built-in command to show a command menu including the commands that are available to the running application
Represent "metacommands" (app-aware commands)
CLIF built-in command to display a tree representation of the commands that are currently registered with the running application
Exceptions used by CLIF

Provides

in lib/CLI/Framework/Application.pm