cli
cli copied to clipboard
A simple, fast, and fun package for building command line apps in Go
I think it could be invaluable to have three features that instantly would be of use in a clean and succinct way when further examining my own use cases for...
## Motivation & Context I have the following code: ``` app := cli.NewApp() app.Name = "myprogramname" ``` I then add a sub command with the name "foo", and in that...
Is there a simple way how to describe a command option (flag) on a few lines in generated help? The similar way how git options are described, see OPTIONS in...
Zsh autocompletion not working in Fedora 35 Hello I was trying to get completions in a cli app. I have followed instructions as provided [here](https://github.com/urfave/cli/blob/master/docs/v2/manual.md#bash-completion). I was trying to use...
I am adding auto completion to my cli app. I am following doc and set `app.EnableBashCompletion = true` and made changes to zsh shell config. But we I am trying...
I tried to use urfave's api to do it, but I didn't find it, maybe I don't know? ````sh saki run setup --filter libs/* # single filter parameter saki run...
Now I have to create separate `cli.Flag` flag instances for `Required` and `Optional`, which is quite tedious: ```golang // HeightFlag ... var HeightFlag = cli.IntFlag{ Name: "height", Usage: "specify height",...
## 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 for your release? The v2 manual...
## Is it expected that flags in command help output and error messages are inconsistent in terms of dash count to used? Bare in mind these are my first steps...
Can i write dynamic completion? like cobra :) 