api
API-only entrypoint for the Pipeworks Name Generator server.
This module reuses the shared CLI settings and runtime server, but forces API-only routing so UI/static endpoints are not served.
Functions
Create CLI argument parser for the API-only server. |
|
|
Parse CLI arguments for the API-only server. |
|
Build server settings and force API-only routing. |
|
CLI entrypoint for running the API-only server. |
Module Contents
- api.create_argument_parser()
Create CLI argument parser for the API-only server.
- api.parse_arguments(argv=None)
Parse CLI arguments for the API-only server.
- api.build_settings_from_args(args)
Build server settings and force API-only routing.
- api.main(argv=None)
CLI entrypoint for running the API-only server.