flag

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTaskProviderFlag

func AddTaskProviderFlag(command *cobra.Command) *commonFlag.ProviderFlag

func ValidateTaskProviderFlag

func ValidateTaskProviderFlag(configValue string, providerId *commonFlag.ProviderFlag) (model.TaskProvider, error)

Types

type CommandFlag

type CommandFlag struct {
	Inline bool
	Preset string
	Inputs []string
}

func AddCommandFlag

func AddCommandFlag(command *cobra.Command) *CommandFlag

Jump to

Keyboard shortcuts

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