Function
printActionGet
(entityName string, action *whisk.Action)
Source from the content-addressed store, hash-verified
| 1215 | } |
| 1216 | |
| 1217 | func 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 | |
| 1229 | func printActionDeleted(entityName string) { |
| 1230 | fmt.Fprintf( |
Tested by
no test coverage detected