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

Function printActionGet

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

Source from the content-addressed store, hash-verified

1215}
1216
1217func printActionGet(entityName string, action *whisk.Action) {
1218 fmt.Fprintf(
1219 color.Output,
1220 wski18n.T("{{.ok}} got action {{.name}}\n",
1221 map[string]interface{}{
1222 "ok": color.GreenString("ok:"),
1223 "name": boldString(entityName),
1224 }))
1225
1226 printJSON(action)
1227}
1228
1229func printActionDeleted(entityName string) {
1230 fmt.Fprintf(

Callers 1

action.goFile · 0.85

Calls 1

printJSONFunction · 0.85

Tested by

no test coverage detected