Environment Variables #802
johnlindquist
announced in
Docs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Read and Write from ~/.kenv/.env
The
env
helper will read environment variables from ~/.kenv/.env. If the variable doesn't exist, it will prompt you to create it.Open env-example in Script Kit
Choose an Environment Variable
If you pass a function as the second argument to
env
, it will only be called if the variable doesn't exist.This allows you to set Enviroment Variables from a list, an API, or any other data source.
Open choose-an-environment-variable in Script Kit
Beta Was this translation helpful? Give feedback.
All reactions