{"repo":"m-mizutani/zenv","free":true,"listed":false,"github":"https://github.com/m-mizutani/zenv","clone":"git clone https://github.com/m-mizutani/zenv.git","description":"Enhanced env command to set environment variable by various method","language":"Go","stars":152,"topics":["shell","environment-variables"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"zenv zenv is enhanced env command to manage environment variables in CLI. - Load environment variables from multiple sources: - .env files with static values, file content reading, and command execution - YAML configuration files with advanced features - Inline environment variable specification (KEY=value format) - System environment variables - Replace command line argument with loaded environment variable - Variable precedence: System to extract a single string field: aws secret / gcp secret also support refs , so the path itself can interpolate other variables: Notes: - AWS: the reference must be a full ARN ( arn:aws:secretsmanager:... ); a bare secret name is rejected. A version-pinned secret is selected by passing a version-qualified ARN; otherwise AWSCURRENT is used. - GCP: the path must include /versions/ (use latest for the most recent version). A path without a version defaults to latest . - These value sources are available in both YAML and HCL configuration files. Variable References (Alias) Reference other variables or system environment variables: Templates (Variable Interpolation) Combine multiple variables using Go's text/template syntax by adding refs : Template Features: - Use {{ .VAR NAME }} to reference variables - Support conditional logic: {{ if }} / {{ else }} / {{ end }} - Can reference system environment variables, .env variables, and YAML variables - Both value and command support templates with refs Profile Support Manage different configurations fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/m-mizutani","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/m-mizutani/zenv/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}