| 5 | import { execSync } from 'child_process'; |
| 6 | |
| 7 | interface Section { |
| 8 | title: string; |
| 9 | text?: string; |
| 10 | name?: string; // Optional, used for folder naming |
| 11 | steps?: Array<{ |
| 12 | text?: string; // Make text optional |
| 13 | file?: { src: string; dest: string }; |
| 14 | command?: string; |
| 15 | incremental?: boolean; // New field: if true, command only runs for folders target |
| 16 | dir?: { create: boolean; path: string }; // Added dir step type |
| 17 | results?: Array<{ text: string; code: string }>; |
| 18 | }>; |
| 19 | } |
| 20 | |
| 21 | interface WalkthroughData { |
| 22 | title: string; |
nothing calls this directly
no outgoing calls
no test coverage detected