betty.commands.serve module

final class betty.commands.serve.Serve

Bases: Manufacturable, Command

The serve command plugin. This will open your web browser.

Plugin ID

serve

Class

Serve

Configuration

not configurable

__init__(app: App, /)
async configure(parser: argparse.ArgumentParser) CommandFunction

Configure the command.

Returns:

The command function, which is an async callable that returns None and takes all parser arguments as keyword arguments.

new = <betty.requirement._RequirableDecorator object>