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, /data by default.
-
manifest: str | None
Manifest file.
-
parse: bool | None
Only parse the configuration, do not configure the objects.
-
watch: bool | None
Repeat the test whenever a file in the watched directories changes.
-
class gws.server.cli.Object
Bases: gws.Node
Command-line commands for starting, reloading and configuring the server.
-
do_configtest(p: ConfigTestParams)
Test the configuration and report errors, optionally watching for changes.
-
do_configure(p: Params)
Configure the server without reloading.
-
do_reconfigure(p: Params)
Reconfigure and reload the server.
-
do_reload(p: Params)
Reload the server without reconfiguring.
-
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.