Skip to content

Commit

Permalink
chore: make the flags appear in the output
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbou committed Feb 13, 2019
1 parent f6020d2 commit 50aa974
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/cli/src/cliEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ const addCommand = (command: CommandT, ctx: ContextT) => {
typeof opt.default === 'function' ? opt.default(ctx) : opt.default
)
);

// Redefined here to appear in the `--help` section
cmd
.option('--projectRoot [string]', 'Path to the root of the project')
.option('--reactNativePath [string]', 'Path to React Native');
};

async function run() {
Expand Down

0 comments on commit 50aa974

Please sign in to comment.