Skip to content

rich_click.rich_click

Attributes

NameDescription
ABORTED_TEXTNo description.
ALIGN_COMMANDS_PANELNo description.
ALIGN_ERRORS_PANELNo description.
ALIGN_OPTIONS_PANELNo description.
APPEND_METAVARS_HELPNo description.
APPEND_METAVARS_HELP_STRINGNo description.
APPEND_RANGE_HELP_STRINGNo description.
ARGUMENTS_PANEL_TITLENo description.
COLOR_SYSTEMNo description.
COMMANDS_BEFORE_OPTIONSNo description.
COMMANDS_PANEL_TITLENo description.
COMMANDS_TABLE_COLUMN_TYPESNo description.
COMMANDS_TABLE_HELP_SECTIONSNo description.
COMMAND_GROUPSNo description.
DEFAULT_PANELS_FIRSTNo description.
DEFAULT_STRINGNo description.
DELIMITER_COMMANo description.
DELIMITER_SLASHNo description.
DEPRECATED_STRINGNo description.
DEPRECATED_WITH_REASON_STRINGNo description.
ENABLE_THEME_ENV_VARNo description.
ENVVAR_STRINGNo description.
ERRORS_EPILOGUENo description.
ERRORS_PANEL_TITLENo description.
ERRORS_SUGGESTIONNo description.
FOOTER_TEXTNo description.
FORCE_TERMINALNo description.
GROUP_ARGUMENTS_OPTIONSNo description.
HEADER_TEXTNo description.
HELPTEXT_ALIASES_STRINGNo description.
HELPTEXT_SHOW_ALIASESNo description.
MAX_WIDTHNo description.
OPTIONS_PANEL_TITLENo description.
OPTIONS_TABLE_COLUMN_TYPESNo description.
OPTIONS_TABLE_HELP_SECTIONSNo description.
OPTION_ENVVAR_FIRSTNo description.
OPTION_GROUPSNo description.
PADDING_EPILOGNo description.
PADDING_ERRORS_EPILOGUENo description.
PADDING_ERRORS_PANELNo description.
PADDING_ERRORS_SUGGESTIONNo description.
PADDING_FOOTER_TEXTNo description.
PADDING_HEADER_TEXTNo description.
PADDING_HELPTEXTNo description.
PADDING_HELPTEXT_DEPRECATEDNo description.
PADDING_HELPTEXT_FIRST_LINENo description.
PADDING_USAGENo description.
PANEL_INLINE_HELP_DELIMITERNo description.
PANEL_INLINE_HELP_IN_TITLENo description.
PANEL_TITLE_PADDINGNo description.
PANEL_TITLE_STRINGNo description.
RANGE_STRINGNo description.
REQUIRED_LONG_STRINGNo description.
REQUIRED_SHORT_STRINGNo description.
SHOW_ARGUMENTSNo description.
SHOW_METAVARS_COLUMNNo description.
STYLE_ABORTEDNo description.
STYLE_ARGUMENTNo description.
STYLE_COMMANDNo description.
STYLE_COMMANDS_PANEL_BORDERNo description.
STYLE_COMMANDS_PANEL_BOXNo description.
STYLE_COMMANDS_PANEL_HELP_STYLENo description.
STYLE_COMMANDS_PANEL_PADDINGNo description.
STYLE_COMMANDS_PANEL_STYLENo description.
STYLE_COMMANDS_PANEL_TITLE_STYLENo description.
STYLE_COMMANDS_TABLE_BORDER_STYLENo description.
STYLE_COMMANDS_TABLE_BOXNo description.
STYLE_COMMANDS_TABLE_COLUMN_WIDTH_RATIONo description.
STYLE_COMMANDS_TABLE_EXPANDNo description.
STYLE_COMMANDS_TABLE_LEADINGNo description.
STYLE_COMMANDS_TABLE_PADDINGNo description.
STYLE_COMMANDS_TABLE_PAD_EDGENo description.
STYLE_COMMANDS_TABLE_ROW_STYLESNo description.
STYLE_COMMANDS_TABLE_SHOW_LINESNo description.
STYLE_COMMAND_ALIASESNo description.
STYLE_COMMAND_HELPNo description.
STYLE_DEPRECATEDNo description.
STYLE_EPILOG_TEXTNo description.
STYLE_ERRORS_PANEL_BORDERNo description.
STYLE_ERRORS_PANEL_BOXNo description.
STYLE_ERRORS_SUGGESTIONNo description.
STYLE_ERRORS_SUGGESTION_COMMANDNo description.
STYLE_FOOTER_TEXTNo description.
STYLE_HEADER_TEXTNo description.
STYLE_HELPTEXTNo description.
STYLE_HELPTEXT_ALIASESNo description.
STYLE_HELPTEXT_FIRST_LINENo description.
STYLE_METAVARNo description.
STYLE_METAVAR_APPENDNo description.
STYLE_METAVAR_SEPARATORNo description.
STYLE_OPTIONNo description.
STYLE_OPTIONS_PANEL_BORDERNo description.
STYLE_OPTIONS_PANEL_BOXNo description.
STYLE_OPTIONS_PANEL_HELP_STYLENo description.
STYLE_OPTIONS_PANEL_PADDINGNo description.
STYLE_OPTIONS_PANEL_STYLENo description.
STYLE_OPTIONS_PANEL_TITLE_STYLENo description.
STYLE_OPTIONS_TABLE_BORDER_STYLENo description.
STYLE_OPTIONS_TABLE_BOXNo description.
STYLE_OPTIONS_TABLE_EXPANDNo description.
STYLE_OPTIONS_TABLE_LEADINGNo description.
STYLE_OPTIONS_TABLE_PADDINGNo description.
STYLE_OPTIONS_TABLE_PAD_EDGENo description.
STYLE_OPTIONS_TABLE_ROW_STYLESNo description.
STYLE_OPTIONS_TABLE_SHOW_LINESNo description.
STYLE_OPTION_DEFAULTNo description.
STYLE_OPTION_ENVVARNo description.
STYLE_OPTION_HELPNo description.
STYLE_OPTION_NEGATIVENo description.
STYLE_PADDING_EPILOGNo description.
STYLE_PADDING_ERRORSNo description.
STYLE_PADDING_HELPTEXTNo description.
STYLE_PADDING_USAGENo description.
STYLE_RANGE_APPENDNo description.
STYLE_REQUIRED_LONGNo description.
STYLE_REQUIRED_SHORTNo description.
STYLE_SWITCHNo description.
STYLE_SWITCH_NEGATVENo description.
STYLE_USAGENo description.
STYLE_USAGE_COMMANDNo description.
STYLE_USAGE_SEPARATORNo description.
TEXT_EMOJISNo description.
TEXT_KWARGSNo description.
TEXT_MARKUPNo description.
TEXT_PARAGRAPH_LINEBREAKSNo description.
THEMENo description.
USE_CLICK_SHORT_HELPNo description.
USE_MARKDOWNNo description.
USE_MARKDOWN_EMOJINo description.
USE_RICH_MARKUPNo description.
WIDTHNo description.

