From 43d2d2f3d912370b7aea05a767151d3b4def778e Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Wed, 21 Jul 2021 19:21:14 -0500 Subject: Add subcommand structure for diff, list, and overwrite --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 9bd4a38..8eb4bd8 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "os" "io" "fmt" - "golang.furkistan.com/zfdiff/cmds" + "golang.furkistan.com/zfdiff/cmd" ) func printUsage(w io.Writer) { @@ -35,11 +35,11 @@ func main() { case "list": cmd.List(subargs) case "overwrite": - //overwrite(subargs) + cmd.Overwrite(subargs) case "cat": - //cmd.Cat(subargs) + cmd.Cat(subargs) case "diff": - //diff(subargs) + cmd.Diff(subargs) case "-h", "-help", "--help", "help": printUsage(os.Stdout) default: -- cgit v1.2.3