From b0e39c90445369f7931f2b353a5f629bf866a623 Mon Sep 17 00:00:00 2001 From: Trent Blackburn Date: Wed, 6 May 2026 14:43:11 -0400 Subject: [PATCH] docs: replace backtick continuations with splatting in init example Co-Authored-By: Claude Opus 4.7 (1M context) --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 005c2a7..78f2a07 100644 --- a/README.md +++ b/README.md @@ -51,12 +51,14 @@ A GitHub repository template for building, testing, and publishing PowerShell mo You'll be prompted for module name, function prefix, author, description, and project URL. Pass them as parameters for non-interactive use: ```powershell - ./Initialize-Template.ps1 ` - -ModuleName 'MyAwesomeModule' ` - -Prefix 'Mam' ` - -Author 'Jane Doe' ` - -Description 'Does awesome things' ` - -ProjectUri 'https://github.com/janedoe/MyAwesomeModule' + $templateParameters = @{ + ModuleName = 'MyAwesomeModule' + Prefix = 'Mam' + Author = 'Jane Doe' + Description = 'Does awesome things' + ProjectUri = 'https://github.com/janedoe/MyAwesomeModule' + } + ./Initialize-Template.ps1 @templateParameters ``` 4. The script substitutes placeholders, renames files, optionally runs `git init`, and bootstraps build dependencies. Delete `Initialize-Template.ps1` when done.