Environment Variables
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