cmd

package
v0.5.1-nightly Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GetCommand = &cli.Command{
		Name:    "get",
		Aliases: []string{"post", "put", "delete", "patch", "options", "trace", "head", "connect"},
		Usage:   "Send an HTTP request to a url.",
		Flags:   flags.GetFlags,
		Action:  GetAction,
	}
	FileCommand = &cli.Command{
		Name:   "file",
		Usage:  "Run HTTP requests from a provided file.",
		Flags:  flags.FileFlags,
		Action: FileAction,
	}
)

Functions

func EnvAction

func EnvAction(ctx context.Context, command *cli.Command) error

func Execute

func Execute(ctx context.Context, args []string) error

func FileAction

func FileAction(ctx context.Context, command *cli.Command) error

func GetAction

func GetAction(ctx context.Context, command *cli.Command) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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