Help us shape the future of Go! Take the 2026 Go Developer Survey

options

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	TokenAuth         string
	BasicAuthUsername string
	BasicAuthPassword string
	Type              string
}

type CLIOptions

type CLIOptions struct {
	Method *Method
	URL    string
}

type GetLatestCommandOptions added in v0.1.4

type GetLatestCommandOptions struct {
	Registry string
	Repo     string
	Token    string
}

type InstallCommandOptions

type InstallCommandOptions struct {
	Shell    string
	IsHidden bool
	URL      string
}

type Method

type Method struct {
	AuthType        *Auth
	JustShowBody    bool
	JustShowHeaders bool
	SaveFile        string
	ContentType     string
	OpenEditor      bool
	Body            string
	IsBodyStdin     bool
}

type RunCommandOptions added in v0.1.3

type RunCommandOptions struct {
	Path    string
	ShowAll bool
}

Jump to

Keyboard shortcuts

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