babycli
is a modern CLI arguments parser for Go.
The minimum Go version is go1.23
.
The babycli
package can be added to a project with go get
.
go get cattlecloud.net/go/babycli@latest
import "cattlecloud.net/go/babycli"
This library was made after many projects of using urfave/cli,
one of the better command line parser libraries for Go. babycli
models itself
after this library but with a cleaner, more robust implementation under the hood.
Credit of inspiration belongs to the authors.
(!) Please note this library is still experimental and being worked on, with breaking changes being very likely.
The cattlecloud.net/go/babycli
module is open source under the BSD license.