| 1 | export interface GluegunSystem { |
| 2 | /** |
| 3 | * Executes a command via execa. |
| 4 | */ |
| 5 | exec(command: string, options?: any): Promise<any> |
| 6 | /** |
| 7 | * Runs a command and returns stdout as a trimmed string. |
| 8 | */ |
| 9 | run(command: string, options?: any): Promise<string> |
| 10 | /** |
| 11 | * Spawns a command via crosspawn. |
| 12 | */ |
| 13 | spawn(command: string, options?: any): Promise<any> |
| 14 | /** |
| 15 | * Uses node-which to find out where the command lines. |
| 16 | */ |
| 17 | which(command: string): string | void |
| 18 | /** |
| 19 | * Returns a timer function that starts from this moment. Calling |
| 20 | * this function will return the number of milliseconds from when |
| 21 | * it was started. |
| 22 | */ |
| 23 | startTimer(): GluegunTimer |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Returns the number of milliseconds from when the timer started. |
no outgoing calls
no test coverage detected
searching dependent graphs…