cli
cli copied to clipboard
A simple, fast, and fun package for building command line apps in Go
## My urfave/cli version is v3.3.3 ## 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 urfave/cli version is v3.3.2 ## 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 urfave/cli version is v2.27.5 ## Checklist - [X] Are you running the latest v2 release? The list of releases is [here](https://github.com/urfave/cli/releases). - [X] Did you check the manual...
Version: 706f78e My initial look for a the cause is that the default `SubcommandHelpTemplate` does not contain: ``` {{if .VisiblePersistentFlags}} GLOBAL OPTIONS:{{template "visiblePersistentFlagTemplate" .}}{{end}} ``` See `CommandHelpTemplate` where this is...
Hi! Please guys. Actually in `v3` how to make several slice flags to share the same destination . What I'm trying is [something like this](https://go.dev/play/p/LzjRx-ApOfZ) ```golang package main import (...
Hey ! I'd like to create a urfave command to manage nested resources, and would like a CLI interface like this: ```sh $ manage author book delete ``` (Books aren't...
Newbie question: how to _really_ change CommandHelpTemplate and where did AppHelpTemplate go? (v3)
Hi there 👋 I'm currently using v3 to do some quick & dirty CLI applications. I've been often overwhelmed by the sheer size and complexity of this package, considering that...
The `--attack` is a bool flag, but when run as: ```bash ./bin/op-challenger move -attack 1 --claim 0xffff --private-key $PK ``` `--attack 1` makes the remaining parameters empty(e.g., `--private-key` will be...
## My urfave/cli version is github.com/urfave/cli/v2 v2.27.5 ## Checklist - [x] Are you running the latest v2 release? The list of releases is [here](https://github.com/urfave/cli/releases). - [x] Did you check the...
From time to time I want to show an error and then command helpscreen. ```go if args.Len() < 3 { fmt.Printf("You must choose at least 3 files!\") // --- the...