Skip to main content

Module config

Module config 

Source
Expand description

doiget config <action> — config introspection.

This subcommand is intentionally read-only and does NOT touch the network or instantiate the Store. Phase 1 resolves config from environment variables only with default fallbacks; the user config.toml reader lands in a follow-up. See docs/CONFIG.md for the canonical schema.

print_stdout is denied workspace-wide for MCP stdio safety (ADR-0001 / docs/SECURITY.md §3). The config show and config path actions are the spec’d stdout channel for human-facing introspection — they are never invoked from inside an MCP session (doiget serve runs a different code path), so the lint is locally relaxed below.

Structs§

ResolvedConfig
Snapshot of the env-var + default-fallback config that doiget would use on the current machine.

Functions§

run
Dispatch entrypoint for doiget config <action>.