MCPcopy
hub / github.com/opentrace/opentrace / config_show

Function config_show

agent/src/opentrace_agent/cli/main.py:1000–1010  ·  view source on GitHub ↗

Show all configuration values.

()

Source from the content-addressed store, hash-verified

998
999@config.command("show")
1000def config_show() -> None:
1001 """Show all configuration values."""
1002 from opentrace_agent.cli.config import load_config
1003
1004 path = _resolve_config_path()
1005 data = load_config(path)
1006 if not data:
1007 click.echo("No configuration set.")
1008 return
1009 for k, v in data.items():
1010 click.echo(f"{k}: {v}")
1011
1012
1013@config.command("path")

Callers

nothing calls this directly

Calls 2

load_configFunction · 0.90
_resolve_config_pathFunction · 0.85

Tested by

no test coverage detected