Add a dev flag for skipping challenge pre-checks

This commit is contained in:
xenolf 2015-10-18 01:57:46 +02:00
parent 835927f5d5
commit b49f37d920
3 changed files with 14 additions and 5 deletions

4
cli.go
View file

@ -80,6 +80,10 @@ func main() {
Name: "port",
Usage: "Challenges will use this port to listen on. Please make sure to forward port 443 to this port on your machine. Otherwise use setcap on the binary",
},
cli.BoolFlag{
Name: "devMode",
Usage: "If set to true, all client side challenge pre-tests are skipped.",
},
}
app.Run(os.Args)