Skip to content

babycli implements declarative parsing of command line arguments including support for subcommands, command aliases, long and short flag names, repeated flags, and custom help messages for Go

License

Notifications You must be signed in to change notification settings

cattlecloud/babycli

Repository files navigation

babycli

Go Reference License Build

babycli is a modern CLI arguments parser for Go.

Requirements

The minimum Go version is go1.23.

Getting Started

The babycli package can be added to a project with go get.

go get cattlecloud.net/go/babycli@latest
import "cattlecloud.net/go/babycli"

Influence

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.

Experimental

(!) Please note this library is still experimental and being worked on, with breaking changes being very likely.

License

The cattlecloud.net/go/babycli module is open source under the BSD license.

About

babycli implements declarative parsing of command line arguments including support for subcommands, command aliases, long and short flag names, repeated flags, and custom help messages for Go

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •