MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / printActionGetWithField

Function printActionGetWithField

commands/action.go:1192–1204  ·  view source on GitHub ↗
(entityName string, field string, action *whisk.Action)

Source from the content-addressed store, hash-verified

1190}
1191
1192func printActionGetWithField(entityName string, field string, action *whisk.Action) {
1193 fmt.Fprintf(
1194 color.Output,
1195 wski18n.T(
1196 "{{.ok}} got action {{.name}}, displaying field {{.field}}\n",
1197 map[string]interface{}{
1198 "ok": color.GreenString("ok:"),
1199 "name": boldString(entityName),
1200 "field": boldString(field),
1201 }))
1202
1203 printField(action, field)
1204}
1205
1206func printActionGetWithURL(entityName string, actionURL string) {
1207 fmt.Fprintf(

Callers 1

action.goFile · 0.85

Calls 1

printFieldFunction · 0.85

Tested by

no test coverage detected