From fb8aee6c5147b8751a3920f613934d90b79ef4c5 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Wed, 21 Jul 2021 23:00:00 -0500 Subject: Added parser for +- syntax for relative references to snapshots --- cmds/list.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 cmds/list.go (limited to 'cmds') diff --git a/cmds/list.go b/cmds/list.go deleted file mode 100644 index 14fa53d..0000000 --- a/cmds/list.go +++ /dev/null @@ -1,21 +0,0 @@ -package cmd - -import ( - "flag" - "fmt" -) - -func List(params []string) { - flags := flag.NewFlagSet("list", flag.ExitOnError) - - var withPaths bool - - const WITH_PATHS_HELP = "print paths to the provided reference within the snapshot" - - flags.BoolVar(&withPaths, "paths", false, WITH_PATHS_HELP); - flags.BoolVar(&withPaths, "p", false, WITH_PATHS_HELP); - - flags.Parse(params); - - fmt.Printf("Your flag is: %t", withPaths); -} -- cgit v1.2.3