Skip to content
/ shenv Public

CLI tool to create persistent environment variables for shell scripts

License

Notifications You must be signed in to change notification settings

kstdx/shenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

shenv

CLI tool to create persistent environment variables for shell scripts

Install

deno install -A -f -n shenv --location=https://github.com/kstdx/shenv https://raw.githubusercontent.com/kstdx/shenv/main/main.js

Usage

1. Get value from key

shenv KEY_NAME

2. Set value with key

shenv --set --key=KEY_NAME --value="[value]"

3. Delete value from key

shenv --delete --key=KEY_NAME

4. List all items

shenv --list

Examples

Use with deployctl

Set token:

shenv --set --key=DEPLOY_TOKEN --value="[token value]"

Deploy:

deployctl deploy --token=$(shenv DEPLOY_TOKEN) --project main.ts

About

CLI tool to create persistent environment variables for shell scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages