Documentation
¶
Overview ¶
Package set implements the `variable set` subcommand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Hostname string
Body string // takes precedence over positional VALUE; "-" reads stdin
Secured bool
Scope string // "repository" (default) | "workspace" | "deployment"
EnvUUID string // required when scope=deployment
// Args[0] = PROJECT/REPO, Args[1] = KEY, Args[2] (optional) = VALUE
Args []string
// Stdin is overridable in tests; defaults to os.Stdin when nil.
Stdin io.Reader
}
Options holds parsed flags for `variable set`.
Click to show internal directories.
Click to hide internal directories.