table of contents
Command::Tree(3pm) | User Contributed Perl Documentation | Command::Tree(3pm) |
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
2024-06-15 | perl v5.38.2 |