Debian Codegraph @

tests/__snapshots__/test_docs_snapshots/TestMarkdownSnapshots.test_server_commands_markdown.md

raw symbols SCIP
1 Server management commands.
2
3 **Global Options**:
4
5 * `--verbose, -v`: Verbosity level (-v, -vv, -vvv). *[default: 0]*
6 * `--quiet, --no-quiet, -q`: Suppress non-essential output. *[default: False]*
7 * `--log-level`: Logging level. *[choices: debug, info, warning, error, critical]* *[default: info]*
8 * `--no-color, --no-no-color`: Disable colored output *[default: False]*
9
10 ### complex-cli server start
11
12 ```console
13 complex-cli server start [OPTIONS]
14 ```
15
16 Start the server with configuration.
17
18 Demonstrates Pydantic model support for CLI parameters.
19
20 **Parameters**:
21
22 * `--server.host`: Server bind address. *[default: 0.0.0.0]*
23 * `--server.port`: Server port number. *[default: 8000]*
24 * `--server.workers`: Number of worker processes. *[default: 4]*
25 * `--server.timeout`: Request timeout in seconds. *[default: 30.0]*
26 * `--server.debug, --server.no-debug`: Enable debug mode. *[default: False]*
27 * `--auth.provider`: Authentication provider type. *[choices: oauth2, jwt, basic, none]* *[default: jwt]*
28 * `--auth.token-expiry`: Token expiration time in seconds. *[default: 3600]*
29 * `--auth.refresh-enabled, --auth.no-refresh-enabled`: Enable token refresh. *[default: True]*
30 * `--auth.allowed-origins, --auth.empty-allowed-origins`: List of allowed CORS origins.
31
32 ### complex-cli server stop
33
34 ```console
35 complex-cli server stop [OPTIONS]
36 ```
37
38 Stop the server.
39
40 **Parameters**:
41
42 * `--graceful, --no-graceful`: Perform graceful shutdown. *[default: True]*
43 * `--timeout`: Shutdown timeout in seconds. *[default: 30]*
44 * `--force, --no-force, -f`: Force immediate shutdown. *[default: False]*
45
46 ### complex-cli server restart
47
48 ```console
49 complex-cli server restart [ARGS]
50 ```
51
52 Restart the server.
53
54 **Parameters**:
55
56 * `ROLLING, --rolling, --no-rolling`: Perform rolling restart (zero downtime). *[default: False]*
57 * `DELAY, --delay`: Delay between worker restarts in seconds. *[default: 5]*