@schemifyjs/core
Version:
Core module of the SchemifyJS CLI. Provides reusable functions such as scaffolding, template handling, and general utilities.
12 lines (11 loc) • 366 B
JavaScript
import { FrameworkType } from '@schemifyjs/types';
import { validateFramework } from './framework.validator.js';
export function frameworkQuestion() {
return {
type: 'select',
name: 'framework',
message: 'Which framework would you like to use?',
choices: Object.values(FrameworkType),
validate: validateFramework
};
}