add licence flag

This commit is contained in:
sqshq 2019-05-15 22:13:30 -04:00
parent 5b707c648a
commit 8fa382e37d
1 changed files with 1 additions and 1 deletions

View File

@ -3,5 +3,5 @@ package config
type Options struct { type Options struct {
ConfigFile string `short:"c" long:"config" required:"true" description:"path to YAML config file"` ConfigFile string `short:"c" long:"config" required:"true" description:"path to YAML config file"`
Variables []string `short:"v" long:"variable" required:"false" description:"specify name=value variable to use in script placeholder as $name. This flag takes precedence over the same name variables, specified in config yml" long-description:"one or more variables can be specified as flags, in order to replace repeated patterns in the scripts, which can be replaced with {$variable-name} placeholder" ` Variables []string `short:"v" long:"variable" required:"false" description:"specify name=value variable to use in script placeholder as $name. This flag takes precedence over the same name variables, specified in config yml" long-description:"one or more variables can be specified as flags, in order to replace repeated patterns in the scripts, which can be replaced with {$variable-name} placeholder" `
Examples []string `short:"e" long:"example" required:"false" choice:"runchart" choice:"barchart" choice:"asciibox" choice:"textbox" choice:"gauge" choice:"sparkline" description:"add an example component to the specified config file" long-description:"one or more example component types can be added to the specified config file, in order to jump-start the configuration"` License []string `short:"l" long:"license" required:"false" description:"provide license key. see www.sampler.dev for details"`
} }