Skip to content

Improve autocompletion #420

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 1 commit into from
Apr 9, 2015
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
24 changes: 24 additions & 0 deletions docs/man_pages/general/autocomplete-disable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
autocomplete disable
==========

Usage | Syntax
------|-------
General | `$ tns autocomplete disable`


Disables autocompletion for bash and zsh.

> NOTE: This will modify your .bash_profile, .bashrc and .zshrc files.

<% if(isHtml) { %>

#### Related Commands

Command | Description
----------|----------
[autocomplete-status](autocomplete-status.html) | Shows if autocompletion is enabled for bash and zsh.
[autocomplete](autocomplete.html) | Asks for confirmation if command line autocompletion should be enabled for bash and zsh.
[autocomplete-enable](autocomplete-enable.html) | Enables autocompletion for bash and zsh.
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript command-line interface.
[help](help.html) | Lists the available commands or shows information about the selected command.
<% } %>
21 changes: 21 additions & 0 deletions docs/man_pages/general/autocomplete-enable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
autocomplete enable
==========

Usage | Syntax
------|-------
General | `$ tns autocomplete enable`


Enables autocompletion for bash and zsh.

> NOTE: This will modify your .bash_profile, .bashrc and .zshrc files.

<% if(isHtml) { %>

#### Related Commands

Command | Description
----------|----------
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript command-line interface.
[help](help.html) | Lists the available commands or shows information about the selected command.
<% } %>
22 changes: 22 additions & 0 deletions docs/man_pages/general/autocomplete-status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
autocomplete status
==========

Usage | Syntax
------|-------
General | `$ tns autocomplete status`


Shows if autocompletion is enabled for bash and zsh.

<% if(isHtml) { %>

#### Related Commands

Command | Description
----------|----------
[autocomplete](autocomplete.html) | Asks for confirmation if command line autocompletion should be enabled for bash and zsh.
[autocomplete-enable](autocomplete-enable.html) | Enables autocompletion for bash and zsh.
[autocomplete-disable](autocomplete-disable.html) | Disables autocompletion for bash and zsh.
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript command-line interface.
[help](help.html) | Lists the available commands or shows information about the selected command.
<% } %>
16 changes: 12 additions & 4 deletions docs/man_pages/general/autocomplete.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
autocomplete
==========

Turns on command line autocompletion for bash and zsh.
Usage | Syntax
------|-------
General | `$ appbuilder autocomplete`
Get status | `$ appbuilder autocomplete status`
Enable | `$ appbuilder autocomplete enable`
Disable | `$ appbuilder autocomplete disable`

Usage:
`$ tns autocomplete`

> NOTE: this will modify your .bash_profile, .bashrc and .zshrc files.
Asks for confirmation if command line autocompletion should be enabled for bash and zsh.

> NOTE: This will modify your .bash_profile, .bashrc and .zshrc files.
<% if(isHtml) { %>

#### Related Commands

Command | Description
----------|----------
[autocomplete-status](autocomplete-status.html) | Shows if autocompletion is enabled for bash and zsh.
[autocomplete-enable](autocomplete-enable.html) | Enables autocompletion for bash and zsh.
[autocomplete-disable](autocomplete-disable.html) | Disables autocompletion for bash and zsh.
[feature-usage-tracking](feature-usage-tracking.html) | Configures anonymous usage statistics tracking for the NativeScript command-line interface.
[help](help.html) | Lists the available commands or shows information about the selected command.
<% } %>