ABORTED_TEXTattributemodule attribute#

ABORTED_TEXT: str = 'Aborted.'

ALIGN_COMMANDS_PANELattributemodule attribute#

ALIGN_COMMANDS_PANEL: AlignMethod = 'left'

ALIGN_ERRORS_PANELattributemodule attribute#

ALIGN_ERRORS_PANEL: AlignMethod = 'left'

ALIGN_OPTIONS_PANELattributemodule attribute#

ALIGN_OPTIONS_PANEL: AlignMethod = 'left'

APPEND_METAVARS_HELPattributemodule attribute#

APPEND_METAVARS_HELP: bool | None = None

APPEND_METAVARS_HELP_STRINGattributemodule attribute#

APPEND_METAVARS_HELP_STRING: str = FROM_THEME

APPEND_RANGE_HELP_STRINGattributemodule attribute#

APPEND_RANGE_HELP_STRING: str = FROM_THEME

ARGUMENTS_PANEL_TITLEattributemodule attribute#

ARGUMENTS_PANEL_TITLE: str = 'Arguments'

COLOR_SYSTEMattributemodule attribute#

COLOR_SYSTEM: Literal['auto', 'standard', '256', 'truecolor', 'windows'] | None = 'auto'

COMMANDS_BEFORE_OPTIONSattributemodule attribute#

COMMANDS_BEFORE_OPTIONS: bool = False

COMMANDS_PANEL_TITLEattributemodule attribute#

