mirror of
https://github.com/cristicalin/synology-csi.git
synced 2026-03-26 19:03:12 +00:00
23 lines
287 B
Go
23 lines
287 B
Go
/*
|
|
* Copyright 2021 Synology Inc.
|
|
*/
|
|
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var rootCmd = &cobra.Command{
|
|
Use: "synocli",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
cmd.Help()
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(cmdDsm)
|
|
}
|
|
|
|
func Execute() {
|
|
rootCmd.Execute()
|
|
} |