react-native/local-cli
Mike Grabowski 504b516947 Fix corrupted `options()` call for link and other commands
Summary:
The issue here is that sometimes `this.options()` is not `[options]` but contains different stuff, esp. if your command accepts arguments.

This commit reverts its original behaviour and passes custom `examples` property that we use instead.

Tested, can be shipped right away.

Differential Revision: D3662179

fbshipit-source-id: 4b2af3487464d46e2007388230e675ce3575f797
2016-08-03 08:32:18 -07:00
..
__mocks__ Fix more tests 2015-09-16 13:05:30 -07:00
__tests__ Temporarily disable cli tests 2015-11-12 07:05:01 -08:00
bundle Add support for passing in additional assetExts to packager 2016-08-02 10:27:25 -07:00
dependencies Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
generate Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
generator Mention double tapping R to reload in the app template 2016-06-23 06:43:27 -07:00
generator-android Add missing character into BUCK android template 2016-06-24 17:28:30 -07:00
generator-ios Move setDefaults call to constructor. 2016-07-04 10:58:25 -07:00
init Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
library Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
logAndroid Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
logIOS Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
rnpm Fixes #9168 2016-08-03 01:58:38 -07:00
runAndroid Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
runIOS Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
server Feature/watch symlinks 2016-08-03 03:44:57 -07:00
upgrade Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
util Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
cli.js Use a separate babel config for the local-cli and the packager 2016-05-21 06:58:26 -07:00
cliEntry.js Fix corrupted `options()` call for link and other commands 2016-08-03 08:32:18 -07:00
commands.js Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
default.config.js Add support for passing in additional assetExts to packager 2016-08-02 10:27:25 -07:00
generate-android.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
generator-utils.js flowconfig adds flow/ folder 2016-03-21 06:26:34 -07:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh Change ulimit to 2048 for non root Mac users 2016-02-06 11:45:37 -08:00
wrong-react-native.js Fix usage of react-native cli inside package.json scripts 2016-04-26 15:42:35 -07:00