fabric/main.go

18 lines
240 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() {
2024-09-26 18:57:37 +00:00
_, 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
}
}