mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
20 lines
303 B
Go
20 lines
303 B
Go
package volume
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewRootCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "volume",
|
|
Short: "Manage volumes in the cluster.",
|
|
}
|
|
cmd.AddCommand(
|
|
NewCreateCommand(),
|
|
NewInspectCommand(),
|
|
NewListCommand(),
|
|
NewRemoveCommand(),
|
|
)
|
|
return cmd
|
|
}
|