forked from TrueCloudLab/frostfs-node
[#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:
parent
387953c1e0
commit
adff08ad02
12 changed files with 316 additions and 222 deletions
19
cmd/neofs-lens/internal/writecache/root.go
Normal file
19
cmd/neofs-lens/internal/writecache/root.go
Normal file
|
@ -0,0 +1,19 @@
|
|||
package writecache
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
|
||||
var (
|
||||
vAddress string
|
||||
vPath string
|
||||
vOut string
|
||||
)
|
||||
|
||||
// Root contains `write-cache` command definition.
|
||||
var Root = &cobra.Command{
|
||||
Use: "write-cache",
|
||||
Short: "Operations with write-cache",
|
||||
}
|
||||
|
||||
func init() {
|
||||
Root.AddCommand(listCMD, inspectCMD)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue