Map the schema's commands to the generator's command-entry shape.
(schema)
| 647 | |
| 648 | /** Map the schema's commands to the generator's command-entry shape. */ |
| 649 | function schemaToCommands(schema) { |
| 650 | return schema.commands.map(schemaToCommand) |
| 651 | } |
| 652 | |
| 653 | function schemaToCommand(c) { |
| 654 | return { |
no test coverage detected