File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ export const add = new Command('add')
49
49
. description ( 'applies specified integrations into a project' )
50
50
. argument ( '[integration...]' , 'integrations to install' )
51
51
. option ( '-C, --cwd <path>' , 'path to working directory' , defaultCwd )
52
- . option ( '--no-install' , 'skips installing dependencies' )
53
- . option ( '--no-preconditions' , 'skips validating preconditions' )
52
+ . option ( '--no-install' , 'skip installing dependencies' )
53
+ . option ( '--no-preconditions' , 'skip validating preconditions' )
54
54
//.option('--community [adder...]', 'community adders to install')
55
55
. configureHelp ( common . helpConfig )
56
56
. action ( ( adderArgs , opts ) => {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const langMap: Record<string, LanguageType | undefined> = {
22
22
false : 'none'
23
23
} ;
24
24
const templateChoices = templates . map ( ( t ) => t . name ) ;
25
- const langOption = new Option ( '--types <lang>' , 'adds type checking' ) . choices ( langs ) ;
25
+ const langOption = new Option ( '--types <lang>' , 'add type checking' ) . choices ( langs ) ;
26
26
const templateOption = new Option ( '--template <type>' , 'template to scaffold' ) . choices (
27
27
templateChoices
28
28
) ;
@@ -43,10 +43,10 @@ export const create = new Command('create')
43
43
. description ( 'scaffolds a new SvelteKit project' )
44
44
. argument ( '[path]' , 'where the project will be created' , process . cwd ( ) )
45
45
. addOption ( templateOption )
46
+ . addOption ( new Option ( '--no-types' ) . hideHelp ( ) )
46
47
. addOption ( langOption )
47
- . option ( '--no-types' )
48
- . option ( '--no-integrations' , 'skips interactive integration installer' )
49
- . option ( '--no-install' , 'skips installing dependencies' )
48
+ . option ( '--no-integrations' , 'skip interactive integration installer' )
49
+ . option ( '--no-install' , 'skip installing dependencies' )
50
50
. configureHelp ( common . helpConfig )
51
51
. action ( ( projectPath , opts ) => {
52
52
const cwd = v . parse ( ProjectPathSchema , projectPath ) ;
You can’t perform that action at this time.
0 commit comments