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_argument_parser()

Create CLI argument parser for the API-only server.

parse_arguments([argv])

Parse CLI arguments for the API-only server.

build_settings_from_args(args)

Build server settings and force API-only routing.

main([argv])

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.