Skip to content

chore(help): move from tns to ns in help #5750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
18 changes: 9 additions & 9 deletions docs/man_pages/cloud/cloud-setup.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns cloud setup
title: ns cloud setup
position: 5
---<% } %>

# tns cloud setup
# ns cloud setup

### Description

Expand All @@ -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 <username> <password>`
Accept EULA agreement | `$ tns accept eula`
Perform iOS cloud build | `$ tns cloud build ios --accountId=<accountId>`
Perform Android cloud build | `$ tns cloud build android --accountId=<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 <username> <password>`
Accept EULA agreement | `$ ns accept eula`
Perform iOS cloud build | `$ ns cloud build ios --accountId=<accountId>`
Perform Android cloud build | `$ ns cloud build android --accountId=<accountId>`
View accountId (after logging in) | `$ ns account`


### Related Commands
Expand Down
6 changes: 3 additions & 3 deletions docs/man_pages/device/device-android.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns device android
title: ns device android
position: 1
---<% } %>

# tns device android
# ns device android

### Description

Expand All @@ -13,7 +13,7 @@ Lists all recognized connected Android physical and running virtual devices with

Usage | Synopsis
------|-------
General | `$ tns device android [--timeout <Milliseconds>]`
General | `$ ns device android [--timeout <Milliseconds>]`

### Options

Expand Down
10 changes: 5 additions & 5 deletions docs/man_pages/device/device-ios.md
Original file line number Diff line number Diff line change
@@ -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 <Milliseconds>]`
General | `$ ns device ios [--timeout <Milliseconds>]`

