Skip to content

Commit f0bdb02

Browse files
tablackburnclaude
andauthored
docs: replace backtick continuations with splatting in init example (#22)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 40606f1 commit f0bdb02

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,14 @@ A GitHub repository template for building, testing, and publishing PowerShell mo
5151
You'll be prompted for module name, function prefix, author, description, and project URL. Pass them as parameters for non-interactive use:
5252

5353
```powershell
54-
./Initialize-Template.ps1 `
55-
-ModuleName 'MyAwesomeModule' `
56-
-Prefix 'Mam' `
57-
-Author 'Jane Doe' `
58-
-Description 'Does awesome things' `
59-
-ProjectUri 'https://github.com/janedoe/MyAwesomeModule'
54+
$templateParameters = @{
55+
ModuleName = 'MyAwesomeModule'
56+
Prefix = 'Mam'
57+
Author = 'Jane Doe'
58+
Description = 'Does awesome things'
59+
ProjectUri = 'https://github.com/janedoe/MyAwesomeModule'
60+
}
61+
./Initialize-Template.ps1 @templateParameters
6062
```
6163

6264
4. The script substitutes placeholders, renames files, optionally runs `git init`, and bootstraps build dependencies. Delete `Initialize-Template.ps1` when done.

0 commit comments

Comments
 (0)