1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! # Stand
//!
//! A CLI tool for explicit environment variable management.
//!
//! Stand provides a clean, organized way to handle different environments
//! (dev, staging, prod) with their specific configurations. Unlike tools that
//! automatically load variables on directory entry, Stand gives you explicit
//! control over environment switching.
//!
//! ## Features
//!
//! - **Environment Management**: Define and switch between multiple environments
//! - **Variable Inheritance**: Use `extends` to inherit from other environments
//! - **Variable Interpolation**: Reference system environment variables with `${VAR}`
//! - **Shell Integration**: Start shell sessions with environment loaded
//! - **Command Execution**: Execute commands with specific environment variables
//!
//! ## Installation
//!
//! ```bash
//! cargo install stand
//! ```
//!
//! ## Quick Start
//!
//! ```bash
//! # Initialize a new project
//! stand init
//!
//! # List available environments
//! stand list
//!
//! # Start a shell with an environment
//! stand shell dev
//!
//! # Execute a command with an environment
//! stand exec prod -- npm start
//! ```
//!
//! For more information, see the [GitHub repository](https://github.com/ueneid/stand).