gws.server.cli

Command-line server commands.

Source code: gws.server.cli

Module Contents

class gws.server.cli.ConfigTestParams(*args, **kwargs)

Bases: gws.CliParams

Parameters for the config test command.

config: str | None

Configuration file.

dirs: str | None

Directories to watch for changes.

manifest: str | None

Manifest file.

parse: bool | None

Only parse the config.

watch: bool | None

Watch mode.

class gws.server.cli.Object

Bases: gws.Node

Server command-line interface object.

do_configtest(p: ConfigTestParams)

Test the configuration.

do_configure(p: Params)

Configure the server, but do not restart.

do_reconfigure(p: Params)

Reconfigure and restart the server.

do_reload(p: Params)

Restart the server.

do_start(p: Params)

Configure and start the server.

class gws.server.cli.Params(*args, **kwargs)

Bases: gws.CliParams

Parameters for server commands.

config: str | None

Configuration file.

manifest: str | None

Manifest file.