bool flags with air commands? #317
Unanswered
marcusprice
asked this question in
Q&A
Replies: 1 comment
-
According to the README it should be If you want to do by command line, try arelo. arelo -p '**/*.go' -- go run main.go -init=true |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I'm sure I'm missing something simple here, but I'm trying to use a bool flag and it doesn't seem to be picking it up when I run the app with air. When I run the app with the go command (i.e.
go run main.go -init=true
) it works but when I run the same command with air (air run main.go -init=true
) it just picks up the default value false.Here's a sample of the code:
Does anything appear to be wrong in my air command or code? Thanks in advance for your help :)
Beta Was this translation helpful? Give feedback.
All reactions