Skip to main content

commands.position

commands.position(place)

Decorator that gives a register function its place in the order of --help.

Examples

from babregen.commands import position

@position(3)
def register(sub): ...

print(register.position)
3