Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Command performs the "repos webhook" function Command = &cobra.Command{ Use: "post", Short: "Post your graphQL request", Long: `You can use env variable for flags`, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { v := viper.New() flags.BindFlags(cmd, v) return nil }, PreRun: validation, Run: run, } QueryString string )
Functions ¶
func BuildVariablesStruct ¶
func MarkFlagRequiredErr ¶
func MarkFlagRequiredErr(err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.