mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-15 00:07:28 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user