Skip to content

Commit 1e1c5d1

Browse files
author
Christopher J. Brody
committed
Merge branch 'add-version-cli' of https://github.com/738/react-native-create-library into dev
as proposed in frostney/react-native-create-library#105 resolves #8
2 parents 2b2779f + 680a139 commit 1e1c5d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const pkg = require('./package.json');
99
updateNotifier({ pkg }).notify();
1010

1111
program
12+
.version(pkg.version)
1213
.usage(command.usage)
1314
.description(command.description)
1415
.action(function runAction () {

0 commit comments

Comments
 (0)