Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "bytomd", Short: "Multiple asset management.", PersistentPreRunE: func(cmd *cobra.Command, args []string) error { err := viper.Unmarshal(config) if err != nil { return err } config.SetRoot(config.RootDir) if len(args) == 0 { cfg.EnsureRoot(config.RootDir, "mainnet") } else { cfg.EnsureRoot(config.RootDir, args[0]) } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.