LearnNewsExamplesServices
Frontmatter
id672
titlecreateApp program: honoring the program options
stateClosed
labels
enhancement
assigneestobiu
createdAtJun 5, 2020, 1:00 PM
updatedAtJun 5, 2020, 1:05 PM
githubUrlhttps://github.com/neomjs/neo/issues/672
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJun 5, 2020, 1:05 PM

createApp program: honoring the program options

tobiu
tobiu commented on Jun 5, 2020, 1:00 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.

tobiu added the enhancement label on Jun 5, 2020, 1:00 PM
tobiu assigned to @tobiu on Jun 5, 2020, 1:00 PM
tobiu referenced in commit 949790a - "createApp program: honoring the program options #672" on Jun 5, 2020, 1:05 PM
tobiu closed this issue on Jun 5, 2020, 1:05 PM