Add profile-type option alias to attach-profile and detach-profile commands 52/14752/3
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 20 Nov 2024 15:44:39 +0000 (16:44 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 25 Nov 2024 09:54:13 +0000 (10:54 +0100)
Change-Id: I024787283dfd49e30e2b9c65477d57f9fa6db65c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/cli_commands/profiles.py

index 93a41f3..cfc7faf 100755 (executable)
@@ -85,6 +85,7 @@ def patch_cluster_profile(ctx, profile, cluster, profile_type, patch_string):
 @click.argument("profile")
 @click.argument("cluster")
 @click.option(
+    "--profile-type",
     "--profile_type",
     type=click.Choice(
         [
@@ -116,6 +117,7 @@ def attach_profile(ctx, profile, cluster, profile_type):
 @click.argument("profile")
 @click.argument("cluster")
 @click.option(
+    "--profile-type",
     "--profile_type",
     type=click.Choice(
         [