diff options
Diffstat (limited to 'handlers.go')
| -rw-r--r-- | handlers.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/handlers.go b/handlers.go index 9325026..d4a97d8 100644 --- a/handlers.go +++ b/handlers.go @@ -99,6 +99,16 @@ func deleteHandler(ctx cli.Context) { }) } +func aboutHandler(ctx cli.Context) { + args := ctx.Args() + + newDrive(args).About(drive.AboutArgs{ + SizeInBytes: args.Bool("sizeInBytes"), + ImportFormats: args.Bool("importFormats"), + ExportFormats: args.Bool("exportFormats"), + }) +} + func handler(ctx cli.Context) { fmt.Println("handler...") } |
