fmt flag
This commit is contained in:
parent
5450300aef
commit
7c42605c85
1
main.go
1
main.go
|
@ -74,6 +74,7 @@ func main() {
|
||||||
&cli.BoolFlag{Name: "build", Value: false, Usage: "Enable go build"},
|
&cli.BoolFlag{Name: "build", Value: false, Usage: "Enable go build"},
|
||||||
&cli.BoolFlag{Name: "run", Usage: "Disable go run"},
|
&cli.BoolFlag{Name: "run", Usage: "Disable go run"},
|
||||||
&cli.BoolFlag{Name: "bin", Usage: "Disable go install"},
|
&cli.BoolFlag{Name: "bin", Usage: "Disable go install"},
|
||||||
|
&cli.BoolFlag{Name: "fmt", Usage: "Disable gofmt"},
|
||||||
},
|
},
|
||||||
Action: func(p *cli.Context) error {
|
Action: func(p *cli.Context) error {
|
||||||
y := r.New(p)
|
y := r.New(p)
|
||||||
|
|
Loading…
Reference in New Issue