this will send wsh activity to the client running on *your* local machine (it does not contact any wave cloud infrastructure) if you've turned off telemetry in your local client, this data never gets sent to us no parameters or timestamps are sent, as you can see below, it just sends the name of the
(wshCmdName string, success bool)
| 219 | // (e.g. "wsh ai ..." would send "ai") |
| 220 | // this helps us understand which commands are actually being used so we know where to concentrate our effort |
| 221 | func sendActivity(wshCmdName string, success bool) { |
| 222 | if RpcClient == nil || wshCmdName == "" { |
| 223 | return |
| 224 | } |
| 225 | dataMap := make(map[string]int) |
| 226 | dataMap[wshCmdName] = 1 |
| 227 | if !success { |
| 228 | dataMap[wshCmdName+"#"+"error"] = 1 |
| 229 | } |
| 230 | wshclient.WshActivityCommand(RpcClient, dataMap, nil) |
| 231 | } |
| 232 | |
| 233 | // Execute executes the root command. |
| 234 | func Execute() { |
no test coverage detected