Open jkodroff opened 1 year ago
This appears to be a bug with cobra at this point, but I can't determine why these values are not being set.
~/.connecti.yaml
it works greatviper.GetString
things appear to be betterI've opened https://github.com/spf13/cobra/issues/1890 to see if I can get some insight
When I run the following command:
Connecti fails:
If I dump the parsed arguments from Viper, I get the following:
Note that
routes
,apikey
,routes
, andtailnet
are all blank despite being specified in the command.If I specify
TAILSCALE_TAILNET
andTAILSCALE_API_KEY
, the command will succeed, althoughroutes
still shows as blank.