xml params

This commit is contained in:
nuknal
2024-05-22 10:33:22 +08:00
parent faf285775f
commit 0634b0106e
6 changed files with 123 additions and 75 deletions

View File

@@ -6,10 +6,6 @@ import (
"github.com/spf13/cobra"
)
var (
paramsXML string
)
var rootCmd = &cobra.Command{
Use: "SJY01 Preprocessing",
Short: "Preprocessing tools for SJY01 original raw data",
@@ -20,7 +16,7 @@ var rootCmd = &cobra.Command{
}
func init() {
rootCmd.PersistentFlags().StringVarP(&paramsXML, "params", "p", "params.xml", "parameters file path")
// rootCmd.PersistentFlags().StringVarP(&paramsXML, "params", "p", "params.xml", "parameters file path")
}
func Execute() error {