Eric Rozell de517a84e8 Flattens RNPM user commands from plugin modules
Summary:
RNPM plugins may have ship multiple commands as extensions (e.g., https://github.com/rnpm/rnpm-plugin-link/blob/master/index.js#L1)

The consumer of the user commands (https://github.com/facebook/react-native/blob/master/local-cli/commands.js#L67) expects a flat list of commands, which used to be flattened here https://github.com/rnpm/rnpm/blob/master/bin/cli#L35 in RNPM.

This commit simply flattens the (possible) set of commands coming out of a user plugin.
Closes https://github.com/facebook/react-native/pull/9170

Differential Revision: D3661809

fbshipit-source-id: 72107745e53bf63b47a297eae546ed4a69c57008
2016-08-03 00:58:33 -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
2016-07-30 09:13:46 -07:00
2015-10-28 21:36:07 -04:00