kit icon indicating copy to clipboard operation
kit copied to clipboard

Env file support

Open alexec opened this issue 1 year ago • 1 comments

If you want to change many environment variables at once you need to give them all. It is verbose. It might be nice to have .env files imported, e.g. “kit -e test” would import “test.env”.

alexec avatar Oct 09 '23 21:10 alexec

For reference, Task has this built into its spec. You can list one or multiple env files under the dotenv keyword at both the top-level and the task level. I think that option is more flexible and simpler than CLI args if you plan to add that.

In general, Task's spec is pretty comprehensive (outside of the key process management things that kit can do). Would be cool if their specs were even more closer to each other!

agilgur5 avatar Oct 10 '23 02:10 agilgur5