Skip to main content

zorath_env/
lib.rs

1//! zorath-env -- .env validation, documentation, and export library.
2//!
3//! # Public API (stable)
4//!
5//! - [`envfile::parse_env_file`], [`envfile::parse_env_str`] -- Parse .env files
6//! - [`envfile::interpolate_env`] -- Resolve variable references
7//! - [`schema::load_schema_with_options`] -- Load JSON/YAML schemas (local or remote)
8//! - [`commands::check::validate`], [`commands::check::validate_files`] -- Validation
9//! - [`commands::export::export_to_string`] -- Export env to shell/docker/k8s/json/systemd
10//! - [`commands::docs::generate_markdown`], [`commands::docs::generate_json`] -- Generate docs
11//! - [`commands::example::generate`] -- Generate .env.example content
12//!
13//! # Internal modules
14//!
15//! Command `run()` functions are CLI entry points that perform I/O and print
16//! to stdout/stderr. They are not part of the stable library API and are
17//! marked `#[doc(hidden)]`.
18
19pub mod commands;
20pub mod config;
21pub mod envfile;
22pub mod errors;
23pub mod presets;
24pub mod remote;
25pub mod schema;
26pub mod secrets;
27pub mod suggestions;