| 69 | proc.wait() |
| 70 | |
| 71 | def subparser_init(self, subparsers: argparse._SubParsersAction) -> FlexibleArgumentParser: |
| 72 | serve_parser = subparsers.add_parser( |
| 73 | name=self.name, |
| 74 | help="Start the FastDeploy OpenAI Compatible API server.", |
| 75 | description="Start the FastDeploy OpenAI Compatible API server.", |
| 76 | usage="fastdeploy serve [options]", |
| 77 | ) |
| 78 | serve_parser = make_arg_parser(serve_parser) |
| 79 | serve_parser.add_argument("--config", help="Read CLI options from a config file. Must be a YAML file") |
| 80 | return serve_parser |
| 81 | |
| 82 | |
| 83 | def cmd_init() -> list[CLISubcommand]: |