diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-07-21 19:21:14 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-07-21 19:21:14 -0500 |
| commit | 43d2d2f3d912370b7aea05a767151d3b4def778e (patch) | |
| tree | 2b3bf225b482efda17e5a188dc5c7be3ab8645ed /main.go | |
| parent | 8a78b12f9eff397afeca0ebbba49bf5a2de18393 (diff) | |
Add subcommand structure for diff, list, and overwrite
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |
