25 lines
485 B
Go
25 lines
485 B
Go
package cmd
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var rootCmd = &cobra.Command{
|
|
Use: "SJY01 Preprocessing",
|
|
Short: "Preprocessing tools for SJY01 original raw data",
|
|
Long: ``,
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
fmt.Println("preprocessing tools for SJY01 original raw data")
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
// rootCmd.PersistentFlags().StringVarP(¶msXML, "params", "p", "params.xml", "parameters file path")
|
|
}
|
|
|
|
func Execute() error {
|
|
return rootCmd.Execute()
|
|
}
|