mirror of
https://github.com/beclab/Olares
synced 2026-05-20 23:38:23 +00:00
* feat: lvm commands * feat: add disk management commands for extending and listing unmounted disks
15 lines
273 B
Go
15 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
|
|
}
|