Create a Command Group
Command groups allow you to organize related commands under a common namespace.
- 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
You can directly invoke a group decorator on a command decorator:
import angreal
@angreal.group(name="test_", about="commands for testing")
@angreal.command(name="command", about="a test command")
def command_function():
pass