(command: string, action: () => Promise<void> | void)
| 119 | } |
| 120 | |
| 121 | async trackCommand(command: string, action: () => Promise<void> | void) { |
| 122 | await this.trackSpan('cli:command:start', 'cli:command:complete', 'cli:command:error', { command }, action); |
| 123 | } |
| 124 | |
| 125 | async trackCli(action: () => Promise<void> | void) { |
| 126 | await this.trackSpan('cli:start', 'cli:complete', 'cli:error', {}, action); |
no test coverage detected