diff --git a/README.md b/README.md index 4741772e6d..9140f1d2f0 100644 --- a/README.md +++ b/README.md @@ -335,7 +335,7 @@ cd nativescript-cli npm run setup ``` -To use the locally built CLI instead `tns` you can call `PATH_TO_CLI_FOLDER/bin/tns`. For example: +To use the locally built CLI instead of `ns` you can call `PATH_TO_CLI_FOLDER/bin/ns`. For example: `PATH_TO_CLI_FOLDER/bin/ns run ios|android` [Back to Top][1] diff --git a/docs/man_pages/cloud/cloud-setup.md b/docs/man_pages/cloud/cloud-setup.md index 60a3781ef2..03b355161a 100644 --- a/docs/man_pages/cloud/cloud-setup.md +++ b/docs/man_pages/cloud/cloud-setup.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns cloud setup +title: ns cloud setup position: 5 ---<% } %> -# tns cloud setup +# ns cloud setup ### Description @@ -13,13 +13,13 @@ Install the `nativescript-cloud extension` to configure your environment for clo Usage | Synopsis ------|------- -Install the `nativescript-cloud extension` | `$ tns cloud setup` -Log in for cloud builds (will open browser login form) | `$ tns login` -Log in for cloud builds (through the CLI) | `$ tns dev-login ` -Accept EULA agreement | `$ tns accept eula` -Perform iOS cloud build | `$ tns cloud build ios --accountId=` -Perform Android cloud build | `$ tns cloud build android --accountId=` -View accountId (after logging in) | `$ tns account` +Install the `nativescript-cloud extension` | `$ ns cloud setup` +Log in for cloud builds (will open browser login form) | `$ ns login` +Log in for cloud builds (through the CLI) | `$ ns dev-login ` +Accept EULA agreement | `$ ns accept eula` +Perform iOS cloud build | `$ ns cloud build ios --accountId=` +Perform Android cloud build | `$ ns cloud build android --accountId=` +View accountId (after logging in) | `$ ns account` ### Related Commands diff --git a/docs/man_pages/device/device-android.md b/docs/man_pages/device/device-android.md index 0499ec1103..2156bca320 100644 --- a/docs/man_pages/device/device-android.md +++ b/docs/man_pages/device/device-android.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns device android +title: ns device android position: 1 ---<% } %> -# tns device android +# ns device android ### Description @@ -13,7 +13,7 @@ Lists all recognized connected Android physical and running virtual devices with Usage | Synopsis ------|------- -General | `$ tns device android [--timeout ]` +General | `$ ns device android [--timeout ]` ### Options diff --git a/docs/man_pages/device/device-ios.md b/docs/man_pages/device/device-ios.md index bfa846e443..d6c4e2cabe 100644 --- a/docs/man_pages/device/device-ios.md +++ b/docs/man_pages/device/device-ios.md @@ -1,21 +1,21 @@ <% if (isJekyll) { %>--- -title: tns device ios +title: ns device ios position: 2 ---<% } %> -# tns device ios +# ns device ios ### Description Lists all recognized connected iOS devices with serial number and index. -<% if(isConsole && (isLinux)) { %>WARNING: You can run this command only on Windows and macOS systems. To view the complete help for this command, run `$ tns help device ios`<% } %> +<% if(isConsole && (isLinux)) { %>WARNING: You can run this command only on Windows and macOS systems. To view the complete help for this command, run `$ ns help device ios`<% } %> ### Commands Usage | Synopsis ------|------- -General | `$ tns device ios [--timeout ]` +General | `$ ns device ios [--timeout ]` <% if((isConsole && (isWindows || isMacOS)) || isHtml) { %> @@ -26,7 +26,7 @@ General | `$ tns device ios [--timeout ]` ### Command Limitations -* You can run `$ tns device ios` on Windows and OS X systems. +* You can run `$ ns device ios` on Windows and OS X systems. ### Related Commands diff --git a/docs/man_pages/device/device-list-applications.md b/docs/man_pages/device/device-list-applications.md index 1043777301..b74c2961ee 100644 --- a/docs/man_pages/device/device-list-applications.md +++ b/docs/man_pages/device/device-list-applications.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns device list-applications +title: ns device list-applications position: 3 ---<% } %> -# tns device list-applications +# ns device list-applications ### Description @@ -13,11 +13,11 @@ Lists the installed applications on all connected Android <% if(isWindows || isM Usage | Synopsis ------|------- -General | `$ tns device list-applications [--device ]` +General | `$ ns device list-applications [--device ]` ### Options -* `--device` - If multiple devices are connected, sets the device for which you want to list all currently installed applications. `` is the device index or identifier as listed by the `$ tns device` command. +* `--device` - If multiple devices are connected, sets the device for which you want to list all currently installed applications. `` is the device index or identifier as listed by the `$ ns device` command. <% if(isHtml) { %> diff --git a/docs/man_pages/device/device-log.md b/docs/man_pages/device/device-log.md index 00f351fed8..602d72278e 100644 --- a/docs/man_pages/device/device-log.md +++ b/docs/man_pages/device/device-log.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns device log +title: ns device log position: 4 ---<% } %> -# tns device log +# ns device log ### Description @@ -13,11 +13,11 @@ Opens the device log stream for a selected connected Android <% if(isWindows || Usage | Synopsis ------|------- -General | `$ tns device log [--device ]` +General | `$ ns device log [--device ]` ### Options -* `--device` - If multiple devices are connected, sets the device for which you want to stream the log in the console. `` is the device index or identifier as listed by the `$ tns device` command. +* `--device` - If multiple devices are connected, sets the device for which you want to stream the log in the console. `` is the device index or identifier as listed by the `$ ns device` command. <% if(isHtml) { %> diff --git a/docs/man_pages/device/device-run.md b/docs/man_pages/device/device-run.md index 668d30c0de..fc6e704744 100644 --- a/docs/man_pages/device/device-run.md +++ b/docs/man_pages/device/device-run.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns device run +title: ns device run position: 5 ---<% } %> -# tns device run +# ns device run ### Description @@ -15,15 +15,15 @@ Runs the selected application on a connected Android <% if(isMacOS) { %>or iOS < Usage | Synopsis ------|------- -General | `$ tns device run [--device ]` +General | `$ ns device run [--device ]` ### Options -* `--device` - If multiple devices are connected, sets the device on which you want to run the app. `` is the device index or identifier as listed by the `$ tns device` command. +* `--device` - If multiple devices are connected, sets the device on which you want to run the app. `` is the device index or identifier as listed by the `$ ns device` command. ### Arguments -* `` is the application identifier as listed by `$ tns device list-applications`. +* `` is the application identifier as listed by `$ ns device list-applications`. <% if(isHtml) { %> diff --git a/docs/man_pages/device/device.md b/docs/man_pages/device/device.md index 5840e3e580..777acc8eec 100644 --- a/docs/man_pages/device/device.md +++ b/docs/man_pages/device/device.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns device +title: ns device position: 6 ---<% } %> -# tns device +# ns device ### Description @@ -13,7 +13,7 @@ Lists all recognized connected Android <% if(isWindows || isMacOS) { %>or iOS de Usage | Synopsis ------|--------- -General | `$ tns device []` +General | `$ ns device []` ### Arguments @@ -28,11 +28,11 @@ General | `$ tns device []` ### Command Limitations -* You can run `$ tns device ios` on Windows and macOS systems. +* You can run `$ ns device ios` on Windows and macOS systems. ### Aliases -* You can use `$ tns devices` as an alias for `$ tns device`. +* You can use `$ ns devices` as an alias for `$ ns device`. ### Related Commands diff --git a/docs/man_pages/env-configuration/setup.md b/docs/man_pages/env-configuration/setup.md index e90491e197..572872fd14 100644 --- a/docs/man_pages/env-configuration/setup.md +++ b/docs/man_pages/env-configuration/setup.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns setup +title: ns setup position: 5 ---<% } %> -# tns setup +# ns setup ### Description @@ -13,7 +13,7 @@ Run the setup script to automatically install the NativeScript dependencies and Usage | Synopsis ------|------- -Run the setup script | `$ tns setup` +Run the setup script | `$ ns setup` ### Related Commands diff --git a/docs/man_pages/general/autocomplete-disable.md b/docs/man_pages/general/autocomplete-disable.md index c29b8221ff..cdc66d0074 100644 --- a/docs/man_pages/general/autocomplete-disable.md +++ b/docs/man_pages/general/autocomplete-disable.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns autocomplete disable +title: ns autocomplete disable position: 1 ---<% } %> -# tns autocomplete disable +# ns autocomplete disable ### Description @@ -15,7 +15,7 @@ Disables command-line completion for bash and zsh shells. You need to restart th Usage | Synopsis ------|------- -General | `$ tns autocomplete disable` +General | `$ ns autocomplete disable` <% if(isHtml) { %> diff --git a/docs/man_pages/general/autocomplete-enable.md b/docs/man_pages/general/autocomplete-enable.md index 93df378028..0958510eaf 100644 --- a/docs/man_pages/general/autocomplete-enable.md +++ b/docs/man_pages/general/autocomplete-enable.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns autocomplete enable +title: ns autocomplete enable position: 2 ---<% } %> -# tns autocomplete enable +# ns autocomplete enable ### Description @@ -15,7 +15,7 @@ Enables command-line completion for bash and zsh shells. You need to restart the Usage | Synopsis ------|------- -General | `$ tns autocomplete enable` +General | `$ ns autocomplete enable` <% if(isHtml) { %> diff --git a/docs/man_pages/general/autocomplete-status.md b/docs/man_pages/general/autocomplete-status.md index 46e3ccc1e6..16576f1cd3 100644 --- a/docs/man_pages/general/autocomplete-status.md +++ b/docs/man_pages/general/autocomplete-status.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns autocomplete status +title: ns autocomplete status position: 3 ---<% } %> -# tns autocomplete status +# ns autocomplete status ### Description @@ -13,7 +13,7 @@ Prints your current command-line completion settings. Usage | Synopsis ------|------- -General | `$ tns autocomplete status` +General | `$ ns autocomplete status` <% if(isHtml) { %> diff --git a/docs/man_pages/general/autocomplete.md b/docs/man_pages/general/autocomplete.md index 49c164411a..a82f2fdd71 100644 --- a/docs/man_pages/general/autocomplete.md +++ b/docs/man_pages/general/autocomplete.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns autocomplete +title: ns autocomplete position: 4 ---<% } %> -# tns autocomplete +# ns autocomplete ### Description @@ -15,10 +15,10 @@ Prints your current command-line completion settings. If disabled, prompts you t Usage | Synopsis ------|------- -General | `$ tns autocomplete []` -Get settings | `$ tns autocomplete status` -Enable | `$ tns autocomplete enable` -Disable | `$ tns autocomplete disable` +General | `$ ns autocomplete []` +Get settings | `$ ns autocomplete status` +Enable | `$ ns autocomplete enable` +Disable | `$ ns autocomplete disable` ### Arguments diff --git a/docs/man_pages/general/error-reporting.md b/docs/man_pages/general/error-reporting.md index 76465a62b5..2ec0ff7602 100644 --- a/docs/man_pages/general/error-reporting.md +++ b/docs/man_pages/general/error-reporting.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns error-reporting +title: ns error-reporting position: 6 ---<% } %> -# tns error-reporting +# ns error-reporting ### Description @@ -13,7 +13,7 @@ Configures anonymous error reporting for the NativeScript CLI. All data gathered Usage | Synopsis ------|------- -General | `$ tns error-reporting []` +General | `$ ns error-reporting []` ### Arguments diff --git a/docs/man_pages/general/extension-install.md b/docs/man_pages/general/extension-install.md index 38493adac0..afa5c2a6d8 100644 --- a/docs/man_pages/general/extension-install.md +++ b/docs/man_pages/general/extension-install.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns extension install +title: ns extension install position: 7 ---<% } %> -# tns extension install +# ns extension install ### Description @@ -13,7 +13,7 @@ Installs specified extension. Each extension adds additional functionality that' Usage | Synopsis ------|------- -General | `$ tns extension install ` +General | `$ ns extension install ` ### Arguments diff --git a/docs/man_pages/general/extension-uninstall.md b/docs/man_pages/general/extension-uninstall.md index abfb2d905b..59ab1ceb69 100644 --- a/docs/man_pages/general/extension-uninstall.md +++ b/docs/man_pages/general/extension-uninstall.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns extension uninstall +title: ns extension uninstall position: 8 ---<% } %> -# tns extension uninstall +# ns extension uninstall ### Description @@ -13,7 +13,7 @@ Uninstalls the specified extension, after which you will no longer be able to us Usage | Synopsis ------|------- -General | `$ tns extension uninstall ` +General | `$ ns extension uninstall ` ### Arguments diff --git a/docs/man_pages/general/extension.md b/docs/man_pages/general/extension.md index 45eafb32e0..07ca927972 100644 --- a/docs/man_pages/general/extension.md +++ b/docs/man_pages/general/extension.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns extension +title: ns extension position: 9 ---<% } %> -# tns extension +# ns extension ### Description @@ -13,7 +13,7 @@ Prints information about all installed extensions. Usage | Synopsis ------|------- -General | `$ tns extension` +General | `$ ns extension` <% if(isHtml) { %> diff --git a/docs/man_pages/general/help.md b/docs/man_pages/general/help.md index e5c9ced413..32af99d6ba 100644 --- a/docs/man_pages/general/help.md +++ b/docs/man_pages/general/help.md @@ -1,26 +1,26 @@ <% if (isJekyll) { %>--- -title: tns help +title: ns help position: 10 ---<% } %> -# tns help +# ns help ### Description Opens the command reference for all commands in your browser or shows information about the selected command in the browser. -To list all commands available in the console, run `$ tns -h`. -To print information about a selected command in the console, run `$ tns -h`. +To list all commands available in the console, run `$ ns -h`. +To print information about a selected command in the console, run `$ ns -h`. ### Commands Usage | Synopsis ------|------- -General | `$ tns help []` +General | `$ ns help []` ### Arguments -* `` is any of the available commands as listed by `$ tns help` or `$ tns -h` +* `` is any of the available commands as listed by `$ ns help` or `$ ns -h` <% if(isHtml) { %> diff --git a/docs/man_pages/general/info.md b/docs/man_pages/general/info.md index 556a818281..bf2018b48a 100644 --- a/docs/man_pages/general/info.md +++ b/docs/man_pages/general/info.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns info +title: ns info position: 11 ---<% } %> -# tns info +# ns info ### Description @@ -13,7 +13,7 @@ Displays version information about the NativeScript CLI, core modules, and runti Usage | Synopsis ------|------- -General | `$ tns info` +General | `$ ns info` <% if(isHtml) { %> diff --git a/docs/man_pages/general/migrate.md b/docs/man_pages/general/migrate.md index 5aeefe8918..a69c40bdde 100644 --- a/docs/man_pages/general/migrate.md +++ b/docs/man_pages/general/migrate.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns migrate +title: ns migrate position: 15 ---<% } %> -# tns migrate +# ns migrate ### Description @@ -65,7 +65,7 @@ The following dependencies will be updated if needed: Usage | Synopsis ------|------- -General | `$ tns migrate` +General | `$ ns migrate` <% if(isHtml) { %> diff --git a/docs/man_pages/general/package-manager-get.md b/docs/man_pages/general/package-manager-get.md index 103e923d05..a582878de1 100644 --- a/docs/man_pages/general/package-manager-get.md +++ b/docs/man_pages/general/package-manager-get.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns package-manager get +title: ns package-manager get position: 19 ---<% } %> -# tns package-manager get +# ns package-manager get ### Description @@ -13,7 +13,7 @@ Prints the value of the current package manager. Usage | Synopsis ------|------- -General | `$ tns package-manager get` +General | `$ ns package-manager get` <% if(isHtml) { %> diff --git a/docs/man_pages/general/package-manager-set.md b/docs/man_pages/general/package-manager-set.md index aa745b54d6..e55f7718d0 100644 --- a/docs/man_pages/general/package-manager-set.md +++ b/docs/man_pages/general/package-manager-set.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns package-manager set +title: ns package-manager set position: 18 ---<% } %> -# tns package-manager set +# ns package-manager set ### Description @@ -13,7 +13,7 @@ Enables the specified package manager for the NativeScript CLI. Supported values Usage | Synopsis ------|------- -General | `$ tns package-manager set ` +General | `$ ns package-manager set ` ### Arguments diff --git a/docs/man_pages/general/package-manager.md b/docs/man_pages/general/package-manager.md index 9a73a20eca..c0a9187ebe 100644 --- a/docs/man_pages/general/package-manager.md +++ b/docs/man_pages/general/package-manager.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns package-manager get +title: ns package-manager get position: 19 ---<% } %> -# tns package-manager get +# ns package-manager get ### Description @@ -13,7 +13,7 @@ Prints the value of the current package manager. Usage | Synopsis ------|------- -General | `$ tns package-manager get` +General | `$ ns package-manager get` <% if(isHtml) { %> diff --git a/docs/man_pages/general/proxy-clear.md b/docs/man_pages/general/proxy-clear.md index 1ee40533ed..b81b57394f 100644 --- a/docs/man_pages/general/proxy-clear.md +++ b/docs/man_pages/general/proxy-clear.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns proxy clear +title: ns proxy clear position: 12 ---<% } %> -# tns proxy clear +# ns proxy clear ### Description @@ -13,7 +13,7 @@ Clears the currently configured proxy settings of the NativeScript CLI. Usage | Synopsis ------|------- -General | `$ tns proxy clear` +General | `$ ns proxy clear` <% if(isHtml) { %> diff --git a/docs/man_pages/general/proxy-set.md b/docs/man_pages/general/proxy-set.md index d894039bd0..4efea775c9 100644 --- a/docs/man_pages/general/proxy-set.md +++ b/docs/man_pages/general/proxy-set.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns proxy set +title: ns proxy set position: 13 ---<% } %> -# tns proxy set +# ns proxy set ### Description @@ -13,7 +13,7 @@ Sets the proxy settings of the NativeScript CLI. Usage | Synopsis ------|------- -General | `$ tns proxy set [ <% if(isWindows) {%>[ []]<%}%>]` +General | `$ ns proxy set [ <% if(isWindows) {%>[ []]<%}%>]` ### Options diff --git a/docs/man_pages/general/proxy.md b/docs/man_pages/general/proxy.md index c96cde80df..0a525d2fb9 100644 --- a/docs/man_pages/general/proxy.md +++ b/docs/man_pages/general/proxy.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns proxy +title: ns proxy position: 14 ---<% } %> -# tns proxy +# ns proxy ### Description @@ -13,7 +13,7 @@ Displays the current proxy settings of the NativeScript CLI. Usage | Synopsis ------|------- -General | `$ tns proxy []` +General | `$ ns proxy []` ### Arguments `` extends the `proxy` command. You can set the following values for this attribute: diff --git a/docs/man_pages/general/update.md b/docs/man_pages/general/update.md index 692ca80ac5..aecf9b3872 100644 --- a/docs/man_pages/general/update.md +++ b/docs/man_pages/general/update.md @@ -1,18 +1,18 @@ <% if (isJekyll) { %>--- -title: tns update +title: ns update position: 16 ---<% } %> -# tns update +# ns update ### Description Updates the project with the latest versions of iOS/Android runtimes, cross-platform modules and "@nativescript/webpack". In order to get the latest development release instead, pass `next` as argument: -`tns update next` +`ns update next` You can also switch to specific version by passing it to the command: -`tns update 5.0.0` +`ns update 5.0.0` **NOTE:** The provided version should be an existing version of the project template for this project type. @@ -20,7 +20,7 @@ You can also switch to specific version by passing it to the command: Usage | Synopsis ------|------- -General | `$ tns update` +General | `$ ns update` <% if(isHtml) { %> diff --git a/docs/man_pages/general/usage-reporting.md b/docs/man_pages/general/usage-reporting.md index 5edf50dca4..c4b7a1eb0e 100644 --- a/docs/man_pages/general/usage-reporting.md +++ b/docs/man_pages/general/usage-reporting.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns usage-reporting +title: ns usage-reporting position: 17 ---<% } %> -# tns usage-reporting +# ns usage-reporting ### Description @@ -13,7 +13,7 @@ Configures anonymous usage reporting for the NativeScript CLI. All data gathered Usage | Synopsis ------|------- -General | `$ tns usage-reporting []` +General | `$ ns usage-reporting []` ### Arguments diff --git a/docs/man_pages/lib-management/plugin-add.md b/docs/man_pages/lib-management/plugin-add.md index 5aac7e8a0b..6fa5eb0bb5 100644 --- a/docs/man_pages/lib-management/plugin-add.md +++ b/docs/man_pages/lib-management/plugin-add.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns plugin add +title: ns plugin add position: 1 ---<% } %> -# tns plugin add +# ns plugin add ### Description @@ -14,8 +14,8 @@ position: 1 Usage | Synopsis ------|------- -General | `$ tns plugin add ` -Alias | `$ tns plugin install ` +General | `$ ns plugin add ` +Alias | `$ ns plugin install ` ### Arguments diff --git a/docs/man_pages/lib-management/plugin-build.md b/docs/man_pages/lib-management/plugin-build.md index 0f7a327534..dba2193387 100644 --- a/docs/man_pages/lib-management/plugin-build.md +++ b/docs/man_pages/lib-management/plugin-build.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns plugin build +title: ns plugin build position: 8 ---<% } %> -# tns plugin build +# ns plugin build ### Description @@ -14,7 +14,7 @@ position: 8 Usage | Synopsis ------|------- -General | `$ tns plugin build` +General | `$ ns plugin build` <% if(isHtml) { %> diff --git a/docs/man_pages/lib-management/plugin-create.md b/docs/man_pages/lib-management/plugin-create.md index d574329b1f..783abc5546 100644 --- a/docs/man_pages/lib-management/plugin-create.md +++ b/docs/man_pages/lib-management/plugin-create.md @@ -1,9 +1,9 @@ <% if (isJekyll) { %>--- -title: tns plugin create +title: ns plugin create position: 1 ---<% } %> -# tns plugin create +# ns plugin create ### Description @@ -23,8 +23,8 @@ The project is setup for easy commit in Github, which is why the command will as Usage | Synopsis ---|--- -Create from the default plugin seed | `$ tns plugin create [--path ]` -Create from a custom plugin seed | `$ tns plugin create [--path ] --template