You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, if I have another command (in my case named "generic") which uses the same named flag, then cli.FlagValues().GetString("image") returns the default value of the "image" flag from the other command.
As a workaround, I've renamed the flag in the new command: LMHD/lucli@6c6d63a
The text was updated successfully, but these errors were encountered:
For example, I have
https://github.com/LMHD/lucli/blob/master/cmd/jess.go#L35-L36
In my init function, I have
https://github.com/LMHD/lucli/blob/master/cmd/jess.go#L53
For this command, the correct value is used (either the default, or user-specified)
However, if I have another command (in my case named "generic") which uses the same named flag, then
cli.FlagValues().GetString("image")
returns the default value of the "image" flag from the other command.As a workaround, I've renamed the flag in the new command:
LMHD/lucli@6c6d63a
The text was updated successfully, but these errors were encountered: