[#1714] lens: Separate commands

Separate `inspect` and `list` on `write-cache` and `blobovnicza`
subcommands.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-08-23 16:45:24 +03:00 committed by LeL
parent 387953c1e0
commit adff08ad02
12 changed files with 316 additions and 222 deletions

View file

@ -0,0 +1,19 @@
package blobovnicza
import "github.com/spf13/cobra"
var (
vAddress string
vPath string
vOut string
)
// Root contains `blobovnicza` command definition.
var Root = &cobra.Command{
Use: "blobovnicza",
Short: "Operations with a blobovnicza",
}
func init() {
Root.AddCommand(listCMD, inspectCMD)
}