@autorest/powershell 4.0.675 → 4.0.677

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,7 @@
22
22
  "powershell/generators/psm1.custom.ts": "68ad4aa17f5b867d4e471ef570f196e77ea23999",
23
23
  "powershell/generators/psm1.internal.ts": "98829f795fb438d13780eb78bf84a97f473772cd",
24
24
  "powershell/generators/psm1.ts": "b8de87fac32b95bf60efa4efc86352ce0babb879",
25
- "powershell/generators/readme.ts": "b8563b454f6deaeb4d66424ebc278b90a5836776",
25
+ "powershell/generators/readme.ts": "7b6bd39f2b2984209d1bf4eab6a4f7707b1dc354",
26
26
  "powershell/generators/script-cmdlet.ts": "bf8a72600f7fc351176ff510cb85bc5f38378bfb",
27
27
  "powershell/internal/name-inferrer.ts": "8270005536a5462b6f3e998a3df4c1f112b221ec",
28
28
  "powershell/internal/powershell-declarations.ts": "0cbb0c67b76cbefc1d962cd9952ca0c43cf693e5",
@@ -75,7 +75,7 @@
75
75
  "powershell/models/model-extensions.ts": "f0c617b9bfb04b4424a853e1b1eecba9059ba788",
76
76
  "powershell/module/module-class.ts": "2f8b0b4d28f59761dbe9a95bf7555c8ec0585387",
77
77
  "powershell/module/module-namespace.ts": "f6afc90087e8d733f0323b0de8ba41d923955732",
78
- "powershell/package.json": "8e83a4727a586dc755df4c247e835bd1b7aa6413",
78
+ "powershell/package.json": "f5f5ed22b9afffc7040c305add7b394b08e2d24e",
79
79
  "powershell/plugins/add-azure-completers-v2.ts": "3b1ddf7a067dbac2f07561fb3f6cbf1b66e555aa",
80
80
  "powershell/plugins/create-commands-v2.ts": "f32d1501654f58ebd8bfe30f2aa3937c4cac45c2",
81
81
  "powershell/plugins/cs-namer-v2.ts": "1b64031416f18b604950012b5683758adefce535",
@@ -115,7 +115,7 @@
115
115
  "powershell/resources/assets/test/loadEnv.ps1": "1d350fe78c673fb88c577c04f61277ab75bdcf25",
116
116
  "powershell/resources/assets/tools/Resources/.gitattributes": "2125666142eb661091cc5f32af2ed2f3fc65571d",
117
117
  "powershell/resources/assets/tools/Resources/.gitignore": "8b93ac424812ec6872783420ed87e82d10f2242b",
118
- "powershell/resources/assets/tools/Resources/README.md": "31fed0aedd4e2624b00f92efafbaa285e52aaa4f",
118
+ "powershell/resources/assets/tools/Resources/README.md": "cdaf3a995a725177a11845056d23cfd14e2bb5c2",
119
119
  "powershell/resources/assets/tools/Resources/custom/New-AzDeployment.ps1": "84228dd80a19b772f314d51d88fa53a409b753d3",
120
120
  "powershell/resources/assets/tools/Resources/docs/README.md": "3b56cb561c1faa09c38cd1cce8553110175f0400",
121
121
  "powershell/resources/assets/tools/Resources/examples/README.md": "ac871d71fc727e571a0eec3e0b02c21b045be88f",
@@ -222,13 +222,13 @@
222
222
  "powershell/resources/psruntime/BuildTime/Cmdlets/GetModuleGuid.cs": "e8d5baed5d143fc557c4a3b0aefd14308f32fac2",
223
223
  "powershell/resources/psruntime/BuildTime/Cmdlets/GetScriptCmdlet.cs": "1b136635ba83a4df5990669d0094092692b49b12",
224
224
  "powershell/resources/psruntime/BuildTime/CollectionExtensions.cs": "c9e0c8a57c8d5affe7fa1b0da3a9bc1212609dc0",
225
- "powershell/resources/psruntime/BuildTime/MarkdownRenderer.cs": "68b9e6ce2d7cd8ea23e59a253d3f2146c699df74",
225
+ "powershell/resources/psruntime/BuildTime/MarkdownRenderer.cs": "e8c3896a1b305d424abec25daefd9cb3549a694b",
226
226
  "powershell/resources/psruntime/BuildTime/Models/PsFormatTypes.cs": "40fffed4474e6e4c2d7a057370a2aa036001b09a",
227
227
  "powershell/resources/psruntime/BuildTime/Models/PsHelpMarkdownOutputs.cs": "056be554968d76667c0659d169f674ef5dbb74ed",
228
228
  "powershell/resources/psruntime/BuildTime/Models/PsHelpTypes.cs": "34d832146757eab7d8e1bd3feba5d411577f388a",
229
229
  "powershell/resources/psruntime/BuildTime/Models/PsMarkdownTypes.cs": "c2c068932d2e4ab31a46d566e7b24f357f68c6f8",
230
230
  "powershell/resources/psruntime/BuildTime/Models/PsProxyOutputs.cs": "7c04bdae14142b93a1ddde2afefa36a85585b00e",
