aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/exp/buckit/delete.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--users/fcuny/exp/buckit/delete.go27
1 files changed, 27 insertions, 0 deletions
diff --git a/users/fcuny/exp/buckit/delete.go b/users/fcuny/exp/buckit/delete.go
new file mode 100644
index 0000000..6e504a9
--- /dev/null
+++ b/users/fcuny/exp/buckit/delete.go
@@ -0,0 +1,27 @@
+package main
+
+import (
+ "github.com/urfave/cli/v2"
+)
+
+var deleteCmd = &cli.Command{
+ Name: "delete",
+ Usage: "Delete a version of a file within a namespace",
+ Action: deleteAction,
+ ArgsUsage: "<namespace> <file> <version>",
+}
+
+var undeleteCmd = &cli.Command{
+ Name: "undelete",
+ Usage: "Un-delete a version of a file within a namespace",
+ Action: undeleteAction,
+ ArgsUsage: "<namespace> <file> <version>",
+}
+
+func deleteAction(ctx *cli.Context) error {
+ return nil
+}
+
+func undeleteAction(ctx *cli.Context) error {
+ return nil
+}