891ffb017b
In this commit I added a DestinationPointer variable that should be set if the `Destination` should be configured as a pointer for a specific flag type. It is expected that Generic type which is an interface will not be a pointer but a struct. Before this change the code compilation was failing with `type *Generic is pointer to interface, not interface`. See https://github.com/urfave/cli/issues/1441 |
||
---|---|---|
.. | ||
generated_test.gotmpl | ||
generated.gotmpl | ||
go.mod | ||
go.sum | ||
main_test.go | ||
main.go | ||
Makefile | ||
README.md |
urfave-cli-genflags
This is a tool that is used internally by urfave/cli to generate
flag types and methods from a YAML input. It intentionally pins
usage of github.com/urfave/cli/v2
to a release rather than
using the adjacent code so that changes don't result in this tool
refusing to compile. It's almost like dogfooding?
support warning
This tool is maintained as a sub-project and is not covered by the API and backward compatibility guaranteed by releases of urfave/cli.