This repository has been archived by the owner on Dec 26, 2022. It is now read-only.
Argument descriptions
Pre-release
Pre-release
This version implement the support for argument descriptions.
Examples
before
0.7.1
still suppported
@command(description="Add two numbers!")
async def add(
first: int,
second: int
):
return f"The addition of `{first}` and `{second}` is `{first + second}`"
argument descriptions
@command(description="Add two numbers!")
async def add(
first: (int, "The first number"),
second: (int, "The second number")
):
return f"The addition of `{first}` and `{second}` is `{first + second}`"