Crate stand

Crate stand 

Source
Expand description

§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

cargo install stand

§Quick Start

# 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.

Modules§

cli
commands
config
environment
error
process
shell
state
utils