From 962d03ca2893c7ca78f2beb497633190575a148a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 29 Mar 2021 20:01:11 -0700 Subject: add stub commands for buckit Add the stub commands for the binary. Each command will be in its own file (with the exception of delete/un-delete). This will make it easier to navigate the code. We use `github/urfave/cli` for generating the sub commands, as the module is well documented and easy to use. --- users/fcuny/exp/buckit/info.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 users/fcuny/exp/buckit/info.go (limited to 'users/fcuny/exp/buckit/info.go') diff --git a/users/fcuny/exp/buckit/info.go b/users/fcuny/exp/buckit/info.go new file mode 100644 index 0000000..a75add4 --- /dev/null +++ b/users/fcuny/exp/buckit/info.go @@ -0,0 +1,16 @@ +package main + +import ( + "github.com/urfave/cli/v2" +) + +var infoCmd = &cli.Command{ + Name: "info", + Usage: "Get information about a version of a file in a namespace", + Action: infoAction, + ArgsUsage: " ", +} + +func infoAction(ctx *cli.Context) error { + return nil +} -- cgit v1.2.3