split list machines into show machine command

This commit is contained in:
Jörg Thalheim
2024-05-31 11:50:12 +02:00
parent c496cf578c
commit 84f75de34c
7 changed files with 90 additions and 37 deletions

View File

@@ -176,7 +176,7 @@ def register_machines_parser(parser: argparse.ArgumentParser) -> None:
"remove-secret", help="remove a group's access to a secret"
)
remove_secret_parser.add_argument(
"machine", help="the name of the group", type=machine_name_type
"machine", help="the name of the machine", type=machine_name_type
)
remove_secret_parser.add_argument(
"secret", help="the name of the secret", type=secret_name_type