chore: use camelcase name in gui

This commit is contained in:
Benjamin Labrecque
2026-07-28 09:45:48 +02:00
parent 0bf7f179de
commit e42f162c26
25 changed files with 82 additions and 80 deletions
+4 -8
View File
@@ -20,7 +20,10 @@ REPO_ROOT = get_git_root(__file__)
)
def add(
name: str = typer.Option(
..., "--name", "-n", help="Must only contain lowercase characters and dashes"
...,
"--name",
"-n",
help="Camelcase name of the service. The name will be used as is in the gui, and converted to uppercase/lowercase where necessary",
),
ioc_owner: str = typer.Option(
...,
@@ -35,12 +38,6 @@ def add(
"-d",
help="See <repo-root>/docs/user/ioc/iocs_overview.md for examples",
),
ui_name: str = typer.Option(
...,
"--ui-name",
help="This is the name that will be used for the service in the UI. "
"See <repo-root>/qt/A_BD_ServiceManager.ui for examples",
),
ui_filename: str = typer.Option(
...,
"--ui-filename",
@@ -55,7 +52,6 @@ def add(
name=name,
ioc_owner=ioc_owner,
ioc_description=ioc_description,
ui_name=ui_name,
ui_filename=ui_filename,
)