Skip to content

Commit 969afce

Browse files
committed
Implement doctor command
See #480
1 parent ae0452d commit 969afce

14 files changed

+136
-13
lines changed

docs/man_pages/general/autocomplete-disable.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Command | Description
1515
----------|----------
1616
[autocomplete](autocomplete.html) | Asks for confirmation if command line autocompletion should be enabled for bash and zsh.
1717
[autocomplete-status](autocomplete-status.html) | Prints the current status of your command-line completion settings.
18-
[autocomplete-enable](autocomplete-enable.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
18+
[autocomplete-enable](autocomplete-enable.html) | Configures your current command-line completion settings.
1919
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript command-line interface.
2020
[help](help.html) | Lists the available commands or shows information about the selected command.
21+
[doctor](doctor.html) | Checks your system and reports potential problems which may prevent developing with NativeScript.
2122
<% } %>

docs/man_pages/general/autocomplete-enable.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ Command | Description
1818
[autocomplete-disable](autocomplete-disable.html) | Disables command-line completion for bash and zsh shells.
1919
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript command-line interface.
2020
[help](help.html) | Lists the available commands or shows information about the selected command.
21+
[doctor](doctor.html) | Checks your system and reports potential problems which may prevent developing with NativeScript.
2122
<% } %>

docs/man_pages/general/autocomplete-status.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ Prints your current command-line completion settings.
1313
Command | Description
1414
----------|----------
1515
[autocomplete](autocomplete.html) | Prints your current command-line completion settings. If disabled, prompts you to enable it.
16-
[autocomplete-enable](autocomplete-enable.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
16+
[autocomplete-enable](autocomplete-enable.html) | Configures your current command-line completion settings.
1717
[autocomplete-disable](autocomplete-disable.html) | Disables command-line completion for bash and zsh shells.
1818
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript command-line interface.
1919
[help](help.html) | Lists the available commands or shows information about the selected command.
20+
[doctor](doctor.html) | Checks your system and reports potential problems which may prevent developing with NativeScript.
2021
<% } %>

docs/man_pages/general/autocomplete.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Prints your current command-line completion settings. If disabled, prompts you t
2424
Command | Description
2525
----------|----------
2626
[autocomplete-status](autocomplete-status.html) | Prints the current status of your command-line completion settings.
27-
[autocomplete-enable](autocomplete-enable.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
27+
[autocomplete-enable](autocomplete-enable.html) | Configures your current command-line completion settings.
2828
[autocomplete-disable](autocomplete-disable.html) | Disables command-line completion for bash and zsh shells.
2929
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript command-line interface.
30+
[doctor](doctor.html) | Checks your system and reports potential problems which may prevent developing with NativeScript.
3031
<% } %>

docs/man_pages/general/doctor.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
doctor
2+
==========
3+
4+
Usage | Synopsis
5+
------|-------
6+
General | `$ tns doctor`
7+
8+
Checks your system and reports potential problems which may prevent developing with NativeScript.
9+
10+
11+
<% if(isHtml) { %>
12+
### Related Commands
13+
14+
Command | Description
15+
----------|----------
16+
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript CLI.
17+
[autocomplete](autocomplete.html) | Prints your current command-line completion settings. If disabled, prompts you to enable it.
18+
[help](help.html) | Lists the available commands or shows information about the selected command.
19+
<% } %>

docs/man_pages/general/feature-usage-tracking-disable.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ Command | Description
1414
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript CLI.
1515
[feature-usage-tracking status](feature-usage-tracking-status.html) | Shows the current configuration for anonymous usage tracking for the NativeScript CLI.
1616
[feature-usage-tracking enable](feature-usage-tracking-enable.html) | Enables anonymous usage statistics tracking.
17-
[autocomplete](autocomplete.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
17+
[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
1818
[autocomplete-status](autocomplete-status.html) | Prints the current status of your command-line completion settings.
19-
[autocomplete-enable](autocomplete-enable.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
19+
[autocomplete-enable](autocomplete-enable.html) | Configures your current command-line completion settings.
2020
[autocomplete-disable](autocomplete-disable.html) | Disables command-line completion for bash and zsh shells.
21+
[doctor](doctor.html) | Checks your system and reports potential problems which may prevent developing with NativeScript.
2122
<% } %>

docs/man_pages/general/feature-usage-tracking-enable.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ Command | Description
1414
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript CLI.
1515
[feature-usage-tracking status](feature-usage-tracking-status.html) | Shows the current configuration for anonymous usage tracking for the NativeScript CLI.
1616
[feature-usage-tracking disable](feature-usage-tracking-disable.html) | Disables anonymous usage statistics tracking.
17-
[autocomplete](autocomplete.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
17+
[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
1818
[autocomplete-status](autocomplete-status.html) | Prints the current status of your command-line completion settings.
19-
[autocomplete-enable](autocomplete-enable.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
19+
[autocomplete-enable](autocomplete-enable.html) | Configures your current command-line completion settings.
2020
[autocomplete-disable](autocomplete-disable.html) | Disables command-line completion for bash and zsh shells.
21+
[doctor](doctor.html) | Checks your system and reports potential problems which may prevent developing with NativeScript.
2122
<% } %>

docs/man_pages/general/feature-usage-tracking-status.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ Command | Description
1414
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript CLI.
1515
[feature-usage-tracking enable](feature-usage-tracking-enable.html) | Enables anonymous usage statistics tracking.
1616
[feature-usage-tracking disable](feature-usage-tracking-disable.html) | Disables anonymous usage statistics tracking.
17-
[autocomplete](autocomplete.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
17+
[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
1818
[autocomplete-status](autocomplete-status.html) | Prints the current status of your command-line completion settings.
19-
[autocomplete-enable](autocomplete-enable.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
19+
[autocomplete-enable](autocomplete-enable.html) | Configures your current command-line completion settings.
2020
[autocomplete-disable](autocomplete-disable.html) | Disables command-line completion for bash and zsh shells.
21+
[doctor](doctor.html) | Checks your system and reports potential problems which may prevent developing with NativeScript.
2122
<% } %>

docs/man_pages/general/feature-usage-tracking.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ Command | Description
2323
[feature-usage-tracking status](feature-usage-tracking-status.html) | Shows the current configuration for anonymous usage tracking for the NativeScript CLI.
2424
[feature-usage-tracking enable](feature-usage-tracking-enable.html) | Enables anonymous usage statistics tracking.
2525
[feature-usage-tracking disable](feature-usage-tracking-disable.html) | Disables anonymous usage statistics tracking.
26-
[autocomplete](autocomplete.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
26+
[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
2727
[autocomplete-status](autocomplete-status.html) | Prints the current status of your command-line completion settings.
28-
[autocomplete-enable](autocomplete-enable.html) |[autocomplete](autocomplete.html) | Configures your current command-line completion settings.
28+
[autocomplete-enable](autocomplete-enable.html) | Configures your current command-line completion settings.
2929
[autocomplete-disable](autocomplete-disable.html) | Disables command-line completion for bash and zsh shells.
30+
[doctor](doctor.html) | Checks your system and reports potential problems which may prevent developing with NativeScript.
3031
<% } %>

docs/man_pages/general/help.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ Command | Description
2020
----------|----------
2121
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript CLI.
2222
[autocomplete](autocomplete.html) | Prints your current command-line completion settings. If disabled, prompts you to enable it.
23+
[doctor](doctor.html) | Checks your system and reports potential problems which may prevent developing with NativeScript.
2324
<% } %>

0 commit comments

Comments
 (0)