cmd

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo added in v0.15.0

type BuildInfo struct {
	GoVersion string `json:"go,omitempty"`
	GoOS      string `json:"os,omitempty"`
	GoArch    string `json:"arch,omitempty"`
	Compiler  string `json:"compiler,omitempty"`
}

type ServeCommand

type ServeCommand struct {
	Ui      cli.Ui
	Version string

	AlgoliaAppID  string
	AlgoliaAPIKey string
	// contains filtered or unexported fields
}

func (*ServeCommand) Help

func (c *ServeCommand) Help() string

func (*ServeCommand) Run

func (c *ServeCommand) Run(args []string) int

func (*ServeCommand) Synopsis

func (c *ServeCommand) Synopsis() string

type VersionCommand added in v0.13.0

type VersionCommand struct {
	Ui      cli.Ui
	Version string
	// contains filtered or unexported fields
}

func (*VersionCommand) Help added in v0.13.0

func (c *VersionCommand) Help() string

func (*VersionCommand) Run added in v0.13.0

func (c *VersionCommand) Run(args []string) int

func (*VersionCommand) Synopsis added in v0.13.0

func (c *VersionCommand) Synopsis() string

type VersionOutput added in v0.13.0

type VersionOutput struct {
	Version string `json:"version"`

	*BuildInfo
}

Jump to

Keyboard shortcuts

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