File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ Run `tns help` to list all available commands. Run or `tns <Command> --help` to
204204* ` deploy <Platform> [--device <Device ID>] ` deploys an already built application on connected device.
205205* ` run <Platform> [--device <Device ID>] ` executes ` prepare ` , ` build ` , and ` deploy ` .
206206* ` device ` lists connected devices, including any running Android Virtual Devices or Genymotion virtual devices.
207+ * ` device log ` opens the log stream for the selected device.
207208* ` device run ` runs a selected application on a connected device.
208209* ` device list-applications ` lists the installed applications on all connected devices.
209210* ` feature-usage-tracking ` configures anonymous feature usage tracking.
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ General commands:
2323 This is shorthand for prepare, build, and deploy.
2424 debug Debugs your project on a connected device or in the native emulator, if configured.
2525 device Lists all recognized connected physical or virtual device.
26+ device log Opens the log stream for the selected device.
2627 device run Runs the selected application on a connected device.
2728 device list-applications Lists the installed applications on all connected devices.
2829 feature-usage-tracking Configures anonymous feature usage tracking.
@@ -540,6 +541,20 @@ Options:
540541
541542--[/]--
542543
544+ --[device|log]--
545+ Usage:
546+ $ tns device log --device <Device ID>
547+ $ nativescript device log --device <Device ID>
548+
549+ Opens the device log stream for a selected connected device.
550+
551+ <Device ID> is the device index or identifier as listed by $ tns device
552+
553+ Options:
554+ --device - If multiple devices are connected, sets the device for which you want to stream the log in the console.
555+
556+ --[/]--
557+
543558--[device|list-applications]--
544559
545560Usage:
You can’t perform that action at this time.
0 commit comments