summaryrefslogtreecommitdiff
path: root/plugins/react-native
diff options
context:
space:
mode:
authorMauro Porras P <mauroporrasp@gmail.com>2017-06-22 13:38:34 -0500
committerRobby Russell <robby@planetargon.com>2017-06-22 11:38:34 -0700
commitd848c94804918138375041a9f800f401bec12068 (patch)
treec3b3a0be4e498af7974a34618a9888946e696c8c /plugins/react-native
parent1c958e02a5613a4312534b1afe9f9f8c4a0793c2 (diff)
downloadzsh-d848c94804918138375041a9f800f401bec12068.tar.gz
zsh-d848c94804918138375041a9f800f401bec12068.tar.bz2
zsh-d848c94804918138375041a9f800f401bec12068.zip
Add React Native aliases for logs (#5756)
Diffstat (limited to 'plugins/react-native')
-rw-r--r--plugins/react-native/README.md3
-rw-r--r--plugins/react-native/react-native.plugin.zsh3
2 files changed, 6 insertions, 0 deletions
diff --git a/plugins/react-native/README.md b/plugins/react-native/README.md
index c6fe396b8..980246cf1 100644
--- a/plugins/react-native/README.md
+++ b/plugins/react-native/README.md
@@ -24,3 +24,6 @@ plugins=(... react-native)
| **rnios5s** | `react-native run-ios --simulator "iPhone 5s"` |
| **rnios6** | `react-native run-ios --simulator "iPhone 6"` |
| **rnios6s** | `react-native run-ios --simulator "iPhone 6s"` |
+| _Logging_ |
+| **rnland** | `react-native log-android` |
+| **rnlios** | `react-native log-ios` |
diff --git a/plugins/react-native/react-native.plugin.zsh b/plugins/react-native/react-native.plugin.zsh
index 892a31fbe..0566941a1 100644
--- a/plugins/react-native/react-native.plugin.zsh
+++ b/plugins/react-native/react-native.plugin.zsh
@@ -9,3 +9,6 @@ alias rnios5='react-native run-ios --simulator "iPhone 5"'
alias rnios5s='react-native run-ios --simulator "iPhone 5s"'
alias rnios6='react-native run-ios --simulator "iPhone 6"'
alias rnios6s='react-native run-ios --simulator "iPhone 6s"'
+
+alias rnland='react-native log-android'
+alias rnlios='react-native log-ios'