Skip to content

Commit 951b2de

Browse files
committed
chore: update descriptions
1 parent 0d37adb commit 951b2de

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

__e2e__/__snapshots__/default.test.ts.snap

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ Options:
88
-h, --help display help for command
99
1010
Commands:
11-
init [options] <projectName> Initialize a new React Native project named
12-
<projectName> in a directory of the same name.
11+
init [options] [projectName] New app will be initialized in the directory of
12+
the same name. Android and iOS projects will
13+
use this name for publishing setup.
1314
doctor [options] Diagnose and fix common Node.js, iOS, Android &
1415
React Native issues.
1516
help [command] display help for command"

packages/cli/src/commands/init/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
detached: true,
66
name: 'init [projectName]',
77
description:
8-
'Initialize a new React Native project in a directory of the same name.',
8+
'New app will be initialized in the directory of the same name. Android and iOS projects will use this name for publishing setup.',
99
options: [
1010
{
1111
name: '--version <string>',

packages/cli/src/commands/init/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export default (async function initialize(
279279
const {projName} = await prompts({
280280
type: 'text',
281281
name: 'projName',
282-
message: 'What is the project name?',
282+
message: 'How would you like to name the app?',
283283
});
284284
projectName = projName;
285285
}

0 commit comments

Comments
 (0)