api

package
v3.18.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiCmd

type ApiCmd struct {
	Endpoint  string   `arg:"" optional:"" help:"API endpoint to call"`
	Method    string   `help:"HTTP method to use" short:"X"`
	Headers   []string `help:"Headers to include in the request" short:"H"`
	Data      string   `help:"Data to send in the request body" short:"d"`
	Analytics bool     `help:"Use the Test Analytics endpoint"`
	File      string   `help:"File containing GraphQL query" short:"f"`
}

func (*ApiCmd) Help

func (c *ApiCmd) Help() string

func (*ApiCmd) Run

func (c *ApiCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

Jump to

Keyboard shortcuts

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