gin
gin copied to clipboard
Incorrect Usage: flag provided but not defined: -appPort
OS: Windows 10 Professional Edition Command: gin.exe run --appPort 8081 .\main.go Output:
Incorrect Usage: flag provided but not defined: -appPort
NAME:
gin.exe run - Run the gin proxy in the current working directory
USAGE:
gin.exe run [arguments...]
Is there something I am missing?
This had me stuck for a while... you have to put your arguments before "run".. e.g. gin --port $PORT run
I'm also having the same exact problem adding flags.
gin
is built on "gopkg.in/urfave/cli.v1"
which can display a help page using gin help
for anyone wondering how to find out how to supply arguments