A lightweight and flexible library for building command-line interfaces (CLIs) in Go. This library provides a simple and intuitive way to define commands, flags (including short names), aliases and more.

bash-completion cli cli-app command command-line commandline go go-cli-builder golang golang-library library subcommands
3 Open Issues Need Help Last updated: Jul 2, 2025

Open Issues Need Help

View All on GitHub

AI Summary: Implement pre-run and post-run hooks for commands in the Go CLI builder library. This involves adding new fields to the `Command` struct (e.g., `PreRun` and `PostRun` functions) and modifying the execution flow to call these functions before and after the `Run` function.

Complexity: 3/5
enhancement good first issue

A lightweight and flexible library for building command-line interfaces (CLIs) in Go. This library provides a simple and intuitive way to define commands, flags (including short names), aliases and more.

Go
#bash-completion#cli#cli-app#command#command-line#commandline#go#go-cli-builder#golang#golang-library#library#subcommands

AI Summary: Enhance the Go CLI Builder library to differentiate between optional and required flags when defining them. The current flag helpers treat all flags as optional; the enhancement should allow developers to specify whether a flag is mandatory, resulting in an error if the flag is not provided when the CLI is run.

Complexity: 3/5
enhancement good first issue

A lightweight and flexible library for building command-line interfaces (CLIs) in Go. This library provides a simple and intuitive way to define commands, flags (including short names), aliases and more.

Go
#bash-completion#cli#cli-app#command#command-line#commandline#go#go-cli-builder#golang#golang-library#library#subcommands

AI Summary: Implement recursive command execution in the Go CLI builder library to support nested subcommands. The existing `SubCommands` slice in the `Command` structure should be used to recursively search for and execute commands based on the provided command line arguments.

Complexity: 3/5
enhancement good first issue

A lightweight and flexible library for building command-line interfaces (CLIs) in Go. This library provides a simple and intuitive way to define commands, flags (including short names), aliases and more.

Go
#bash-completion#cli#cli-app#command#command-line#commandline#go#go-cli-builder#golang#golang-library#library#subcommands