post

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 13 Imported by: 0

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 BuildVariablesStruct(variables map[string]interface{}) map[string]interface{}

func MarkFlagRequiredErr

func MarkFlagRequiredErr(err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL