You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
262 B
Go
12 lines
262 B
Go
![]()
5 years ago
|
package commands
|
||
|
|
||
|
import "github.com/spf13/pflag"
|
||
|
|
||
|
type builderOptions struct {
|
||
|
builder string
|
||
|
}
|
||
|
|
||
|
func builderFlags(options *builderOptions, flags *pflag.FlagSet) {
|
||
|
flags.StringVar(&options.builder, "builder", "", "Override the configured builder instance")
|
||
|
}
|