<% if((isConsole && (isWindows || isMacOS)) || isHtml) { %>

Expand All @@ -26,7 +26,7 @@ General | `$ tns device ios [--timeout <Milliseconds>]`

### 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

Expand Down
8 changes: 4 additions & 4 deletions docs/man_pages/device/device-list-applications.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -13,11 +13,11 @@ Lists the installed applications on all connected Android <% if(isWindows || isM

Usage | Synopsis
------|-------
General | `$ tns device list-applications [--device <Device ID>]`
General | `$ ns device list-applications [--device <Device ID>]`

### Options

* `--device` - If multiple devices are connected, sets the device for which you want to list all currently installed applications. `<Device ID>` 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. `<Device ID>` is the device index or identifier as listed by the `$ ns device` command.

<% if(isHtml) { %>

Expand Down
8 changes: 4 additions & 4 deletions docs/man_pages/device/device-log.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns device log
title: ns device log
position: 4
---<% } %>

# tns device log
# ns device log

### Description

Expand All @@ -13,11 +13,11 @@ Opens the device log stream for a selected connected Android <% if(isWindows ||

Usage | Synopsis
------|-------
General | `$ tns device log [--device <Device ID>]`
General | `$ ns device log [--device <Device ID>]`

### Options

* `--device` - If multiple devices are connected, sets the device for which you want to stream the log in the console. `<Device ID>` 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. `<Device ID>` is the device index or identifier as listed by the `$ ns device` command.

<% if(isHtml) { %>

Expand Down
10 changes: 5 additions & 5 deletions docs/man_pages/device/device-run.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns device run
title: ns device run
position: 5
---<% } %>

# tns device run
# ns device run

### Description

Expand All @@ -15,15 +15,15 @@ Runs the selected application on a connected Android <% if(isMacOS) { %>or iOS <

Usage | Synopsis
------|-------
General | `$ tns device run <Application ID> [--device <Device ID>]`
General | `$ ns device run <Application ID> [--device <Device ID>]`

### Options

* `--device` - If multiple devices are connected, sets the device on which you want to run the app. `<Device ID>` 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. `<Device ID>` is the device index or identifier as listed by the `$ ns device` command.

### Arguments

* `<Application ID>` is the application identifier as listed by `$ tns device list-applications`.
* `<Application ID>` is the application identifier as listed by `$ ns device list-applications`.

<% if(isHtml) { %>

Expand Down
10 changes: 5 additions & 5 deletions docs/man_pages/device/device.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns device
title: ns device
position: 6
---<% } %>

# tns device
# ns device

### Description

Expand All @@ -13,7 +13,7 @@ Lists all recognized connected Android <% if(isWindows || isMacOS) { %>or iOS de

Usage | Synopsis
------|---------
General | `$ tns device [<Command>]`
General | `$ ns device [<Command>]`

### Arguments

Expand All @@ -28,11 +28,11 @@ General | `$ tns device [<Command>]`

### 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

Expand Down
6 changes: 3 additions & 3 deletions docs/man_pages/env-configuration/setup.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns setup
title: ns setup
position: 5
---<% } %>

# tns setup
# ns setup

### Description

Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions docs/man_pages/general/autocomplete-disable.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns autocomplete disable
title: ns autocomplete disable
position: 1
---<% } %>

# tns autocomplete disable
# ns autocomplete disable

### Description

Expand All @@ -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) { %>

Expand Down
6 changes: 3 additions & 3 deletions docs/man_pages/general/autocomplete-enable.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns autocomplete enable
title: ns autocomplete enable
position: 2
---<% } %>

# tns autocomplete enable
# ns autocomplete enable

### Description

Expand All @@ -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) { %>

Expand Down
6 changes: 3 additions & 3 deletions docs/man_pages/general/autocomplete-status.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns autocomplete status
title: ns autocomplete status
position: 3
---<% } %>

# tns autocomplete status
# ns autocomplete status

### Description

Expand All @@ -13,7 +13,7 @@ Prints your current command-line completion settings.

Usage | Synopsis
------|-------
General | `$ tns autocomplete status`
General | `$ ns autocomplete status`

<% if(isHtml) { %>

Expand Down
12 changes: 6 additions & 6 deletions docs/man_pages/general/autocomplete.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns autocomplete
title: ns autocomplete
position: 4
---<% } %>

# tns autocomplete
# ns autocomplete

### Description

Expand All @@ -15,10 +15,10 @@ Prints your current command-line completion settings. If disabled, prompts you t

Usage | Synopsis
------|-------
General | `$ tns autocomplete [<Command>]`
Get settings | `$ tns autocomplete status`
Enable | `$ tns autocomplete enable`
Disable | `$ tns autocomplete disable`
General | `$ ns autocomplete [<Command>]`
Get settings | `$ ns autocomplete status`
Enable | `$ ns autocomplete enable`
Disable | `$ ns autocomplete disable`

### Arguments

Expand Down
6 changes: 3 additions & 3 deletions docs/man_pages/general/error-reporting.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns error-reporting
title: ns error-reporting
position: 6
---<% } %>

# tns error-reporting
# ns error-reporting

### Description

Expand All @@ -13,7 +13,7 @@ Configures anonymous error reporting for the NativeScript CLI. All data gathered

Usage | Synopsis
------|-------
General | `$ tns error-reporting [<Command>]`
General | `$ ns error-reporting [<Command>]`

### Arguments

Expand Down
6 changes: 3 additions & 3 deletions docs/man_pages/general/extension-install.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns extension install
title: ns extension install
position: 7
---<% } %>

# tns extension install
# ns extension install

### Description

Expand All @@ -13,7 +13,7 @@ Installs specified extension. Each extension adds additional functionality that'

Usage | Synopsis
------|-------
General | `$ tns extension install <Extension>`
General | `$ ns extension install <Extension>`

### Arguments

Expand Down
6 changes: 3 additions & 3 deletions docs/man_pages/general/extension-uninstall.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<% if (isJekyll) { %>---
title: tns extension uninstall
title: ns extension uninstall
position: 8
---<% } %>

# tns extension uninstall
# ns extension uninstall

### Description

Expand All @@ -13,7 +13,7 @@ Uninstalls the specified extension, after which you will no longer be able to us

Usage | Synopsis
------|-------
General | `$ tns extension uninstall <Extension>`
General | `$ ns extension uninstall <Extension>`

### Arguments

Expand Down
Loading