Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "sync", Short: "Manipulate syncing", Long: `Manipulate syncing`, ValidArgsFunction: func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { return nil, cobra.ShellCompDirectiveNoFileComp }, PreRun: func(syncCheckCmd *cobra.Command, args []string) {}, Args: cobra.ExactArgs(0), PersistentPreRunE: func(cmd *cobra.Command, args []string) error { err := reward.SyncCheck() if err != nil { return err } reward.SetSyncSettingsByEnvType() return nil }, Run: func(cmd *cobra.Command, args []string) { _ = cmd.Help() }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.