linsk/cmd/root.go

25 lines
293 B
Go
Raw Normal View History

2023-08-25 15:12:19 +01:00
package cmd
import (
"os"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "vldisk",
// TODO: Fill this
// Short: "",
// Long: ``,
}
func Execute() {
err := rootCmd.Execute()
if err != nil {
os.Exit(1)
}
}
func init() {
rootCmd.AddCommand(lsCmd)
}