Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 3.55 KB

File metadata and controls

51 lines (39 loc) · 3.55 KB

GenXdev.Coding.PowerShell.Modules

Overview

GenXdev.Coding.PowerShell.Modules is the meta-module — it's how GenXdev develops, documents, tests, and analyzes itself. It generates MAML XML help and per-cmdlet markdown, runs PSScriptAnalyzer, validates cross-module references, and provides AI-assisted cmdlet improvement workflows.

What It Offers

Command Aliases What it does
New-ModuleMarkdownHelp Generate rich markdown help files for any PowerShell module
New-ModuleXmlHelp Generate MAML XML help for any PowerShell module
Assert-GenXdevCmdlet improvecmdlet AI-assisted cmdlet documentation and implementation improvement
Assert-GenXdevCmdletTests improvecmdlettests AI-assisted unit test improvement
Assert-GenXdevTest rungenxdevtests Run tests with AI-powered error resolution
Get-GenXDevNewModulesInOrderOfDependency Get modules sorted by dependency order
Search-GenXdevCmdlet searchcmdlet Search for a cmdlet and optionally open it in an IDE
Show-GenXdevCmdLetInIde editcmdlet, cmdlet Open a GenXdev cmdlet source in VS Code
Invoke-GenXdevScriptAnalyzer Run PSScriptAnalyzer with GenXdev rules
Invoke-GenXdevPSFormatter Format PowerShell source files
EnsureDefaultGenXdevRefactors Set up default refactoring definitions

How It All Comes Together

New-ModuleXmlHelp and New-ModuleMarkdownHelp generate MAML XML and markdown help files from PowerShell comment-based help. They work against any PowerShell module.

Assert-GenXdevCmdlet (improvecmdlet) and Assert-GenXdevCmdletTests (improvecmdlettests) use AI to improve cmdlet documentation and tests. Assert-GenXdevTest (rungenxdevtests) runs unit tests with AI-powered error resolution.

Assert-GenXdevDependencyUsage (checkgenxdevdependencies) validates cross-module dependency usage. Get-GenXDevNewModulesInOrderOfDependency gets modules sorted by their dependency order.

Search-GenXdevCmdlet (searchcmdlet) searches for a GenXdev cmdlet and can open it in an IDE. Show-GenXdevCmdLetInIde (cmdlet, editcmdlet) opens a cmdlet's source in VS Code.

Invoke-GenXdevScriptAnalyzer runs PSScriptAnalyzer. Invoke-GenXdevPSFormatter formats PowerShell source files.

See Also