command

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add added in v0.2.0

func Add(app clio.Application) *cobra.Command

func AddGithubRelease added in v0.2.0

func AddGithubRelease(app clio.Application) *cobra.Command

func AddGoInstall added in v0.2.0

func AddGoInstall(app clio.Application) *cobra.Command

func Check

func Check(app clio.Application) *cobra.Command

func Install

func Install(app clio.Application) *cobra.Command

func List added in v0.3.0

func List(app clio.Application) *cobra.Command

func Root

func Root(app clio.Application) *cobra.Command

func Run

func Run(app clio.Application) *cobra.Command

func Update added in v0.3.0

func Update(app clio.Application) *cobra.Command

Types

type AddGithubReleaseConfig added in v0.2.0

type AddGithubReleaseConfig struct {
	Config      string `json:"config" yaml:"config" mapstructure:"config"`
	option.Core `json:"" yaml:",inline" mapstructure:",squash"`

	VersionResolution option.VersionResolution `json:"version-resolver" yaml:"version-resolver" mapstructure:"version-resolver"`
}

type AddGoInstallConfig added in v0.2.0

type AddGoInstallConfig struct {
	Config      string `json:"config" yaml:"config" mapstructure:"config"`
	option.Core `json:"" yaml:",inline" mapstructure:",squash"`

	// CLI options
	Install struct {
		GoInstall option.GoInstall `json:"go-install" yaml:"go-install" mapstructure:"go-install"`
	} `json:"install" yaml:"install" mapstructure:"install"`

	VersionResolution option.VersionResolution `json:"version-resolver" yaml:"version-resolver" mapstructure:"version-resolver"`
}

type CheckConfig

type CheckConfig struct {
	Config       string `json:"config" yaml:"config" mapstructure:"config"`
	option.Check `json:"" yaml:",inline" mapstructure:",squash"`
	option.Core  `json:"" yaml:",inline" mapstructure:",squash"`
}

type InstallConfig

type InstallConfig struct {
	Config       string `json:"config" yaml:"config" mapstructure:"config"`
	StopOnError  bool   `json:"stopOnError" yaml:"stopOnError" mapstructure:"stopOnError"`
	option.Check `json:"" yaml:",inline" mapstructure:",squash"`
	option.Core  `json:"" yaml:",inline" mapstructure:",squash"`
}

type ListConfig added in v0.3.0

type ListConfig struct {
	Config        string `json:"config" yaml:"config" mapstructure:"config"`
	option.Check  `json:"" yaml:",inline" mapstructure:",squash"`
	option.Core   `json:"" yaml:",inline" mapstructure:",squash"`
	option.List   `json:"" yaml:",inline" mapstructure:",squash"`
	option.Format `json:"" yaml:",inline" mapstructure:",squash"`
}

type RunConfig

type RunConfig struct {
	Config      string `json:"config" yaml:"config" mapstructure:"config"`
	option.Core `json:"" yaml:",inline" mapstructure:",squash"`
}

type UpdateConfig

type UpdateConfig struct {
	Config      string `json:"config" yaml:"config" mapstructure:"config"`
	StopOnError bool   `json:"stopOnError" yaml:"stopOnError" mapstructure:"stopOnError"`
	option.Core `json:"" yaml:",inline" mapstructure:",squash"`
}

Jump to

Keyboard shortcuts

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