COMMANDS_PANEL_TITLE: str = 'Commands'

COMMANDS_TABLE_COLUMN_TYPESattributemodule attribute#

COMMANDS_TABLE_COLUMN_TYPES: list[CommandColumnType] = FROM_THEME

COMMANDS_TABLE_HELP_SECTIONSattributemodule attribute#

COMMANDS_TABLE_HELP_SECTIONS: list[CommandHelpSectionType] = FROM_THEME

COMMAND_GROUPSattributemodule attribute#

COMMAND_GROUPS: dict[str, list[CommandGroupDict]] = {}

DEFAULT_PANELS_FIRSTattributemodule attribute#

DEFAULT_PANELS_FIRST: bool = False

DEFAULT_STRINGattributemodule attribute#

DEFAULT_STRING: str = FROM_THEME

DELIMITER_COMMAattributemodule attribute#

DELIMITER_COMMA: str = FROM_THEME

DELIMITER_SLASHattributemodule attribute#

DELIMITER_SLASH: str = FROM_THEME

DEPRECATED_STRINGattributemodule attribute#

DEPRECATED_STRING: str = FROM_THEME

DEPRECATED_WITH_REASON_STRINGattributemodule attribute#

DEPRECATED_WITH_REASON_STRING: str = FROM_THEME

ENABLE_THEME_ENV_VARattributemodule attribute#

ENABLE_THEME_ENV_VAR: bool = True

ENVVAR_STRINGattributemodule attribute#

ENVVAR_STRING: str = FROM_THEME

ERRORS_EPILOGUEattributemodule attribute#

ERRORS_EPILOGUE: str | Text | None = None

ERRORS_PANEL_TITLEattributemodule attribute#

ERRORS_PANEL_TITLE: str = 'Error'

ERRORS_SUGGESTIONattributemodule attribute#

ERRORS_SUGGESTION: str | Text | None = None

FOOTER_TEXTattributemodule attribute#

FOOTER_TEXT: str | Text | None = None

FORCE_TERMINALattributemodule attribute#

FORCE_TERMINAL: bool | None = force_terminal_default()

GROUP_ARGUMENTS_OPTIONSattributemodule attribute#

GROUP_ARGUMENTS_OPTIONS: bool = False

HEADER_TEXTattributemodule attribute#

HEADER_TEXT: str | Text | None = None

HELPTEXT_ALIASES_STRINGattributemodule attribute#

HELPTEXT_ALIASES_STRING: str = 'Aliases: {}'

HELPTEXT_SHOW_ALIASESattributemodule attribute#

HELPTEXT_SHOW_ALIASES: bool = True

MAX_WIDTHattributemodule attribute#

MAX_WIDTH: int | None = terminal_width_default()

OPTIONS_PANEL_TITLEattributemodule attribute#

OPTIONS_PANEL_TITLE: str = 'Options'

OPTIONS_TABLE_COLUMN_TYPESattributemodule attribute#

OPTIONS_TABLE_COLUMN_TYPES: list[OptionColumnType] = FROM_THEME

OPTIONS_TABLE_HELP_SECTIONSattributemodule attribute#

OPTIONS_TABLE_HELP_SECTIONS: list[OptionHelpSectionType] = FROM_THEME

OPTION_ENVVAR_FIRSTattributemodule attribute#

OPTION_ENVVAR_FIRST: bool | None = None

OPTION_GROUPSattributemodule attribute#

OPTION_GROUPS: dict[str, list[OptionGroupDict]] = {}

PADDING_EPILOGattributemodule attribute#

PADDING_EPILOG: PaddingDimensions = FROM_THEME

PADDING_ERRORS_EPILOGUEattributemodule attribute#

PADDING_ERRORS_EPILOGUE: PaddingDimensions = (0, 1, 1, 1)

PADDING_ERRORS_PANELattributemodule attribute#

PADDING_ERRORS_PANEL: PaddingDimensions = (0, 0, 1, 0)

PADDING_ERRORS_SUGGESTIONattributemodule attribute#

PADDING_ERRORS_SUGGESTION: PaddingDimensions = (0, 1, 0, 1)
PADDING_FOOTER_TEXT: PaddingDimensions = FROM_THEME

PADDING_HEADER_TEXTattributemodule attribute#

PADDING_HEADER_TEXT: PaddingDimensions = FROM_THEME

PADDING_HELPTEXTattributemodule attribute#

PADDING_HELPTEXT: PaddingDimensions = FROM_THEME

PADDING_HELPTEXT_DEPRECATEDattributemodule attribute#

PADDING_HELPTEXT_DEPRECATED: PaddingDimensions = 0

PADDING_HELPTEXT_FIRST_LINEattributemodule attribute#

PADDING_HELPTEXT_FIRST_LINE: PaddingDimensions = 0

PADDING_USAGEattributemodule attribute#

PADDING_USAGE: PaddingDimensions = FROM_THEME

PANEL_INLINE_HELP_DELIMITERattributemodule attribute#

PANEL_INLINE_HELP_DELIMITER: str = FROM_THEME

PANEL_INLINE_HELP_IN_TITLEattributemodule attribute#

PANEL_INLINE_HELP_IN_TITLE: bool = FROM_THEME

PANEL_TITLE_PADDINGattributemodule attribute#

PANEL_TITLE_PADDING: int = FROM_THEME

PANEL_TITLE_STRINGattributemodule attribute#

PANEL_TITLE_STRING: str = FROM_THEME

RANGE_STRINGattributemodule attribute#

RANGE_STRING: str = FROM_THEME

REQUIRED_LONG_STRINGattributemodule attribute#

REQUIRED_LONG_STRING: str = FROM_THEME

REQUIRED_SHORT_STRINGattributemodule attribute#

REQUIRED_SHORT_STRING: str = FROM_THEME

SHOW_ARGUMENTSattributemodule attribute#

SHOW_ARGUMENTS: bool | None = None

SHOW_METAVARS_COLUMNattributemodule attribute#

SHOW_METAVARS_COLUMN: bool | None = None

STYLE_ABORTEDattributemodule attribute#

STYLE_ABORTED: StyleType = 'red'

STYLE_ARGUMENTattributemodule attribute#

STYLE_ARGUMENT: StyleType = FROM_THEME

STYLE_COMMANDattributemodule attribute#

STYLE_COMMAND: StyleType = FROM_THEME

STYLE_COMMANDS_PANEL_BORDERattributemodule attribute#

STYLE_COMMANDS_PANEL_BORDER: StyleType = FROM_THEME

STYLE_COMMANDS_PANEL_BOXattributemodule attribute#

STYLE_COMMANDS_PANEL_BOX: str | Box | None = FROM_THEME

STYLE_COMMANDS_PANEL_HELP_STYLEattributemodule attribute#

STYLE_COMMANDS_PANEL_HELP_STYLE: StyleType = FROM_THEME

STYLE_COMMANDS_PANEL_PADDINGattributemodule attribute#

STYLE_COMMANDS_PANEL_PADDING: PaddingDimensions = FROM_THEME

STYLE_COMMANDS_PANEL_STYLEattributemodule attribute#

STYLE_COMMANDS_PANEL_STYLE: StyleType = FROM_THEME

STYLE_COMMANDS_PANEL_TITLE_STYLEattributemodule attribute#

STYLE_COMMANDS_PANEL_TITLE_STYLE: StyleType = FROM_THEME

STYLE_COMMANDS_TABLE_BORDER_STYLEattributemodule attribute#

STYLE_COMMANDS_TABLE_BORDER_STYLE: StyleType | None = FROM_THEME

STYLE_COMMANDS_TABLE_BOXattributemodule attribute#

STYLE_COMMANDS_TABLE_BOX: str | Box | None = FROM_THEME

STYLE_COMMANDS_TABLE_COLUMN_WIDTH_RATIOattributemodule attribute#

STYLE_COMMANDS_TABLE_COLUMN_WIDTH_RATIO: tuple[None, None] | tuple[int, int] | None = (None, None)

STYLE_COMMANDS_TABLE_EXPANDattributemodule attribute#

STYLE_COMMANDS_TABLE_EXPAND: bool = FROM_THEME

STYLE_COMMANDS_TABLE_LEADINGattributemodule attribute#

STYLE_COMMANDS_TABLE_LEADING: int = 0

STYLE_COMMANDS_TABLE_PADDINGattributemodule attribute#

STYLE_COMMANDS_TABLE_PADDING: PaddingDimensions = (0, 1)

