w3resource

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]

Arguments

ARGUMENT DESCRIPTION
<keyword> The keyword to search for, as provided in the search bar on angular.io.

Options

OPTION DESCRIPTION
--help=true|false|json|JSON Shows a help message for this command in the console.
Default: false
--search=true|false When true, searches all of angular.io. Otherwise, searches only API reference documentation.
Default: false
Aliases: -s

Previous: ng e2e
Next: ng help



Follow us on Facebook and Twitter for latest update.