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
22 lines
No EOL
1.4 KiB
JSON
22 lines
No EOL
1.4 KiB
JSON
{
|
|
"name": "run",
|
|
"command": "ng run <target>",
|
|
"shortDescription": "Runs an Architect target with an optional custom builder configuration defined in your project.",
|
|
"longDescriptionRelativePath": "@angular/cli/src/commands/run/long-description.md",
|
|
"longDescription": "Architect is the tool that the CLI uses to perform complex tasks such as compilation, according to provided configurations.\nThe CLI commands run Architect targets such as `build`, `serve`, `test`, and `lint`.\nEach named target has a default configuration, specified by an \"options\" object,\nand an optional set of named alternate configurations in the \"configurations\" object.\n\nFor example, the \"serve\" target for a newly generated app has a predefined\nalternate configuration named \"production\".\n\nYou can define new targets and their configuration options in the \"architect\" section\nof the `angular.json` file.\nIf you do so, you can run them from the command line using the `ng run` command.\nExecute the command using the following format.\n\n```\nng run project:target[:configuration]\n```\n",
|
|
"aliases": [],
|
|
"deprecated": false,
|
|
"options": [
|
|
{
|
|
"name": "help",
|
|
"type": "boolean",
|
|
"description": "Shows a help message for this command in the console."
|
|
},
|
|
{
|
|
"name": "target",
|
|
"type": "string",
|
|
"description": "The Architect target to run.",
|
|
"positional": 0
|
|
}
|
|
]
|
|
} |