Tree Browser Work
This commit is contained in:
@@ -41,6 +41,7 @@ var (
|
||||
Name = "expds"
|
||||
cfgFile string
|
||||
ConfigDir = ""
|
||||
debug = false
|
||||
rootCmd = &cobra.Command{
|
||||
Use: "expds",
|
||||
Short: "Utility to edit and view PDS",
|
||||
@@ -60,6 +61,7 @@ func Execute() {
|
||||
func init() {
|
||||
cobra.OnInitialize(initConfig)
|
||||
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file")
|
||||
rootCmd.PersistentFlags().BoolVarP(&debug, "debug", "d", false, "debug mode")
|
||||
}
|
||||
|
||||
func initConfig() {
|
||||
|
||||
Reference in New Issue
Block a user