@ventum-digital/iiq-plugin-project-generator
Version:
A npm tool to set-up the project structure for developing an IIQ Plugin.
31 lines (25 loc) • 683 B
JavaScript
const {generateProject} = require('./generate.js');
generateProject(
"plugin",
{
version : 'v',
iiqVersion : 'i',
pluginName : 'n',
pluginDisplayName: 'l',
minSystemVersion : 'm',
packageName : 'p',
},
{
pluginDescription: 'd',
maxSystemVersion : 'x',
companyName : 'c',
supportMail : 's',
javaVersion : 'j',
},
args => ({
capitalizedName : args.pluginName.charAt(0).toUpperCase() + args.pluginName.slice(1),
noSpaceDisplayName: args.pluginDisplayName.replace(/\s/g, ''),
...(args.javaVersion ? {} : {javaVersion: "11"}),
})
).launchIntelliJ();