mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
18 lines
240 B
Go
18 lines
240 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/jessevdk/go-flags"
|
|
"os"
|
|
|
|
"github.com/danielmiessler/fabric/cli"
|
|
)
|
|
|
|
func main() {
|
|
_, err := cli.Cli(version)
|
|
if err != nil && !flags.WroteHelp(err) {
|
|
fmt.Printf("%s\n", err)
|
|
os.Exit(1)
|
|
}
|
|
}
|