fabric/main.go

18 lines
237 B
Go
Raw Normal View History

2024-08-16 19:43:27 +00:00
package main
import (
"fmt"
"github.com/jessevdk/go-flags"
2024-08-16 19:43:27 +00:00
"os"
"github.com/danielmiessler/fabric/cli"
)
func main() {
err := cli.Cli(version)
if err != nil && !flags.WroteHelp(err) {
2024-08-16 19:43:27 +00:00
fmt.Printf("%s\n", err)
os.Exit(1)
2024-08-16 19:43:27 +00:00
}
}