Skip to content

Commit be6a076

Browse files
committed
de-ess
1 parent 424c4a7 commit be6a076

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/cli/commands/add/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export const add = new Command('add')
4949
.description('applies specified integrations into a project')
5050
.argument('[integration...]', 'integrations to install')
5151
.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')
5454
//.option('--community [adder...]', 'community adders to install')
5555
.configureHelp(common.helpConfig)
5656
.action((adderArgs, opts) => {

packages/cli/commands/create.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const langMap: Record<string, LanguageType | undefined> = {
2222
false: 'none'
2323
};
2424
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);
2626
const templateOption = new Option('--template <type>', 'template to scaffold').choices(
2727
templateChoices
2828
);
@@ -43,10 +43,10 @@ export const create = new Command('create')
4343
.description('scaffolds a new SvelteKit project')
4444
.argument('[path]', 'where the project will be created', process.cwd())
4545
.addOption(templateOption)
46+
.addOption(new Option('--no-types').hideHelp())
4647
.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')
5050
.configureHelp(common.helpConfig)
5151
.action((projectPath, opts) => {
5252
const cwd = v.parse(ProjectPathSchema, projectPath);

0 commit comments

Comments
 (0)