MCPcopy Create free account
hub / github.com/danielmiessler/Fabric / Print

Method Print

internal/plugins/plugin.go:166–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164}
165
166func (o *Setting) Print() {
167 if o.Type == SettingTypeBool {
168 v, _ := ParseBool(o.Value)
169 fmt.Printf("%v: %v\n", o.EnvVariable, v)
170 } else {
171 fmt.Printf("%v: %v\n", o.EnvVariable, o.Value)
172 }
173}
174
175func (o *Setting) FillEnvFileContent(buffer *bytes.Buffer) {
176 if o.IsDefined() {

Callers 10

TestSetting_PrintFunction · 0.95
SetupMethod · 0.45
runVendorSetupMethod · 0.45
runInteractiveSetupMethod · 0.45
SendMethod · 0.45
handleListingCommandsFunction · 0.45
ListStrategiesMethod · 0.45
PrintPatternMethod · 0.45
mainFunction · 0.45
runFunction · 0.45

Calls 1

ParseBoolFunction · 0.85

Tested by 1

TestSetting_PrintFunction · 0.76