cli
cli copied to clipboard
A simple, fast, and fun package for building command line apps in Go
### My urfave/cli version is v3.5.0 (latest as of 2025-10-30) ### Checklist - Are you running the latest v3 release? The list of releases is https://github.com/urfave/cli/releases. ✅ - Did you...
## What problem does this solve? - needing to have the opportunity to change FlagStringer for mutually exclusive flags ## Solution description For example, we have mutually exclusive flags m1...
## My urfave/cli version is _**v3.4.1**_ ## Checklist - [x] Are you running the latest v3 release? The list of releases is [here](https://github.com/urfave/cli/releases). - [x] Did you check the manual...
## What type of PR is this? _(REQUIRED)_ - bug ## What this PR does / why we need it: _(REQUIRED)_ Currently "--" is completed to "--help," (note the comma!)...
## My urfave/cli version is _**3.5.0**_ ## Dependency Management - My project is using go modules. ## Describe the bug Aliases defined for BoolWithInverseFlag are processed, but not shown in...
> A new case to use beforeFun() before --help flag is to set up a language for that help-information. > And also it is really strange, that help as a...
## What type of PR is this? - bug ## What this PR does / why we need it: The custom help template was not getting used in subcommand help....
## My urfave/cli version is v3 ## Checklist - [x] Are you running the latest v3 release? The list of releases is [here](https://github.com/urfave/cli/releases). - [x] Did you check the manual...
My question is how to set up a string map of a string slice. Input: --cidrs "dev=10.0.0.0/8,192.168.1.1/32" --ip-list "prod=10.1.0.0/8" Currently configured like this: ``` &cli.StringMapFlag{ Name: "cidrs", Value: map[string]string{}, Validator:...