Bug fixes and documentation (#2694)

This commit is contained in:
Cheick Keita
2022-12-15 19:39:17 -08:00
committed by GitHub
parent ff923d28e7
commit 0fb8bc4a86
15 changed files with 147 additions and 23 deletions

View File

@ -861,10 +861,13 @@ def main() -> None:
"--registration_name", help="the name of the cli registration"
)
register_app_parser = subparsers.add_parser("register_app", parents=[parent_parser])
register_app_parser.add_argument("--app_id", help="the application id to register")
register_app_parser.add_argument(
"--app_id", help="the application id to register", required=True
)
register_app_parser.add_argument(
"--role",
help=f"the role of the application to register. Valid values: {', '.join([member.value for member in OnefuzzAppRole])}",
required=True,
)
args = parser.parse_args()