mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
e8d5fba256
As per the os.Exit documentation, the exit code should be in the rage [0, 125]
17 lines
176 B
Go
17 lines
176 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/danielmiessler/fabric/cli"
|
|
)
|
|
|
|
func main() {
|
|
_, err := cli.Cli()
|
|
if err != nil {
|
|
fmt.Printf("%s\n", err)
|
|
os.Exit(1)
|
|
}
|
|
}
|