* feat: lvm commands * feat: add disk management commands for extending and listing unmounted disks
16 lines
273 B
Go
16 lines
273 B
Go
package disk
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func NewDiskCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "disk",
|
|
Short: "disk management operations",
|
|
}
|
|
|
|
cmd.AddCommand(NewListUnmountedDisksCommand())
|
|
cmd.AddCommand(NewExtendDiskCommand())
|
|
|
|
return cmd
|
|
}
|