231
- "powershell/resources/psruntime/BuildTime/Models/PsProxyTypes.cs": "3c9b339661ee59ce34f68c7a8c04d6f6b5e30e17",
231
+ "powershell/resources/psruntime/BuildTime/Models/PsProxyTypes.cs": "1c1081400b0fac6e4d1be5fb6c3f23eeda7ef0ec",
232
232
  "powershell/resources/psruntime/BuildTime/PsAttributes.cs": "06d994f77ab1052048edccf0d2b6ba7e6021ce0a",
233
233
  "powershell/resources/psruntime/BuildTime/PsExtensions.cs": "52083232ddc161a0f41496cbdf979d709c490194",
234
234
  "powershell/resources/psruntime/BuildTime/PsHelpers.cs": "c9bae00316dedb24a93eeebf73b2728fe9447494",
@@ -1 +1 @@
1
- {"version":3,"file":"readme.d.ts","sourceRoot":"","sources":["../../generators/readme.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,wBAAsB,cAAc,CAAC,OAAO,EAAE,OAAO,iBAkCpD"}
1
+ {"version":3,"file":"readme.d.ts","sourceRoot":"","sources":["../../generators/readme.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,wBAAsB,cAAc,CAAC,OAAO,EAAE,OAAO,iBA+BpD"}
@@ -22,9 +22,6 @@ AutoRest does not generate authentication code for the module. Authentication is
22
22
  This directory contains the PowerShell module for the ${project.serviceName} service.
23
23
 
24
24
  ---
25
- ## Status
26
- [![${project.moduleName}](https://img.shields.io/powershellgallery/v/${project.moduleName}.svg?style=flat-square&label=${project.moduleName} "${project.moduleName}")](https://www.powershellgallery.com/packages/${project.moduleName}/)
27
-
28
25
  ## Info
29
26
  - Modifiable: yes
30
27
  - Generated: all
@@ -1 +1 @@
1
- {"version":3,"file":"readme.js","sourceRoot":"","sources":["../../generators/readme.ts"],"names":[],"mappings":";AAAA;;;gGAGgG;;;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IAED,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC,UAAU;wDACO,OAAO,CAAC,WAAW;;;;;;;;;;;;EAYzE,SAAS;;0CAE+B,OAAO,CAAC,UAAU,iCAAiC,CAAC,CAAC;IAC7F,EAAE,CAAC,IAAI,EAAE,CAAC;IACV,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,mBAAmB,CAAC,CAAC;AACnF,CAAC;AA/BD,wCA+BC"}
@@ -23,9 +23,6 @@ AutoRest does not generate authentication code for the module. Authentication is
23
23
  This directory contains the PowerShell module for the ${project.serviceName} service.
24
24
 
25
25
  ---
26
- ## Status
27
- [![${project.moduleName}](https://img.shields.io/powershellgallery/v/${project.moduleName}.svg?style=flat-square&label=${project.moduleName} "${project.moduleName}")](https://www.powershellgallery.com/packages/${project.moduleName}/)
28
-
29
26
  ## Info
30
27
  - Modifiable: yes
31
28
  - Generated: all
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorest/powershell",
3
- "version": "4.0.675",
3
+ "version": "4.0.677",
4
4
  "description": "AutoRest PowerShell Cmdlet Generator",
5
5
  "main": "dist/exports.js",
6
6
  "typings": "dist/exports.d.ts",
@@ -3,9 +3,6 @@
3
3
  This directory contains the PowerShell module for the Resources service.
4
4
 
5
5
  ---
6
- ## Status
7
- [![Az.Resources.TestSupport](https://img.shields.io/powershellgallery/v/Az.Resources.TestSupport.svg?style=flat-square&label=Az.Resources.TestSupport "Az.Resources.TestSupport")](https://www.powershellgallery.com/packages/Az.Resources.TestSupport/)
8
-
9
6
  ## Info
10
7
  - Modifiable: yes
11
8
  - Generated: all
@@ -94,7 +94,7 @@ namespace Microsoft.Rest.ClientRuntime.PowerShell
94
94
  sb.Append($"## RELATED LINKS{Environment.NewLine}{Environment.NewLine}");
95
95
  foreach (var relatedLink in markdownInfo.RelatedLinks)
96
96
  {
97
- sb.Append($"{relatedLink}{Environment.NewLine}{Environment.NewLine}");
97
+ sb.Append($"[{relatedLink}]({relatedLink}){Environment.NewLine}{Environment.NewLine}");
98
98
  }
99
99
 
100
100
  File.WriteAllText(Path.Combine(docsFolder, $"{markdownInfo.CmdletName}.md"), sb.ToString());
@@ -308,7 +308,7 @@ namespace Microsoft.Rest.ClientRuntime.PowerShell
308
308
  IsMandatory = ParameterAttribute.Mandatory;
309
309
 
310
310
  var complexParameterName = ParameterName.ToUpperInvariant();
311
- var complexMessage = $"{Environment.NewLine}To construct, see NOTES section for {complexParameterName} properties and create a hash table.";
311
+ var complexMessage = $"{Environment.NewLine}.";
312
312
  var description = ParameterAttribute.HelpMessage.NullIfEmpty() ?? HelpInfo.Description.NullIfEmpty() ?? InfoAttribute?.Description.NullIfEmpty() ?? String.Empty;
313
313
  // Remove the complex type message as it will be reinserted if this is a complex type
314
314
  description = description.NormalizeNewLines().Replace(complexMessage, String.Empty).Replace(complexMessage.ToPsSingleLine(), String.Empty);