devops-works / binenv

One binary to rule them all. Manage all those pesky binaries (kubectl, helm, terraform, ...) easily.
MIT License
366 stars 44 forks source link

custom distribution.yaml file to be included locally #253

Closed xinity closed 1 week ago

xinity commented 2 months ago

hey there,

it's an awesome project i've discovered here, hoping it will leave for a long time onward :)

i've been wondering if there is a possibility to create our own distribution.yaml file and have it "included" in the default one ?

something like:

if custom-distribution.yaml exist
then
include custom-distribution.yaml 

that would be so freaking cool :)

keep up the awesome work anyway !

leucos commented 1 week ago

@xinity this is now on the develop branch if you want to try it out ;)

You can add a .yaml file in ~/.config/binenv with your custom sources. Note that files are evaluated in lexicographical order, so if a key if defined in aaa.yaml and then in distributions.yml, the value defined in aaa.yaml will be overriden by the one in distribution.yaml.

Will merge and release soon.

Sorry for the wait.

xinity commented 1 week ago

Kowabonga!!!!!

leucos commented 1 week ago

released in v0.20.0 :tada: (also included: implementation for binenv local ...)