* adds a number to the beginning of each line and prints them in sequence
(steps: ReadonlyArray<string>)
| 78 | * adds a number to the beginning of each line and prints them in sequence |
| 79 | */ |
| 80 | function printSteps(steps: ReadonlyArray<string>) { |
| 81 | console.log("Here's what you should do next:\n") |
| 82 | console.log(steps.map((value, index) => `${index + 1}. ${value}`).join('\n')) |
| 83 | } |
| 84 | |
| 85 | export async function run(args: ReadonlyArray<string>): Promise<void> { |
| 86 | if (args.length === 0) { |
no test coverage detected