leo icon indicating copy to clipboard operation
leo copied to clipboard

[Proposal] Consider an alternative approach to `.env` files.

Open d0cd opened this issue 7 months ago • 1 comments

.env configurations are unwieldy especially when you have multiple roles.

While PRIVATE_KEYs should be hidden, it doesn't make much sense to have the network or endpoint an a hidden config. These could be moved to program.json

We could also consider something like profiles managed by the Leo CLI to make managing configs easier.

d0cd avatar May 20 '25 16:05 d0cd

I'm in favour of moving network and endpoint to program.json as a first step.

mohammadfawaz avatar May 22 '25 14:05 mohammadfawaz