Help screens and argparse utilities for the CLI.
This module is imported at CLI startup to wire -h actions into the
argparse tree. It must stay lightweight — no SDK or langchain imports.
URL for deepagents-cli documentation.
Show top-level help information for the deepagents CLI.
Show help information for the list subcommand.
Invoked via the -h argparse action or directly from cli_main.
Show help information for the agents subcommand.
Show help information for the reset subcommand.
Show help information for the skills subcommand.
Invoked via the -h argparse action or directly from
execute_skills_command when no subcommand is given.
Show help information for the skills list subcommand.
Show help information for the skills create subcommand.
Show help information for the skills info subcommand.
Show help information for the skills delete subcommand.
Show help information for the update subcommand.
Show help information for the threads subcommand.
Invoked via the -h argparse action or directly from cli_main
when no threads subcommand is given.
Show help information for the threads delete subcommand.
Show help information for the threads list subcommand.
LangChain brand colors and semantic constants for the CLI.
Single source of truth for color values used in Python code (Rich markup,
Content.styled, Content.from_markup). CSS-side styling should reference
Textual CSS variables: built-in variables
($primary, $background, $text-muted, $error-muted, etc.) are set via
register_theme() in DeepAgentsApp.__init__, while the few app-specific
variables ($mode-bash, $mode-command, $skill, $skill-hover, $tool,
$tool-hover) are backed by these constants via App.get_theme_variable_defaults().
Code that needs custom CSS variable values should call
get_css_variable_defaults(dark=...). For the full semantic color palette, look
up the ThemeColors instance via ThemeEntry.REGISTRY.
Users can define custom themes in ~/.deepagents/config.toml under
[themes.<name>] sections. Each new theme section must include label (str);
dark (bool) defaults to False if omitted (set to True for dark themes).
Color fields are optional and fall back to the built-in dark/light palette based
on the dark flag. Sections whose name matches a built-in theme override its
colors without replacing it. See _load_user_themes() for details.