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
66 lines
No EOL
1.9 KiB
JSON
66 lines
No EOL
1.9 KiB
JSON
{
|
|
"name": "extract-i18n",
|
|
"command": "ng extract-i18n [project]",
|
|
"shortDescription": "Extracts i18n messages from source code.",
|
|
"aliases": [],
|
|
"deprecated": false,
|
|
"options": [
|
|
{
|
|
"name": "browser-target",
|
|
"type": "string",
|
|
"description": "A browser builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`."
|
|
},
|
|
{
|
|
"name": "configuration",
|
|
"type": "string",
|
|
"aliases": [
|
|
"c"
|
|
],
|
|
"description": "One or more named builder configurations as a comma-separated list as specified in the \"configurations\" section in angular.json.\nThe builder uses the named configurations to run the given target.\nFor more information, see https://angular.io/guide/workspace-config#alternate-build-configurations."
|
|
},
|
|
{
|
|
"name": "format",
|
|
"type": "string",
|
|
"default": "xlf",
|
|
"enum": [
|
|
"xmb",
|
|
"xlf",
|
|
"xlif",
|
|
"xliff",
|
|
"xlf2",
|
|
"xliff2",
|
|
"json",
|
|
"arb",
|
|
"legacy-migrate"
|
|
],
|
|
"description": "Output format for the generated file."
|
|
},
|
|
{
|
|
"name": "help",
|
|
"type": "boolean",
|
|
"description": "Shows a help message for this command in the console."
|
|
},
|
|
{
|
|
"name": "out-file",
|
|
"type": "string",
|
|
"description": "Name of the file to output."
|
|
},
|
|
{
|
|
"name": "output-path",
|
|
"type": "string",
|
|
"description": "Path where output will be placed."
|
|
},
|
|
{
|
|
"name": "progress",
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Log progress to the console."
|
|
},
|
|
{
|
|
"name": "project",
|
|
"type": "string",
|
|
"description": "The name of the project to build. Can be an application or a library.",
|
|
"positional": 0
|
|
}
|
|
]
|
|
} |