Help
help
Rich-based help renderer for the tradingagents console script.
Replaces the default fire help screen (which drops the user into a
pager session reminiscent of less / vim) with inline Rich panels
printed straight to stdout. Used by :func:tradingagents.__main__.main
whenever it detects a --help / -h / help argument or no arguments at
all.
Functions:
| Name | Description |
|---|---|
print_app_help |
Render the top-level tradingagents help. |
print_command_help |
Render help for a single subcommand. |
print_app_help
Render the top-level tradingagents help.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
Console
|
The Rich console to draw on. |
required |
|
dict[str, Callable[..., Any]]
|
Subcommand name to implementing callable. The callable's docstring summary is used as the per-row description. |
required |
Source code in src/tradingagents/interface/help.py
print_command_help
Render help for a single subcommand.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
Console
|
The Rich console to draw on. |
required |
|
str
|
The subcommand name (cli or tui). |
required |
|
Callable[..., Any]
|
The implementing callable. Type annotations and Google-style docstring are parsed to populate the flags table. |
required |