Skip to main content

Module config

Module config 

Source

Re-exports§

pub use crate::home::full_expand;
pub use crate::home::full_expand_with_home;
pub use crate::home::tilde_expand;

Structs§

Config
EnvOverrideSource
Identifies the override file (global/overlay/project shine.env.toml) that currently supplies a given env key’s effective value, if any.
EnvProxyRule
A command whose protected environment values are injected by a shine proxy.

Enums§

EnvOverrideKind
Which override-file layer supplied an env key’s effective value. Ordered low-to-high by precedence (a later layer shadows an earlier one), matching the apply order in Config::load_or_init.
ExternalShellMode

Constants§

CURRENT_RUNTIME_SCHEMA_VERSION
DEFAULT_ENV_VARS

Functions§

default_env_map
print_presets_note
Print the effective base preset source, optional overlay, and external shell deployment mode. This makes built-in, external, and overlay-backed runs report provenance with the same vocabulary.
write_env_override_entry
Set (Some) or remove (None) one key in a shine.env.toml-shaped override file, preserving comments/formatting of unrelated entries and the description of a { value, description } entry being updated. Creates the file (and its parent directory) if it doesn’t exist yet.