The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Command::Tree -base class for commands which delegate to a list of sub-commands

DESCRIPTION

# in Foo.pm class Foo { is => 'Command::Tree' };

# in Foo/Cmd1.pm class Foo::Cmd1 { is => 'Command' };

# in Foo/Cmd2.pm class Foo::Cmd2 { is => 'Command' };

# in the shell $ foo cmd1 cmd2 $ foo cmd1 $ foo cmd2