Create a Command Group¶
Command groups allow you to organize related commands under a common namespace.
Preferred Method¶
- Create a command group.
- Apply the resulting decorator to a command decorator.
import angreal
test = angreal.group(name="test")
@test
@angreal.command(name="command", about="a test command")
def command_function():
pass
Alternative Method¶
You can directly invoke a group decorator on a command decorator: