rich_click.rich_click
Attributes
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 = NoneAPPEND_METAVARS_HELP_STRINGattributemodule attribute#
APPEND_METAVARS_HELP_STRING: str = FROM_THEMEAPPEND_RANGE_HELP_STRINGattributemodule attribute#
APPEND_RANGE_HELP_STRING: str = FROM_THEMEARGUMENTS_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 = FalseCOMMANDS_PANEL_TITLEattributemodule attribute#
COMMANDS_PANEL_TITLE: str = 'Commands'COMMANDS_TABLE_COLUMN_TYPESattributemodule attribute#
COMMANDS_TABLE_COLUMN_TYPES: list[CommandColumnType] = FROM_THEMECOMMANDS_TABLE_HELP_SECTIONSattributemodule attribute#
COMMANDS_TABLE_HELP_SECTIONS: list[CommandHelpSectionType] = FROM_THEMECOMMAND_GROUPSattributemodule attribute#
COMMAND_GROUPS: dict[str, list[CommandGroupDict]] = {}DEFAULT_PANELS_FIRSTattributemodule attribute#
DEFAULT_PANELS_FIRST: bool = FalseDEFAULT_STRINGattributemodule attribute#
DEFAULT_STRING: str = FROM_THEMEDELIMITER_COMMAattributemodule attribute#
DELIMITER_COMMA: str = FROM_THEMEDELIMITER_SLASHattributemodule attribute#
DELIMITER_SLASH: str = FROM_THEMEDEPRECATED_STRINGattributemodule attribute#
DEPRECATED_STRING: str = FROM_THEMEDEPRECATED_WITH_REASON_STRINGattributemodule attribute#
DEPRECATED_WITH_REASON_STRING: str = FROM_THEMEENABLE_THEME_ENV_VARattributemodule attribute#
ENABLE_THEME_ENV_VAR: bool = TrueENVVAR_STRINGattributemodule attribute#
ENVVAR_STRING: str = FROM_THEMEERRORS_EPILOGUEattributemodule attribute#
ERRORS_EPILOGUE: str | Text | None = NoneERRORS_PANEL_TITLEattributemodule attribute#
ERRORS_PANEL_TITLE: str = 'Error'ERRORS_SUGGESTIONattributemodule attribute#
ERRORS_SUGGESTION: str | Text | None = NoneFOOTER_TEXTattributemodule attribute#
FOOTER_TEXT: str | Text | None = NoneFORCE_TERMINALattributemodule attribute#
FORCE_TERMINAL: bool | None = force_terminal_default()GROUP_ARGUMENTS_OPTIONSattributemodule attribute#
GROUP_ARGUMENTS_OPTIONS: bool = FalseHEADER_TEXTattributemodule attribute#
HEADER_TEXT: str | Text | None = NoneHELPTEXT_ALIASES_STRINGattributemodule attribute#
HELPTEXT_ALIASES_STRING: str = 'Aliases: {}'HELPTEXT_SHOW_ALIASESattributemodule attribute#
HELPTEXT_SHOW_ALIASES: bool = TrueMAX_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_THEMEOPTIONS_TABLE_HELP_SECTIONSattributemodule attribute#
OPTIONS_TABLE_HELP_SECTIONS: list[OptionHelpSectionType] = FROM_THEMEOPTION_ENVVAR_FIRSTattributemodule attribute#
OPTION_ENVVAR_FIRST: bool | None = NoneOPTION_GROUPSattributemodule attribute#
OPTION_GROUPS: dict[str, list[OptionGroupDict]] = {}PADDING_EPILOGattributemodule attribute#
PADDING_EPILOG: PaddingDimensions = FROM_THEMEPADDING_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_TEXTattributemodule attribute#
PADDING_FOOTER_TEXT: PaddingDimensions = FROM_THEMEPADDING_HEADER_TEXTattributemodule attribute#
PADDING_HEADER_TEXT: PaddingDimensions = FROM_THEMEPADDING_HELPTEXTattributemodule attribute#
PADDING_HELPTEXT: PaddingDimensions = FROM_THEMEPADDING_HELPTEXT_DEPRECATEDattributemodule attribute#
PADDING_HELPTEXT_DEPRECATED: PaddingDimensions = 0PADDING_HELPTEXT_FIRST_LINEattributemodule attribute#
PADDING_HELPTEXT_FIRST_LINE: PaddingDimensions = 0PADDING_USAGEattributemodule attribute#
PADDING_USAGE: PaddingDimensions = FROM_THEMEPANEL_INLINE_HELP_DELIMITERattributemodule attribute#
PANEL_INLINE_HELP_DELIMITER: str = FROM_THEMEPANEL_INLINE_HELP_IN_TITLEattributemodule attribute#
PANEL_INLINE_HELP_IN_TITLE: bool = FROM_THEMEPANEL_TITLE_PADDINGattributemodule attribute#
PANEL_TITLE_PADDING: int = FROM_THEMEPANEL_TITLE_STRINGattributemodule attribute#
PANEL_TITLE_STRING: str = FROM_THEMERANGE_STRINGattributemodule attribute#
RANGE_STRING: str = FROM_THEMEREQUIRED_LONG_STRINGattributemodule attribute#
REQUIRED_LONG_STRING: str = FROM_THEMEREQUIRED_SHORT_STRINGattributemodule attribute#
REQUIRED_SHORT_STRING: str = FROM_THEMESHOW_ARGUMENTSattributemodule attribute#
SHOW_ARGUMENTS: bool | None = NoneSHOW_METAVARS_COLUMNattributemodule attribute#
SHOW_METAVARS_COLUMN: bool | None = NoneSTYLE_ABORTEDattributemodule attribute#
STYLE_ABORTED: StyleType = 'red'STYLE_ARGUMENTattributemodule attribute#
STYLE_ARGUMENT: StyleType = FROM_THEMESTYLE_COMMANDattributemodule attribute#
STYLE_COMMAND: StyleType = FROM_THEMESTYLE_COMMANDS_PANEL_BORDERattributemodule attribute#
STYLE_COMMANDS_PANEL_BORDER: StyleType = FROM_THEMESTYLE_COMMANDS_PANEL_BOXattributemodule attribute#
STYLE_COMMANDS_PANEL_BOX: str | Box | None = FROM_THEMESTYLE_COMMANDS_PANEL_HELP_STYLEattributemodule attribute#
STYLE_COMMANDS_PANEL_HELP_STYLE: StyleType = FROM_THEMESTYLE_COMMANDS_PANEL_PADDINGattributemodule attribute#
STYLE_COMMANDS_PANEL_PADDING: PaddingDimensions = FROM_THEMESTYLE_COMMANDS_PANEL_STYLEattributemodule attribute#
STYLE_COMMANDS_PANEL_STYLE: StyleType = FROM_THEMESTYLE_COMMANDS_PANEL_TITLE_STYLEattributemodule attribute#
STYLE_COMMANDS_PANEL_TITLE_STYLE: StyleType = FROM_THEMESTYLE_COMMANDS_TABLE_BORDER_STYLEattributemodule attribute#
STYLE_COMMANDS_TABLE_BORDER_STYLE: StyleType | None = FROM_THEMESTYLE_COMMANDS_TABLE_BOXattributemodule attribute#
STYLE_COMMANDS_TABLE_BOX: str | Box | None = FROM_THEMESTYLE_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_THEMESTYLE_COMMANDS_TABLE_LEADINGattributemodule attribute#
STYLE_COMMANDS_TABLE_LEADING: int = 0STYLE_COMMANDS_TABLE_PADDINGattributemodule attribute#
STYLE_COMMANDS_TABLE_PADDING: PaddingDimensions = (0, 1)STYLE_COMMANDS_TABLE_PAD_EDGEattributemodule attribute#
STYLE_COMMANDS_TABLE_PAD_EDGE: bool = FalseSTYLE_COMMANDS_TABLE_ROW_STYLESattributemodule attribute#
STYLE_COMMANDS_TABLE_ROW_STYLES: list[StyleType] | None = NoneSTYLE_COMMANDS_TABLE_SHOW_LINESattributemodule attribute#
STYLE_COMMANDS_TABLE_SHOW_LINES: bool = FalseSTYLE_COMMAND_ALIASESattributemodule attribute#
STYLE_COMMAND_ALIASES: StyleType = FROM_THEMESTYLE_COMMAND_HELPattributemodule attribute#
STYLE_COMMAND_HELP: StyleType = FROM_THEMESTYLE_DEPRECATEDattributemodule attribute#
STYLE_DEPRECATED: StyleType = FROM_THEMESTYLE_EPILOG_TEXTattributemodule attribute#
STYLE_EPILOG_TEXT: StyleType = FROM_THEMESTYLE_ERRORS_PANEL_BORDERattributemodule attribute#
STYLE_ERRORS_PANEL_BORDER: StyleType = FROM_THEMESTYLE_ERRORS_PANEL_BOXattributemodule attribute#
STYLE_ERRORS_PANEL_BOX: str | Box | None = FROM_THEMESTYLE_ERRORS_SUGGESTIONattributemodule attribute#
STYLE_ERRORS_SUGGESTION: StyleType | None = NoneSTYLE_ERRORS_SUGGESTION_COMMANDattributemodule attribute#
STYLE_ERRORS_SUGGESTION_COMMAND: StyleType | None = NoneSTYLE_FOOTER_TEXTattributemodule attribute#
STYLE_FOOTER_TEXT: StyleType = FROM_THEMESTYLE_HEADER_TEXTattributemodule attribute#
STYLE_HEADER_TEXT: StyleType = FROM_THEMESTYLE_HELPTEXTattributemodule attribute#
STYLE_HELPTEXT: StyleType = FROM_THEMESTYLE_HELPTEXT_ALIASESattributemodule attribute#
STYLE_HELPTEXT_ALIASES: StyleType | None = NoneSTYLE_HELPTEXT_FIRST_LINEattributemodule attribute#
STYLE_HELPTEXT_FIRST_LINE: StyleType = FROM_THEMESTYLE_METAVARattributemodule attribute#
STYLE_METAVAR: StyleType = FROM_THEMESTYLE_METAVAR_APPENDattributemodule attribute#
STYLE_METAVAR_APPEND: StyleType = FROM_THEMESTYLE_METAVAR_SEPARATORattributemodule attribute#
STYLE_METAVAR_SEPARATOR: StyleType = FROM_THEMESTYLE_OPTIONattributemodule attribute#
STYLE_OPTION: StyleType = FROM_THEMESTYLE_OPTIONS_PANEL_BORDERattributemodule attribute#
STYLE_OPTIONS_PANEL_BORDER: StyleType = FROM_THEMESTYLE_OPTIONS_PANEL_BOXattributemodule attribute#
STYLE_OPTIONS_PANEL_BOX: str | Box | None = FROM_THEMESTYLE_OPTIONS_PANEL_HELP_STYLEattributemodule attribute#
STYLE_OPTIONS_PANEL_HELP_STYLE: StyleType = FROM_THEMESTYLE_OPTIONS_PANEL_PADDINGattributemodule attribute#
STYLE_OPTIONS_PANEL_PADDING: PaddingDimensions = FROM_THEMESTYLE_OPTIONS_PANEL_STYLEattributemodule attribute#
STYLE_OPTIONS_PANEL_STYLE: StyleType = FROM_THEMESTYLE_OPTIONS_PANEL_TITLE_STYLEattributemodule attribute#
STYLE_OPTIONS_PANEL_TITLE_STYLE: StyleType = FROM_THEMESTYLE_OPTIONS_TABLE_BORDER_STYLEattributemodule attribute#
STYLE_OPTIONS_TABLE_BORDER_STYLE: StyleType | None = FROM_THEMESTYLE_OPTIONS_TABLE_BOXattributemodule attribute#
STYLE_OPTIONS_TABLE_BOX: str | Box | None = FROM_THEMESTYLE_OPTIONS_TABLE_EXPANDattributemodule attribute#
STYLE_OPTIONS_TABLE_EXPAND: bool = FROM_THEMESTYLE_OPTIONS_TABLE_LEADINGattributemodule attribute#
STYLE_OPTIONS_TABLE_LEADING: int = 0STYLE_OPTIONS_TABLE_PADDINGattributemodule attribute#
STYLE_OPTIONS_TABLE_PADDING: PaddingDimensions = (0, 1)STYLE_OPTIONS_TABLE_PAD_EDGEattributemodule attribute#
STYLE_OPTIONS_TABLE_PAD_EDGE: bool = FalseSTYLE_OPTIONS_TABLE_ROW_STYLESattributemodule attribute#
STYLE_OPTIONS_TABLE_ROW_STYLES: list[StyleType] | None = NoneSTYLE_OPTIONS_TABLE_SHOW_LINESattributemodule attribute#
STYLE_OPTIONS_TABLE_SHOW_LINES: bool = FalseSTYLE_OPTION_DEFAULTattributemodule attribute#
STYLE_OPTION_DEFAULT: StyleType = FROM_THEMESTYLE_OPTION_ENVVARattributemodule attribute#
STYLE_OPTION_ENVVAR: StyleType = FROM_THEMESTYLE_OPTION_HELPattributemodule attribute#
STYLE_OPTION_HELP: StyleType = FROM_THEMESTYLE_OPTION_NEGATIVEattributemodule attribute#
STYLE_OPTION_NEGATIVE: StyleType | None = FROM_THEMESTYLE_PADDING_EPILOGattributemodule attribute#
STYLE_PADDING_EPILOG: StyleType = FROM_THEMESTYLE_PADDING_ERRORSattributemodule attribute#
STYLE_PADDING_ERRORS: StyleType = FROM_THEMESTYLE_PADDING_HELPTEXTattributemodule attribute#
STYLE_PADDING_HELPTEXT: StyleType = FROM_THEMESTYLE_PADDING_USAGEattributemodule attribute#
STYLE_PADDING_USAGE: StyleType = FROM_THEMESTYLE_RANGE_APPENDattributemodule attribute#
STYLE_RANGE_APPEND: StyleType = FROM_THEMESTYLE_REQUIRED_LONGattributemodule attribute#
STYLE_REQUIRED_LONG: StyleType = FROM_THEMESTYLE_REQUIRED_SHORTattributemodule attribute#
STYLE_REQUIRED_SHORT: StyleType = FROM_THEMESTYLE_SWITCHattributemodule attribute#
STYLE_SWITCH: StyleType = FROM_THEMESTYLE_SWITCH_NEGATVEattributemodule attribute#
STYLE_SWITCH_NEGATVE: StyleType | None = FROM_THEMESTYLE_USAGEattributemodule attribute#
STYLE_USAGE: StyleType = FROM_THEMESTYLE_USAGE_COMMANDattributemodule attribute#
STYLE_USAGE_COMMAND: StyleType = FROM_THEMESTYLE_USAGE_SEPARATORattributemodule attribute#
STYLE_USAGE_SEPARATOR: StyleType = FROM_THEMETEXT_EMOJISattributemodule attribute#
TEXT_EMOJIS: bool = notsetTEXT_KWARGSattributemodule attribute#
TEXT_KWARGS: dict[str, Any] | None = NoneTEXT_MARKUPattributemodule attribute#
TEXT_MARKUP: Literal['ansi', 'rich', 'markdown', 'rst', None] = notsetTEXT_PARAGRAPH_LINEBREAKSattributemodule attribute#
TEXT_PARAGRAPH_LINEBREAKS: Literal['\n', '\n\n'] | None = NoneTHEMEattributemodule attribute#
THEME: str | RichClickTheme | None = NoneUSE_CLICK_SHORT_HELPattributemodule attribute#
USE_CLICK_SHORT_HELP: bool = FalseUSE_MARKDOWNattributemodule attribute#
USE_MARKDOWN: bool | None = NoneUSE_MARKDOWN_EMOJIattributemodule attribute#
USE_MARKDOWN_EMOJI: bool | None = NoneUSE_RICH_MARKUPattributemodule attribute#
USE_RICH_MARKUP: bool | None = NoneWIDTHattributemodule attribute#
WIDTH: int | None = terminal_width_default()