SilverWolf has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I recently stumbled upong AXP (Arch eXtension Platform) and looking at the source code for its AXP::Command module I noticed it basically is a base class for subcommands of the command-line 'axp' command: one can write an AXP::Command::Foo module and the 'axp foo' subcommand will be available, with command line options handled by Getopt::Long.

AXP::Command could easily be used as a general base class for a command/subcommand framework: but before trying to use it as a base for my next project I wished to ask if anybody knows any other alternatives (i.e. CPAN modules offering similar functionality).

TIA for any hints&pointers!

  • Comment on Suggestion on a framework module for writing command extensions

Replies are listed 'Best First'.
Re: Suggestion on a framework module for writing command extensions
by Zaxo (Archbishop) on Nov 25, 2004 at 22:04 UTC

    Term::ShellKit is new to me, but it looks pretty interesting. It includes a development shell, a pod-reading help command, and permits use of ordinary perl expressions.

    After Compline,
    Zaxo