Expand description
Configuration-tree loading and CLI helpers for layered config files.
The high-level API loads confique schemas directly, while the lower-level
tree traversal helpers remain available for custom loaders.
Use config::ConfigSchema with a confique::Config type when your schema owns an
include field. Use config::load_config to load the root config, all recursive
includes, .env values, and schema-declared environment values into the
final schema. Use config::build_config_figment or config::load_config_with_figment
when you need runtime source tracking. Use config::write_config_templates or
cli::ConfigCommand to generate example template files that mirror the same
include tree. Use config::write_config_schemas to generate root and section JSON
Schemas for editor completion and validation. Use
cli::install_shell_completion and cli::uninstall_shell_completion for reusable
shell completion lifecycle commands.
Modulesยง
- cli
- Clap subcommand integration and shell completion installation helpers.
- config
- High-level
confiqueintegration and generate-template rendering. - config_
schema - JSON Schema generation and section-schema splitting.
- error
- Error types shared by the tree loader and high-level config API.
- path
- Lexical path normalization and include path resolution.
- template_
tree - Low-level template target discovery.
- tree
- Recursive include tree traversal primitives.