---
name: "Command::Tree"
section: "3pm"
platform: "linux"
package: "libur-perl"
version: "0.470+ds-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Command::Tree"
---

# 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
