go-flags
go-flags copied to clipboard
alias for flags
Could the alias option be added for flags as well as commands? It would be handy to be able to put common misspellings/punctuation as options.
For example
FeatureFlags struct { NoCache bool
long:"nocache" alias:"no-cache" description:"Disable caches
}`
Currently trying to add this functionality, any pointers would be appreciated https://github.com/RichardoC/go-flags
Any news on this?
I need to rename a flag and alias would help for backward compatibility
Still hoping that this feature gets added, I wasn't able to add it at the time I was experimenting with this