MCPcopy Index your code
hub / github.com/coder/coder / cliParameterDefaults

Method cliParameterDefaults

cli/parameter.go:86–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86func (wpf *workspaceParameterFlags) cliParameterDefaults() []serpent.Option {
87 return serpent.OptionSet{
88 serpent.Option{
89 Flag: "parameter-default",
90 Env: "CODER_RICH_PARAMETER_DEFAULT",
91 Description: `Rich parameter default values in the format "name=value".`,
92 Value: serpent.StringArrayOf(&wpf.richParameterDefaults),
93 },
94 }
95}
96
97func (wpf *workspaceParameterFlags) useParameterDefaultsOption() serpent.Option {
98 return serpent.Option{

Callers 1

allOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected