Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: cliName, Short: cliName, SilenceUsage: true, Long: cliName + `:https://github.com/NodeDAO/oracle-go`, Args: func(cmd *cobra.Command, args []string) error { if len(args) < 1 { tip() return errors.New("requires at least one arg") } return nil }, PersistentPreRun: func(*cobra.Command, []string) { ctx := context.Background() app.InitServer(ctx) }, Run: func(cmd *cobra.Command, args []string) { tip() }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.