WIP: zenity command.
This commit is contained in:
parent
23eb1aabe2
commit
51595d7ecc
3 changed files with 1 additions and 7 deletions
|
@ -5,8 +5,6 @@ import (
|
|||
"os"
|
||||
"strings"
|
||||
|
||||
"rsc.io/getopt"
|
||||
|
||||
"github.com/ncruces/zenity"
|
||||
"github.com/ncruces/zenity/internal/cmd"
|
||||
)
|
||||
|
@ -46,7 +44,7 @@ var (
|
|||
|
||||
func main() {
|
||||
setupFlags()
|
||||
getopt.Parse()
|
||||
flag.Parse()
|
||||
validateFlags()
|
||||
opts := loadFlags()
|
||||
cmd.Command = true
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,5 +1,3 @@
|
|||
module github.com/ncruces/zenity
|
||||
|
||||
go 1.13
|
||||
|
||||
require rsc.io/getopt v0.0.0-20170811000552-20be20937449
|
||||
|
|
2
go.sum
2
go.sum
|
@ -1,2 +0,0 @@
|
|||
rsc.io/getopt v0.0.0-20170811000552-20be20937449 h1:UukjJOsjQH0DIuyyrcod6CXHS6cdaMMuJmrt+SN1j4A=
|
||||
rsc.io/getopt v0.0.0-20170811000552-20be20937449/go.mod h1:dhCdeqAxkyt5u3/sKRkUXuHaMXUu1Pt13GTQAM2xnig=
|
Loading…
Reference in a new issue