Args: Expose api-servers to subcommands

This is required for the export-openapi action.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
kingbri 2025-02-10 23:39:46 -05:00
parent 153dac496c
commit e290b88568
2 changed files with 4 additions and 1 deletions

View file

@ -101,6 +101,9 @@ def add_subcommands(parser: argparse.ArgumentParser):
"--export-path",
help="Path to export the generated OpenAPI JSON (default: openapi.json)",
)
openapi_export_parser.add_argument(
"--api-servers", nargs="+", help="Sets API servers to run when exporting"
)
# Calls config export action
config_export_parser = actions_subparsers.add_parser(