Skip to content

tinloof/genv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

genv

GitHub Actions variables & secrets from the CLI — a small gh wrapper.

Install

curl -fsSL https://genv.tinloof.com/install.sh | sh

Requires the GitHub CLI (gh), authenticated (gh auth login), and a bash shell (on Windows: Git Bash or WSL).

Usage

genv list   [-e <env>] [--full]                          # list variables & secrets in one table
genv pull   [-e <env>] [-f <file>]                       # variables → dotenv file (default .env)
genv push   [-e <env>] [-f <file>]                       # dotenv file → variables
genv var    <NAME> [value] [-e <env>]                    # set one variable
genv secret <NAME> [value] [--fallback <v>] [-e <env>]   # set a secret (+ optional fallback variable)

No -e targets repo-level config; -e <name> targets an environment (created if missing). Run genv --help for details.

About

GitHub Actions variables & secrets from the CLI — a small gh wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages