generator-begcode
Version:
Spring Boot + Angular/React/Vue in one handy generator
55 lines (54 loc) • 1.8 kB
JavaScript
import { GENERATOR_WORKSPACES } from '../generator-list.js';
const command = {
arguments: {
jdlFiles: {
type: Array,
},
},
options: {
entrypointGenerator: {
description: 'Entrypoint generator to be used',
type: String,
scope: 'generator',
hide: true,
},
interactive: {
description: 'Generate multiple applications in series so that questions can be interacted with. This is the default when there is an existing application configuration in any of the folders',
type: Boolean,
scope: 'generator',
},
jsonOnly: {
description: 'Generate only the JSON files and skip entity regeneration',
type: Boolean,
scope: 'generator',
},
ignoreApplication: {
description: 'Ignores application generation',
type: Boolean,
scope: 'generator',
},
ignoreDeployments: {
description: 'Ignores deployments generation',
type: Boolean,
scope: 'generator',
},
skipSampleRepository: {
description: 'Disable fetching sample files when the file is not a URL',
type: Boolean,
scope: 'generator',
},
inline: {
description: 'Pass JDL content inline. Argument can be skipped when passing this',
type: String,
scope: 'generator',
env: 'JHI_JDL',
},
skipUserManagement: {
description: 'Skip the user management module during app generation',
type: Boolean,
scope: 'generator',
},
},
import: [GENERATOR_WORKSPACES],
};
export default command;