(command: CommandModule<object, unknown>)
| 10 | const endMarker = '<!-- END: commands -->' |
| 11 | |
| 12 | const commandSummary = (command: CommandModule<object, unknown>): string => { |
| 13 | if (typeof command.command === 'string') { |
| 14 | return command.command |
| 15 | } |
| 16 | |
| 17 | throw Error('currently unsupported command type') |
| 18 | } |
| 19 | |
| 20 | const commandREADMELines = [ |
| 21 | '<!-- Do not manually this file between the "BEGIN commands" and "END commands" comments. -->', |