STYLE_COMMANDS_TABLE_PAD_EDGEattributemodule attribute#

STYLE_COMMANDS_TABLE_PAD_EDGE: bool = False

STYLE_COMMANDS_TABLE_ROW_STYLESattributemodule attribute#

STYLE_COMMANDS_TABLE_ROW_STYLES: list[StyleType] | None = None

STYLE_COMMANDS_TABLE_SHOW_LINESattributemodule attribute#

STYLE_COMMANDS_TABLE_SHOW_LINES: bool = False

STYLE_COMMAND_ALIASESattributemodule attribute#

STYLE_COMMAND_ALIASES: StyleType = FROM_THEME

STYLE_COMMAND_HELPattributemodule attribute#

STYLE_COMMAND_HELP: StyleType = FROM_THEME

STYLE_DEPRECATEDattributemodule attribute#

STYLE_DEPRECATED: StyleType = FROM_THEME

STYLE_EPILOG_TEXTattributemodule attribute#

STYLE_EPILOG_TEXT: StyleType = FROM_THEME

STYLE_ERRORS_PANEL_BORDERattributemodule attribute#

STYLE_ERRORS_PANEL_BORDER: StyleType = FROM_THEME

STYLE_ERRORS_PANEL_BOXattributemodule attribute#

STYLE_ERRORS_PANEL_BOX: str | Box | None = FROM_THEME

STYLE_ERRORS_SUGGESTIONattributemodule attribute#

STYLE_ERRORS_SUGGESTION: StyleType | None = None

STYLE_ERRORS_SUGGESTION_COMMANDattributemodule attribute#

STYLE_ERRORS_SUGGESTION_COMMAND: StyleType | None = None
STYLE_FOOTER_TEXT: StyleType = FROM_THEME

STYLE_HEADER_TEXTattributemodule attribute#

STYLE_HEADER_TEXT: StyleType = FROM_THEME

STYLE_HELPTEXTattributemodule attribute#

STYLE_HELPTEXT: StyleType = FROM_THEME

STYLE_HELPTEXT_ALIASESattributemodule attribute#

STYLE_HELPTEXT_ALIASES: StyleType | None = None

STYLE_HELPTEXT_FIRST_LINEattributemodule attribute#

STYLE_HELPTEXT_FIRST_LINE: StyleType = FROM_THEME

STYLE_METAVARattributemodule attribute#

STYLE_METAVAR: StyleType = FROM_THEME

STYLE_METAVAR_APPENDattributemodule attribute#

STYLE_METAVAR_APPEND: StyleType = FROM_THEME

STYLE_METAVAR_SEPARATORattributemodule attribute#

STYLE_METAVAR_SEPARATOR: StyleType = FROM_THEME

STYLE_OPTIONattributemodule attribute#

STYLE_OPTION: StyleType = FROM_THEME

STYLE_OPTIONS_PANEL_BORDERattributemodule attribute#

STYLE_OPTIONS_PANEL_BORDER: StyleType = FROM_THEME

STYLE_OPTIONS_PANEL_BOXattributemodule attribute#

STYLE_OPTIONS_PANEL_BOX: str | Box | None = FROM_THEME

STYLE_OPTIONS_PANEL_HELP_STYLEattributemodule attribute#

STYLE_OPTIONS_PANEL_HELP_STYLE: StyleType = FROM_THEME

STYLE_OPTIONS_PANEL_PADDINGattributemodule attribute#

STYLE_OPTIONS_PANEL_PADDING: PaddingDimensions = FROM_THEME

STYLE_OPTIONS_PANEL_STYLEattributemodule attribute#

STYLE_OPTIONS_PANEL_STYLE: StyleType = FROM_THEME

STYLE_OPTIONS_PANEL_TITLE_STYLEattributemodule attribute#

STYLE_OPTIONS_PANEL_TITLE_STYLE: StyleType = FROM_THEME

STYLE_OPTIONS_TABLE_BORDER_STYLEattributemodule attribute#

STYLE_OPTIONS_TABLE_BORDER_STYLE: StyleType | None = FROM_THEME

STYLE_OPTIONS_TABLE_BOXattributemodule attribute#

STYLE_OPTIONS_TABLE_BOX: str | Box | None = FROM_THEME

STYLE_OPTIONS_TABLE_EXPANDattributemodule attribute#

