diff options
Diffstat (limited to 'handlers.go')
| -rw-r--r-- | handlers.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/handlers.go b/handlers.go index d74eb1a..9325026 100644 --- a/handlers.go +++ b/handlers.go @@ -92,7 +92,11 @@ func urlHandler(ctx cli.Context) { } func deleteHandler(ctx cli.Context) { - fmt.Println("Deleting...") + args := ctx.Args() + + newDrive(args).Delete(drive.DeleteArgs{ + Id: args.String("id"), + }) } func handler(ctx cli.Context) { |
