How chadnpc/argparser works
argparser is a small PowerShell utility that converts command-line argument strings into typed parameter values. The documented workflow is: a PowerShell caller provides argument tokens and a schema to ConvertTo-Params, which returns a dictionary of parameter objects. The tree identifies the module and public function paths; source excerpts were unavailable, so internal parsing steps and module-export wiring are not shown.
Main entry points: ConvertTo-Params.ps1 ConvertTo-Params · argparser.psm1 argparser module
Components 6
Other components
- PowerShell caller
- Argument tokens
- Parameter schema
- ConvertTo-Params
Public/ConvertTo-Params.ps1 - Typed parameter dictionary
- argparser module
argparser.psm1
Connections 7
- PowerShell caller → argparser module: imports
- PowerShell caller → ConvertTo-Params: calls
- PowerShell caller → Argument tokens: provides
- PowerShell caller → Parameter schema: provides
- Argument tokens → ConvertTo-Params: parses
- Parameter schema → ConvertTo-Params: configures
- ConvertTo-Params → Typed parameter dictionary: returns