Show all configuration values.
()
| 998 | |
| 999 | @config.command("show") |
| 1000 | def 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") |
nothing calls this directly
no test coverage detected