Eric Rozell 4ce431b9cf Fixes command validity check for local-cli.
Summary:
Prior to the RNPM integration, command names would match the second argument passed to the react-native-cli. Now the command names contain some usage information (such as non-flag CLI arguments). This commit splits the name of the commands and checks that against the second command line argument.
Closes https://github.com/facebook/react-native/pull/9171

Differential Revision: D3661799

fbshipit-source-id: dc2aa9cd9e69dde3c5b877aeb77a17c4f6427075
2016-08-03 00:58:34 -07:00
..
2015-09-16 13:05:30 -07:00
2015-11-12 07:05:01 -08:00
2016-07-30 09:13:46 -07:00
2016-07-30 09:13:46 -07:00
2016-07-30 09:13:46 -07:00
2016-07-30 09:13:46 -07:00
2016-07-30 09:13:46 -07:00
2016-07-30 09:13:46 -07:00
2016-07-30 09:13:46 -07:00
2015-10-28 21:36:07 -04:00