earthly-config
A very simple tool to help manage a symlink to versioned earthly binaries.
This tool just manages a $HOME/.local/bin/earthly
symlink, changing the
version that the symlink points to.
installation
$ go install git.sr.ht/~nelsam/earthly-config
usage
$ earthly-config list
Available Versions:
[0] 0.6.30-linux-amd64: /home/nelsam/.local/bin/earthly-0.6.30-linux-amd64
[1] 0.7-rc3-linux-amd64: /home/nelsam/.local/bin/earthly-0.7-rc3-linux-amd64
[2] 0.7.0-linux-amd64: /home/nelsam/.local/bin/earthly-0.7.0-linux-amd64
[3] 0.7.12-linux-amd64: /home/nelsam/.local/bin/earthly-0.7.12-linux-amd64
$ earthly-config set 1
$ earthly --version
earthly version v0.7.0-rc3 1d31fcba5c493cf9c9640430587fad37422a859b linux/amd64; Gentoo