Skip to content

Commit 557232f

Browse files
Add display_name param helper for deployment templates (#9862)
1 parent 032cfb4 commit 557232f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/machinelearningservices/azext_mlv2/manual/_params/_common_params.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ def add_description_param(c, help_message: str = "Description of the object."):
105105
)
106106

107107

108+
def add_display_name_param(c, help_message: str = "Display name of the object."):
109+
c.argument(
110+
"display_name",
111+
options_list=["--display-name"],
112+
help=help_message,
113+
)
114+
115+
108116
def add_include_archived_param(c, help_message: str):
109117
c.argument(
110118
"include_archived",

0 commit comments

Comments
 (0)