Initial commit

This commit is contained in:
haochengkuo
2021-08-31 10:18:35 +08:00
parent 2ad6fb7b44
commit dc05a795b7
44 changed files with 5197 additions and 1 deletions

23
synocli/cmd/root.go Normal file
View File

@@ -0,0 +1,23 @@
/*
* 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()
}