feat: add Windows PowerShell installation and conversion scripts#172
feat: add Windows PowerShell installation and conversion scripts#172ALVIN-YANG wants to merge 1 commit intomsitarzewski:mainfrom
Conversation
Resolves msitarzewski#153 by adding native PowerShell support for Windows users.
|
Hey @ALVIN-YANG — thanks for this. Clean implementation. Heads up: PR #171 from @RoyCoding8 covers the same ground (PowerShell convert + install scripts) with some extras (CMD wrappers, lint support). We can't merge both. Rather than picking one, would you be open to collaborating with @RoyCoding8 on a single combined PR? Your compact implementation style + their CMD wrappers and lint support could make a strong joint effort. See the comment on #171 for more context. |
|
Heads up: we're consolidating the Windows support conversation into a single Discussion: #197 — please weigh in there so we can align on one approach. |
|
Hey @ALVIN-YANG — thanks for the work on this, and sorry it sat so long. As mentioned in my earlier comment, we consolidated the Windows support conversation into Discussion #197 to align on a single approach (there were four competing PRs at the time). I'm closing the open Windows PRs now to keep things tidy. Your work is valuable context — if the discussion lands on a PowerShell approach, your implementation would be a great starting point. Please join the conversation if you haven't already: #197 |
Summary
Added
scripts/install.ps1andscripts/convert.ps1to natively support Windows users, replicating the behavior of the existing bash scripts. Also updatedREADME.mdto reference the new PowerShell scripts.Resolves #153.
Problem statement
The project provides
install.shandconvert.shwhich only run natively on Mac/Linux (or require Git Bash/WSL on Windows). Many Windows users expect native PowerShell script equivalents (.ps1) to avoid installing additional environment tooling.Proposed solution
scripts/install.ps1to mimicinstall.shwith interactive tool selection and auto-detection, correctly routing integration directories to$env:USERPROFILE.scripts/convert.ps1to mimicconvert.sh, capable of reading markdown frontmatter and extracting body blocks to build all the integration variants exactly as the bash script does.README.mdusage section to clarify the commands for Windows users.Acceptance criteria
Windows users can run
.\scripts\install.ps1and.\scripts\convert.ps1seamlessly.