← 返回命令列表

Linux command

ng-completion 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Enable shell completion

ng completion

Generate completion script

ng completion script

说明

ng completion sets up shell autocompletion for Angular CLI commands. Enables tab completion for ng commands, options, and arguments in supported shells.

参数

script
Output completion script.

FAQ

What is the ng-completion command used for?

ng completion sets up shell autocompletion for Angular CLI commands. Enables tab completion for ng commands, options, and arguments in supported shells.

How do I run a basic ng-completion example?

Run `ng completion` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does script do in ng-completion?

Output completion script.