NOTE! You are browsing legacy documentation. For latest visit docs.nativescript.org.

NativeScript Angular

tns autocomplete

Description

Prints your current command-line completion settings. If disabled, prompts you to enable it.

NOTE: This operation might modify the .bash_profile, .bashrc and .zshrc files.

Commands

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

Arguments

<Command> extends the autocomplete command. You can set the following values for this attribute.

  • status - Prints your current command-line completion settings.
  • enable - Enables command-line completion. You need to restart the shell to complete the operation.
  • disable - Disables command-line completion. You need to restart the shell to complete the operation.
Command Description
autocomplete-status Prints the current status of your command-line completion settings.
autocomplete-enable Configures your current command-line completion settings.
autocomplete-disable Disables command-line completion for bash and zsh shells.
usage-reporting Configures anonymous usage reporting for the NativeScript CLI.
error-reporting Configures anonymous error reporting for the NativeScript CLI.
doctor Checks your system for configuration problems which might prevent the NativeScript CLI from working properly.
proxy Displays proxy settings.
proxy clear Clears proxy settings.
proxy set Sets proxy settings.
update Updates the project with the latest versions of iOS/Android runtimes and cross-platform modules.