//! Implements `limb config`. Prints resolved configuration as JSON.
use Result;
use Serialize;
use crate;
use crateContext;
/// Debug-friendly combined view of the resolved configuration.
/// Runs `limb config`.
///
/// Emits a single JSON document with both the resolved global config and
/// the nearest `.limb.toml` (if any). Intended for piping into `jq`.
///
/// # Errors
///
/// Returns an error if the global config cannot be loaded.