sdk

cli stands for client!
This is unofficial client of SDKMAN! which is amazing service and the only sane way to control whole java version as far as I know.
Though SDKMAN is convenient and makes you smile on linux and macOS environment, whole client of SDKMAN is written in bash script. It means SDKMAN is very platform specific. It will not work properly on fish shell or windows environment.
There were notable efforts to use SDKMAN on powershell or fish but the only solution for these might be writing whole client in platform-agnostic way like go or rust.
There's plan to migrate SDKMAN client with rust which is platform-agnostic language, and this repository is just alternative before that releases.
Installation
env GO111MODULE=on go get github.com/palindrom615/sdk
# You should add "eval $(sdk" export bash)" on your .bashrc file
echo "eval \$(sdk export bash)" >> ~/.bashrc
Build
go build main.go