Frontmatter
| id | 672 |
| title | createApp program: honoring the program options |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jun 5, 2020, 1:00 PM |
| updatedAt | Jun 5, 2020, 1:05 PM |
| githubUrl | https://github.com/neomjs/neo/issues/672 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 5, 2020, 1:05 PM |
some parts here still need a cleanup:
if (answers['mainThreadAddons'] !== 'Stylesheet') { indexContent[indexContent.length -1] += ','; indexContent.push(" mainThreadAddons: [" + mainThreadAddons.map(e => "'" + e +"'").join(', ') + "]"); } if (answers['themes'] !== 'both') { indexContent[indexContent.length -1] += ','; indexContent.push(" themes : [" + themes.map(e => "'" + e +"'").join(', ') + "]"); }=> this does not check the program options itself, just the inquirer answers.