From 0481f9438dc87bede61c096f8a2042555f305d52 Mon Sep 17 00:00:00 2001 From: targhs <34231252+targhs@users.noreply.github.com> Date: Sat, 11 Jun 2022 03:01:53 +0530 Subject: [PATCH] Document replace of underscores with dashes in command names --- docs/tutorial/commands/name.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/tutorial/commands/name.md b/docs/tutorial/commands/name.md index 458f54101..7d3ddc1a5 100644 --- a/docs/tutorial/commands/name.md +++ b/docs/tutorial/commands/name.md @@ -44,3 +44,13 @@ Creating user: Camila ``` + +Note that any underscores in the function name will be replaced with dashes. + +So if your function is something like: + +```Python +def create_user(username: str): + ... +``` +Then the command name will be `create-user`.