Skip to content

Commit 99e409f

Browse files
angular-robotatscott
authored andcommitted
docs: update Angular CLI help [main] (angular#60750)
Updated Angular CLI help contents. PR Close angular#60750
1 parent 3d85d93 commit 99e409f

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"branchName": "refs/heads/main",
3-
"sha": "32ffc1c93e463d4b8f3e05d7cfd39bbf6780378f"
3+
"sha": "88972317eb19764caaece19b336a19d0cf1841d8"
44
}

adev/src/content/cli/help/generate.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,16 @@
566566
"type": "boolean",
567567
"default": false,
568568
"description": "Skip the generation of a unit test file `spec.ts` for the new guard."
569+
},
570+
{
571+
"name": "type-separator",
572+
"type": "string",
573+
"default": "-",
574+
"enum": [
575+
"-",
576+
"."
577+
],
578+
"description": "The separator character to use before the type within the generated file's name. For example, if you set the option to `.`, the file will be named `example.guard.ts`."
569579
}
570580
],
571581
"aliases": [
@@ -815,6 +825,16 @@
815825
"type": "boolean",
816826
"default": true,
817827
"description": "Generate a standalone pipe. Standalone pipes are self-contained and don't need to be declared in an NgModule. They can be used independently or imported directly into other standalone components, directives, or pipes."
828+
},
829+
{
830+
"name": "type-separator",
831+
"type": "string",
832+
"default": "-",
833+
"enum": [
834+
"-",
835+
"."
836+
],
837+
"description": "The separator character to use before the type within the generated file's name. For example, if you set the option to `.`, the file will be named `example.pipe.ts`."
818838
}
819839
],
820840
"aliases": [
@@ -855,6 +875,16 @@
855875
"type": "boolean",
856876
"default": false,
857877
"description": "Skip the generation of a unit test file `spec.ts` for the new resolver."
878+
},
879+
{
880+
"name": "type-separator",
881+
"type": "string",
882+
"default": "-",
883+
"enum": [
884+
"-",
885+
"."
886+
],
887+
"description": "The separator character to use before the type within the generated file's name. For example, if you set the option to `.`, the file will be named `example.resolver.ts`."
858888
}
859889
],
860890
"aliases": [

0 commit comments

Comments
 (0)