STYLE_OPTIONS_TABLE_EXPAND: bool = FROM_THEME

STYLE_OPTIONS_TABLE_LEADINGattributemodule attribute#

STYLE_OPTIONS_TABLE_LEADING: int = 0

STYLE_OPTIONS_TABLE_PADDINGattributemodule attribute#

STYLE_OPTIONS_TABLE_PADDING: PaddingDimensions = (0, 1)

STYLE_OPTIONS_TABLE_PAD_EDGEattributemodule attribute#

STYLE_OPTIONS_TABLE_PAD_EDGE: bool = False

STYLE_OPTIONS_TABLE_ROW_STYLESattributemodule attribute#

STYLE_OPTIONS_TABLE_ROW_STYLES: list[StyleType] | None = None

STYLE_OPTIONS_TABLE_SHOW_LINESattributemodule attribute#

STYLE_OPTIONS_TABLE_SHOW_LINES: bool = False

STYLE_OPTION_DEFAULTattributemodule attribute#

STYLE_OPTION_DEFAULT: StyleType = FROM_THEME

STYLE_OPTION_ENVVARattributemodule attribute#

STYLE_OPTION_ENVVAR: StyleType = FROM_THEME

STYLE_OPTION_HELPattributemodule attribute#

STYLE_OPTION_HELP: StyleType = FROM_THEME

STYLE_OPTION_NEGATIVEattributemodule attribute#

STYLE_OPTION_NEGATIVE: StyleType | None = FROM_THEME

STYLE_PADDING_EPILOGattributemodule attribute#

STYLE_PADDING_EPILOG: StyleType = FROM_THEME

STYLE_PADDING_ERRORSattributemodule attribute#

STYLE_PADDING_ERRORS: StyleType = FROM_THEME

STYLE_PADDING_HELPTEXTattributemodule attribute#

STYLE_PADDING_HELPTEXT: StyleType = FROM_THEME

STYLE_PADDING_USAGEattributemodule attribute#

STYLE_PADDING_USAGE: StyleType = FROM_THEME

STYLE_RANGE_APPENDattributemodule attribute#

STYLE_RANGE_APPEND: StyleType = FROM_THEME

STYLE_REQUIRED_LONGattributemodule attribute#

STYLE_REQUIRED_LONG: StyleType = FROM_THEME

STYLE_REQUIRED_SHORTattributemodule attribute#

STYLE_REQUIRED_SHORT: StyleType = FROM_THEME

STYLE_SWITCHattributemodule attribute#

STYLE_SWITCH: StyleType = FROM_THEME

STYLE_SWITCH_NEGATVEattributemodule attribute#

STYLE_SWITCH_NEGATVE: StyleType | None = FROM_THEME

STYLE_USAGEattributemodule attribute#

STYLE_USAGE: StyleType = FROM_THEME

STYLE_USAGE_COMMANDattributemodule attribute#

STYLE_USAGE_COMMAND: StyleType = FROM_THEME

STYLE_USAGE_SEPARATORattributemodule attribute#

STYLE_USAGE_SEPARATOR: StyleType = FROM_THEME

TEXT_EMOJISattributemodule attribute#

TEXT_EMOJIS: bool = notset

TEXT_KWARGSattributemodule attribute#

TEXT_KWARGS: dict[str, Any] | None = None

TEXT_MARKUPattributemodule attribute#

TEXT_MARKUP: Literal['ansi', 'rich', 'markdown', 'rst', None] = notset

TEXT_PARAGRAPH_LINEBREAKSattributemodule attribute#

TEXT_PARAGRAPH_LINEBREAKS: Literal['\n', '\n\n'] | None = None

THEMEattributemodule attribute#

THEME: str | RichClickTheme | None = None

USE_CLICK_SHORT_HELPattributemodule attribute#

USE_CLICK_SHORT_HELP: bool = False

USE_MARKDOWNattributemodule attribute#

USE_MARKDOWN: bool | None = None

USE_MARKDOWN_EMOJIattributemodule attribute#

USE_MARKDOWN_EMOJI: bool | None = None

USE_RICH_MARKUPattributemodule attribute#

USE_RICH_MARKUP: bool | None = None

WIDTHattributemodule attribute#

WIDTH: int | None = terminal_width_default()