mirror of
https://github.com/StackExchange/blackbox.git
synced 2025-12-16 19:42:59 +02:00
22
cmd/blackbox/blackbox.go
Normal file
22
cmd/blackbox/blackbox.go
Normal 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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user