MCPcopy
hub / github.com/pallets/click / CLIError

Class CLIError

tests/test_testing.py:229–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227
228def test_with_color_errors():
229 class CLIError(ClickException):
230 def format_message(self) -> str:
231 return click.style(self.message, fg="red")
232
233 @click.command()
234 def cli():

Callers 1

cliFunction · 0.85

Calls

no outgoing calls

Tested by 1

cliFunction · 0.68