cli
cli copied to clipboard
A simple, fast, and fun package for building command line apps in Go
If there's a way to do this, it's not apparent to me or in the docs, but there doesn't seem to be an obvious way to distinguish between --someflag ""...
Hello, I was going through the repo (I am using `cli` for my new project) and I found that it supports generation of bash and zsh completion files automatically. That...
When we got a long text description in Usage, it should automatically wrap and make a nice display. A bit like what "man" does, it automatically rewraps the text so...
## mutual exclusive options Is it possible to make an option required if another option is not provided. **e.g.** If I provide `--app-id` `--app-secret` then `--token` is not required. If...
Flag Action
I think I can already do this by creating a custom struct that implements `Flag`, but maybe it's something we could have in the package 🤔 Consider this: ```go var...
## 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...
## How I can able to make the flags to be available across whole my script with possibility to use them on any place when running script? Example : ```...
## my question is... _**( how can I bind flags to nested yaml elements ? )**_ I'm evaluation `urfave/cli` - so I'm a newbiew here - as foundation for the...
## 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...
## 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...