From 7c88b2d19198cc8beb6f2a85c379dee8a5fd0bb9 Mon Sep 17 00:00:00 2001 From: Taranjeet Singh <34231252+targhs@users.noreply.github.com> Date: Sat, 5 Nov 2022 20:09:04 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20note=20about=20how=20subco?= =?UTF-8?q?mmands=20with=20function=20names=20using=20underscores=20are=20?= =?UTF-8?q?converted=20to=20dashes=20(#403)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sebastián Ramírez --- 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`.