You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[What is NativeScript](#what-is-nativescript"Quick overview of NativeScript, the JavaScript framework for cross-platform development of native iOS and Android apps")
9
+
*[How the NativeScript CLI works](#how-the-nativescript-cli-works"How the CLI works in more detail")
13
10
*[Supported Platforms](#supported-platforms"The mobile platforms you can target with NativeScript")
14
11
*[System Requirements](#system-requirements"The hardware and software requirements for setting up and working with the NativeScript CLI")
15
12
*[Installation](#installation"How to configure and install the NativeScript CLI")
@@ -48,6 +45,21 @@ To learn more about NativeScript, you can check the following resources:
48
45
49
46
[Back to Top][1]
50
47
48
+
How the NativeScript CLI works
49
+
===
50
+
51
+
The NativeScript CLI is the command-line interface for interacting with NativeScript. It incorporates several important services. Consider the following diagram:
***Commands** - pretty much what every CLI does - support of different command options, input validation and help
56
+
***Devices Service** - provides the communication between NativeScript and devices/emulators/simulators used to run/debug the app. Uses iTunes to talk to iOS and adb for Android
57
+
***LiveSync Service** - redeploys applications when code changes during development
58
+
***Hooks Service** - executes custom-written hooks in developed application, thus modifying the build process
59
+
***Platforms Service** - provides app build functionalities, uses Gradle to build Android packages and Xcode for iOS.
0 commit comments