commands

package
v1.3.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCmd

func AddCmd() *cobra.Command

func AddRunnerCmd

func AddRunnerCmd() *cobra.Command

func AddToolchainCmd

func AddToolchainCmd() *cobra.Command

func BenchCmd

func BenchCmd() *cobra.Command

func BuildCmd

func BuildCmd() *cobra.Command

func CleanCmd

func CleanCmd() *cobra.Command

func ConfigCmd

func ConfigCmd() *cobra.Command

func CppcheckCmd

func CppcheckCmd() *cobra.Command

func DocCmd

func DocCmd() *cobra.Command

func EnvCmd added in v1.3.5

func EnvCmd() *cobra.Command

func FlawfinderCmd

func FlawfinderCmd() *cobra.Command

func FmtCmd

func FmtCmd() *cobra.Command

func HooksCmd

func HooksCmd() *cobra.Command

func IdeCmd added in v1.3.6

func IdeCmd() *cobra.Command

func InfoCmd

func InfoCmd() *cobra.Command

func LintCmd

func LintCmd() *cobra.Command

func ListCmd

func ListCmd() *cobra.Command

func NewCmd

func NewCmd() *cobra.Command

func ReleaseCmd

func ReleaseCmd() *cobra.Command

func RemoveCmd

func RemoveCmd() *cobra.Command

func RmRunnerCmd

func RmRunnerCmd() *cobra.Command

func RmToolchainCmd

func RmToolchainCmd() *cobra.Command

func RunCmd

func RunCmd() *cobra.Command

func SearchCmd

func SearchCmd() *cobra.Command

func SelfUpgrade added in v1.3.4

func SelfUpgrade(args []string) error

func SelfUpgradeCmd added in v1.3.4

func SelfUpgradeCmd() *cobra.Command

func SelfUpgradeWithClient added in v1.3.5

func SelfUpgradeWithClient(client *http.Client, _ []string) error

func TestCmd

func TestCmd() *cobra.Command

func UpdateCmd

func UpdateCmd() *cobra.Command

func UpgradeCmd

func UpgradeCmd() *cobra.Command

func VersionCmd added in v1.3.4

func VersionCmd() *cobra.Command

func WorkflowCmd

func WorkflowCmd() *cobra.Command

Types

type NativeBuildOptions

type NativeBuildOptions struct {
	Toolchain         config.Toolchain
	Runner            *config.Runner
	ProjectRoot       string
	OutputDir         string
	RunTests          bool
	RunBenchmarks     bool
	ExecuteAfterBuild bool
}

type PackageInfo

type PackageInfo struct {
	Results map[string]struct {
		Name         string `json:"name"`
		Version      string `json:"version-semver"`
		VersionDate  string `json:"version-date"`
		VersionStr   string `json:"version-string"`
		Description  any    `json:"description"`
		Homepage     string `json:"homepage"`
		License      string `json:"license"`
		Dependencies []any  `json:"dependencies"`
		Features     map[string]struct {
			Description string `json:"description"`
		} `json:"features"`
	} `json:"results"`
}

PackageInfo represents the structure of vcpkg x-package-info output

type ToolchainBuildOptions

type ToolchainBuildOptions struct {
	ToolchainName     string
	ExecuteAfterBuild bool
	RunTests          bool
	RunBenchmarks     bool
	Verbose           bool
}

type UpgradeError added in v1.3.5

type UpgradeError struct {
	Msg  string
	Hint string
}

func (*UpgradeError) Error added in v1.3.5

func (e *UpgradeError) Error() string

func (*UpgradeError) Unwrap added in v1.3.5

func (e *UpgradeError) Unwrap() error

Jump to

Keyboard shortcuts

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