Thoughts for your consideration.
Help for Install-ModuleFast:
-
The For more information... should be moved down to a separate row and not be part of the last list item to more easily find the information:
|
- ':': Lets you specify a NuGet version range. Example: 'ImportExcel:(7.0.0, 7.2.1-preview]' For more info: https://learn.microsoft.com/en-us/nuget/concepts/package-versioning#version-ranges. Wilcards are supported with this syntax e.g. 'ImportExcel:3.2.*' will install the latest 3.2.x version. |
|
|
-
Missing '!' in shorthand, and how it can be combined with other shorthand.
-
How the command Clear-ModuleFastCache relates to the parameter -Update or do not relate to clarify that they are different and -Update does not run Clear-ModuleFastCache (not sure of this myself after reading the help)?
-
The parameter -Prerelease help. Clarify that it forces prerelease on all specifications, also that ! shorthand will get prereleases on individual specification regardless if this parameter is specified.
-
"Using the CI switch will write a lockfile". Would be great if the lockfile specification could be documented so it possible to programmatically create it.
-
In the parameter help for CILockFilePath it says "This is ignored if CI is not present.". Does it mean to say only when $env:CI -eq $true?
-
The parameter ModuleFastInfo is missing help description.
-
The parameter for Plan (and WhatIf) says "Output a list of specifications for the modules to install". But should it say something like "Output a list of specifications for the modules to install and lists only modules that are not already available for the user" .
-
The description for the parameter Plan and WhatIf are different as in the text This can be saved and provided to Install-ModuleFast at a later date. should also be added to paramneter Plan. Or have parameter Plan reference the parameter description of WhatIf for further information so the description is not duplicated (and regress in the future).
-
Maybe the text for example 9 (CI) should be simplified and reference the text of the CI parameter instead of duplicate the text in the example too?
-
The shorthand :* is only mentioned in example 8, maybe that should be added to the rest of the shorthand list?
Release notes:
- Says
If a GUID is specified as part of a ModuleFast specification... but there are no reference on how to specify this GUID.
Thoughts for your consideration.
Help for
Install-ModuleFast:The
For more information...should be moved down to a separate row and not be part of the last list item to more easily find the information:ModuleFast/ModuleFast.psm1
Lines 53 to 54 in 44c656f
Missing '!' in shorthand, and how it can be combined with other shorthand.
How the command
Clear-ModuleFastCacherelates to the parameter-Updateor do not relate to clarify that they are different and-Updatedoes not runClear-ModuleFastCache(not sure of this myself after reading the help)?The parameter
-Prereleasehelp. Clarify that it forces prerelease on all specifications, also that!shorthand will get prereleases on individual specification regardless if this parameter is specified."Using the CI switch will write a lockfile". Would be great if the lockfile specification could be documented so it possible to programmatically create it.
In the parameter help for
CILockFilePathit says "This is ignored if CI is not present.". Does it mean to say only when$env:CI -eq $true?The parameter
ModuleFastInfois missing help description.The parameter for
Plan(and WhatIf) says "Output a list of specifications for the modules to install". But should it say something like "Output a list of specifications for the modules to install and lists only modules that are not already available for the user" .The description for the parameter
PlanandWhatIfare different as in the textThis can be saved and provided to Install-ModuleFast at a later date.should also be added to paramneterPlan. Or have parameterPlanreference the parameter description ofWhatIffor further information so the description is not duplicated (and regress in the future).Maybe the text for example 9 (
CI) should be simplified and reference the text of theCIparameter instead of duplicate the text in the example too?The shorthand
:*is only mentioned in example 8, maybe that should be added to the rest of the shorthand list?Release notes:
If a GUID is specified as part of a ModuleFast specification...but there are no reference on how to specify this GUID.