WIP: zenity command.

This commit is contained in:
Nuno Cruces 2020-01-09 03:00:22 +00:00
parent 23eb1aabe2
commit 51595d7ecc
3 changed files with 1 additions and 7 deletions

View file

@ -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
View file

@ -1,5 +1,3 @@
module github.com/ncruces/zenity
go 1.13
require rsc.io/getopt v0.0.0-20170811000552-20be20937449

2
go.sum
View file

@ -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=