aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-07-21 19:21:14 -0500
committerFurkan Sahin <furkan-dev@proton.me>2021-07-21 19:21:14 -0500
commit43d2d2f3d912370b7aea05a767151d3b4def778e (patch)
tree2b3bf225b482efda17e5a188dc5c7be3ab8645ed /main.go
parent8a78b12f9eff397afeca0ebbba49bf5a2de18393 (diff)
Add subcommand structure for diff, list, and overwrite
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 4 insertions, 4 deletions
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: