(name)
| 1287 | } |
| 1288 | |
| 1289 | function humanizeCommandName(name) { |
| 1290 | return name |
| 1291 | .replace(/([a-z0-9])([A-Z])/g, "$1 $2") |
| 1292 | .replace(/_/g, " ") |
| 1293 | .replace(/^./, (char) => char.toUpperCase()); |
| 1294 | } |
| 1295 | |
| 1296 | function copyCommand(view) { |
| 1297 | const resolvedView = resolveView(view); |
no outgoing calls
no test coverage detected