pywry.cli¶
Command-line interface for PyWry.
pywry.cli.handle_config
¶
Handle the config command.
| PARAMETER | DESCRIPTION |
|---|---|
args
|
Parsed command line arguments.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
int
|
Exit code. |
pywry.cli.handle_init
¶
Handle the init command.
| PARAMETER | DESCRIPTION |
|---|---|
args
|
Parsed command line arguments.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
int
|
Exit code. |
pywry.cli.handle_mcp
¶
Handle the mcp command.
| PARAMETER | DESCRIPTION |
|---|---|
args
|
Parsed command line arguments.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
int
|
Exit code. |
pywry.cli.show_config_sources
¶
Show configuration file sources and their status.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Exit code. |
pywry.cli.format_config_show
¶
format_config_show(settings: PyWrySettings) -> str
Format configuration for display.
| PARAMETER | DESCRIPTION |
|---|---|
settings
|
The settings object to format.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
str
|
Formatted configuration string. |