Documentation
¶
Overview ¶
Package cmd contains common flags and routines for all CLIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FlagKey = &cli.StringFlag{ Name: "key", Aliases: []string{"k"}, Usage: "signing key name", } FlagKeyFile = &cli.StringFlag{ Name: "key-file", Usage: "signing key file", TakesFile: true, } FlagCertFile = &cli.StringFlag{ Name: "cert-file", Usage: "signing certificate file", TakesFile: true, } FlagTimestamp = &cli.StringFlag{ Name: "timestamp", Aliases: []string{"t"}, Usage: "timestamp the signed signature via the remote TSA", } FlagExpiry = &cli.DurationFlag{ Name: "expiry", Aliases: []string{"e"}, Usage: "expire duration", } FlagReference = &cli.StringFlag{ Name: "reference", Aliases: []string{"r"}, Usage: "original reference", } FlagPluginConfig = &cli.StringFlag{ Name: "pluginConfig", Aliases: []string{"pc"}, Usage: "list of comma-separated {key}={value} pairs that are passed as is to the plugin, refer plugin documentation to set appropriate values", } )
Functions ¶
func ParseFlagPluginConfig ¶
Types ¶
type KeyValueSlice ¶
KeyValueSlice is a flag with type int
Click to show internal directories.
Click to hide internal directories.