diff --git a/src/main.js b/src/main.js index 148191f..c9199ce 100755 --- a/src/main.js +++ b/src/main.js @@ -46,27 +46,27 @@ program .command('create') .argument('', 'Resource name') .option('--preset [preset]', 'Preset name') - .option('--framework ', 'Framework name for default preset: vue or react') .option('--type ', 'Resource type: "function" | "page" | "component"') .option('--vue-version [vueVersion]', 'Vue version: "2" | "3" (default: 3))', '3') + .option('--framework ', 'Framework name for default preset: vue or react') + .option( + '--cssFramework [cssFramework]', + 'Style approach: "css_modules" | "tailwind_inline" | "tailwind_file" | "css_vanilla" | "scss" (default: no_style)', + 'no_style' + ) + .option('--test-framework [testFrameworkName]', 'Test framework: jest or vitest (default: jest)') .option( '--path ', 'Path to resource, use dot (".") to current dir where command is executed' ) .option( - '--testPath [testPath]', + '--test-path [testPath]', 'Path to test, use dot (".") to current dir where command is executed, if ommited, and --spec is present, will use the same path to resource' ) .option( - '--storyPath [storyPath]', + '--story-path [storyPath]', 'Path to story, use dot (".") to current dir where command is executed, if ommited, and --spec is present, will use the same path to resource' ) - .option( - '--cssFramework [cssFramework]', - 'Style approach: "css_modules" | "tailwind_inline" | "tailwind_file" | "css_vanilla" | "scss" (default: no_style)', - 'no_style' - ) - .option('--test-framework [testFrameworkName]', 'Test framework: jest or vitest (default: jest)') .option('--typescript', 'With TypeScript (default: false)') .option('--testing-library', 'With Testing Library (default: false)') .option('--test', 'Add test file (default: false)')