dearchap

Results 220 comments of dearchap

The way I see it urfave/cli gives you the basic building blocks. User could use reflection and tags and build the necessary flag slice for commands. I like this feature...

@Archwizard The code you have posted works ``` $ cat example.yml log: verbose: 1 file: log.txt $ go run main.go --config example.yml config file: example.yml, log {file: log.txt, verbose: 1}...

@sshaw Do you have a complete example to share ?

@liuwangchen Yes you can. Look at the App.BashCompleteFunc and Command.BashCompleteFunc vars which allow you to do just that

I'm going to close this issue since we are moving altsrc to a separate repo

@kneal do you have any examples that utilize this behavior? Since this is a breaking change I would likely target for v3

@flowchartsman This a a good idea. Would you like to submit a PR for this ?

@flowchartsman PR #1545 might help. Can you let me know if it is what you are looking for ? We cant change the interface{} to error but breaking some clients...