Skip to content

Commit 50aa974

Browse files
committed
chore: make the flags appear in the output
1 parent f6020d2 commit 50aa974

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/cli/src/cliEntry.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ const addCommand = (command: CommandT, ctx: ContextT) => {
118118
typeof opt.default === 'function' ? opt.default(ctx) : opt.default
119119
)
120120
);
121+
122+
// Redefined here to appear in the `--help` section
123+
cmd
124+
.option('--projectRoot [string]', 'Path to the root of the project')
125+
.option('--reactNativePath [string]', 'Path to React Native');
121126
};
122127

123128
async function run() {

0 commit comments

Comments
 (0)