diff options
Diffstat (limited to 'cmd/bolt/main.go')
-rw-r--r-- | cmd/bolt/main.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/bolt/main.go b/cmd/bolt/main.go index 1af2636..3397042 100644 --- a/cmd/bolt/main.go +++ b/cmd/bolt/main.go @@ -26,6 +26,14 @@ func NewApp() *cli.App { app.Version = fmt.Sprintf("0.1.0 (%s %s)", branch, commit) app.Commands = []cli.Command{ { + Name: "info", + Usage: "Print basic information about a database", + Action: func(c *cli.Context) { + path := c.Args().Get(0) + Info(path) + }, + }, + { Name: "get", Usage: "Retrieve a value for given key in a bucket", Action: func(c *cli.Context) { |