MCPcopy Index your code
hub / github.com/dbcli/mycli / echo

Method echo

mycli/output.py:85–88  ·  view source on GitHub ↗

Print a message to stdout.

(self, s: str, **kwargs)

Source from the content-addressed store, hash-verified

83 click.echo(output, file=self.logfile)
84
85 def echo(self, s: str, **kwargs) -> None:
86 """Print a message to stdout."""
87 self.log_output(s)
88 click.secho(s, **kwargs)
89
90 def get_output_margin(self, status: str | None = None) -> int:
91 """Get the output margin for prompt, footer, timing, and status."""

Callers 15

__init__Method · 0.45
run_from_cli_argsFunction · 0.45
log_outputMethod · 0.45
run_queryMethod · 0.45
handle_llmFunction · 0.45
get_schemaFunction · 0.45
get_sample_dataFunction · 0.45
sql_using_llmFunction · 0.45
write_teeFunction · 0.45
write_onceFunction · 0.45
handle_cd_commandFunction · 0.45
_create_historyFunction · 0.45

Calls 1

log_outputMethod · 0.95

Tested by

no test coverage detected