mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commits adds an action to update the Angular CLI help contents that are used by AIO to generate CLI guides. This also changes the setup to include the files are source files instead of having to clone the repository each time. This also simplifies the PR review process of the PR opened by the action. PR Close #48577
36 lines
No EOL
1,011 B
JSON
36 lines
No EOL
1,011 B
JSON
{
|
|
"name": "doc",
|
|
"command": "ng doc <keyword>",
|
|
"shortDescription": "Opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.",
|
|
"aliases": [
|
|
"d"
|
|
],
|
|
"deprecated": false,
|
|
"options": [
|
|
{
|
|
"name": "help",
|
|
"type": "boolean",
|
|
"description": "Shows a help message for this command in the console."
|
|
},
|
|
{
|
|
"name": "keyword",
|
|
"type": "string",
|
|
"description": "The keyword to search for, as provided in the search bar in angular.io.",
|
|
"positional": 0
|
|
},
|
|
{
|
|
"name": "search",
|
|
"type": "boolean",
|
|
"aliases": [
|
|
"s"
|
|
],
|
|
"default": false,
|
|
"description": "Search all of angular.io. Otherwise, searches only API reference documentation."
|
|
},
|
|
{
|
|
"name": "version",
|
|
"type": "string",
|
|
"description": "Contains the version of Angular to use for the documentation. If not provided, the command uses your current Angular core version."
|
|
}
|
|
]
|
|
} |