Implement blackbox in Golang (#250)

* Initial release
This commit is contained in:
Tom Limoncelli
2020-07-24 14:21:33 -04:00
committed by GitHub
parent e049c02655
commit 1c77c87555
86 changed files with 6074 additions and 22 deletions

22
cmd/blackbox/blackbox.go Normal file
View File

@@ -0,0 +1,22 @@
package main
import (
"fmt"
"os"
_ "github.com/StackExchange/blackbox/v2/pkg/crypters"
_ "github.com/StackExchange/blackbox/v2/pkg/crypters/_all"
_ "github.com/StackExchange/blackbox/v2/pkg/vcs"
_ "github.com/StackExchange/blackbox/v2/pkg/vcs/_all"
)
var dryRun bool
func main() {
app := flags()
err := app.Run(os.Args)
if err != nil {
fmt.Fprintf(os.Stderr, "ERROR: %s\n", err)
os.Exit(1)
}
}