ng doc
Opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.
ng doc <keyword> [options]
ng d <keyword> [options]
参数
参数 | 说明 |
---|---|
<keyword> | The keyword to search for, as provided in the search bar in angular.io. |
选项
选项 | 说明 |
---|---|
--help= | Shows a help message for this command in the console. 默认值: |
--search=true|false | When true, searches all of angular.io. Otherwise, searches only API reference documentation. 默认值: 别名: -s |