cli icon indicating copy to clipboard operation
cli copied to clipboard

A simple, fast, and fun package for building command line apps in Go

Results 239 cli issues
Sort by recently updated
recently updated
newest added

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...

kind/feature
help wanted
area/v2
status/user-feedback-required

## 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...

kind/feature
kind/discussion
area/v2
status/confirmed

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...

kind/question
area/v2
status/triage

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...

kind/question
area/v2
status/triage

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...

kind/question
area/v2
status/triage

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...

kind/question
area/v2
status/triage

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",...

kind/question
area/v2
status/triage

## 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...

kind/feature
area/v2
status/triage

## 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...

kind/question
area/v2
status/triage

Can i write dynamic completion? like cobra :) ![image](https://user-images.githubusercontent.com/25526033/138989713-30d1734a-d648-45e2-9b11-fc85df1391e4.png)

kind/question
area/v2
status/triage