StringSliceFlag does not set destination when reading from yaml #1197
Labels
area/v2
relates to / is being considered for v2
kind/bug
describes or fixes a bug
status/triage
maintainers still need to look into this
Milestone
my urfave/cli version is
( v2.2.0 )
Checklist
Dependency Management
Describe the bug
The
Destination
field of aStringSliceFlag
is not set when reading from a YAML fileTo reproduce
Create YAML file with the following content:
Create a Go application with the following code:
Observed behavior
This code will print:
Expected behavior
the value read from the file and associated to the
dependency
flag should be available both via the context and the destination.Run
go version
and paste its output hereRun
go env
and paste its output hereThe text was updated successfully, but these errors were encountered: