Releases: prjseal/Package-Script-Writer
1.2.0 - AI Agent Updates
v1.2.0-alpha03
Merge pull request #195 from hifi-phil/claude/improve-cicd-compatibil…
v1.2.0-alpha02
added remove powered by to web.config
v1.2.0-alpha01 - improve ai agent support
For Phil Whittaker to try
v1.1.2 - Process Cleanup on Exit
Fixed
- Process Cleanup on Exit - Fixed issue where
dotnet runprocesses spawned by scripts would continue running in the background after the CLI tool exited
v1.1.1 - main menu exit button
Added
Exit Option in Interactive Mode - Added "Exit" option to the main menu for graceful application exit
v1.1.0 - Package search features and UX improvements
Thanks to feedback from @OwainWilliams I have improved the package search features when editing a script through the interactive CLI.
Added
- Enhanced Package Selection System - Completely redesigned package selection workflow with multiple discovery methods
- New main menu with 5 options for adding packages
- "Select from popular Umbraco packages" - Browse all marketplace packages with multi-select
- "Search for package on Umbraco Marketplace" - Search by keyword in marketplace
- "Search for package on nuget.org" - Full NuGet.org search integration via API
- "Modify selected packages" - Review and remove previously selected packages
- "Done - finish package selection" - Exit package selection loop
- Cancel Options - Added "Cancel" option at the top of all package selection lists to return to main menu
- Immediate Version Selection - Version selection now happens immediately after selecting each package (instead of batched after all selections)
- Modify Selected Packages Feature - New screen to review and remove selected packages
- All packages displayed pre-selected with two-line format (Package ID on first line, version on second line with dash prefix)
- Can uncheck packages to remove them
- Supports removing all packages (multi-select with
Required(false))
- NuGet.org Search Integration - Direct search of NuGet.org repository via API
- Searches packages beyond Umbraco Marketplace
- Returns up to 20 results
- Displays package ID, truncated description (100 chars), and authors
- Excludes pre-release packages by default
Changed
- Package Selection Menu Structure - Reorganized from 3 options to 5-option main loop
- Clearer menu option names: "Select from popular Umbraco packages" and "Search for package on Umbraco Marketplace"
- All cancel operations now return to the main package selection menu instead of aborting
- Package selection is now a continuous loop until user selects "Done"
- Version Display in Modify Screen - Changed from single-line format
PackageId (Version)to two-line format with dash prefixPackageId - Version
Fixed
- Fixed compilation error in
ModifySelectedPackagesAsyncwhere.Select()was incorrectly called with a collection instead of individual items - Fixed issue where users could not press Enter if all packages were unchecked in the modify screen
v1.0.1 - Moved Community Templates API into PSW website
What's Changed
Moved Community Templates API into PSW website instead of from GitHub
v1.0.0 - First full release out now.
Package Script Writer CLI
An interactive command-line tool for generating Umbraco CMS installation scripts. Features a beautiful terminal UI built with Spectre.Console, supports 500+ Marketplace packages, and offers both interactive and automation modes.
Quick Start
# Install globally from NuGet
dotnet tool install --global PackageScriptWriter.Cli
# Launch interactive mode
psw
# Or use CLI mode for automation
psw --default
psw -p "uSync,Diplo.GodMode" -n MyProjectKey Features
- 🎨 Beautiful Terminal UI - Built with Spectre.Console
- 🚀 Dual Mode - Interactive prompts OR command-line automation
- 📦 500+ Packages - Browse Umbraco Marketplace packages
- 💾 Templates - Save and reuse configurations
- 📊 History - Track all generated scripts
- 🔒 Secure - Command validation and password protection
- 🐳 Docker Ready - Optional Dockerfile generation
Installation
From NuGet (Recommended)
dotnet tool install --global PackageScriptWriter.CliFrom Source
git clone https://github.com/prjseal/Package-Script-Writer.git
cd Package-Script-Writer/src
dotnet pack PackageCliTool -c Release
dotnet tool install --global --add-source ./PackageCliTool/bin/Release PackageScriptWriter.CliUsage
Interactive Mode
pswNavigate through the menu-driven interface:
- Use default script
- Use local template
- Use community template
- Load script from history
- Create new script
- Load Umbraco versions table
- Help
CLI Mode Examples
# Default script
psw --default
# Custom packages with specific versions
psw -p "uSync|17.0.0,Diplo.GodMode" -n MyBlog
# Full automation with unattended install
psw -p "uSync" -n MyProject -s MySolution \
-u --database-type SQLite \
--admin-email admin@example.com \
--admin-password "SecurePass123!" \
--auto-runTemplate Commands
psw template save <name> # Save current config as template
psw template load <name> # Load saved template
psw template list # List all templates
psw template delete <name> # Delete templateHistory Commands
psw history list # View recent scripts
psw history show <#> # Show script details
psw history rerun <#> # Re-run previous scriptRequirements
- .NET 10.0 SDK or later
- Internet connection (for package information)
Documentation
📚 Complete Documentation: CLI Tool Documentation
Quick Links
- Interactive Mode Guide - Complete walkthrough
- Templates Guide - Template system
- History Guide - History feature
- Security Guide - Security features
- CLI Reference - Full CLI documentation
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Website: psw.codeshare.co.uk
Version
Current Version: 1.0.0 (Stable)
Release Notes: Release History
License
MIT License - see LICENSE file for details.
Author
Paul Seal
- Website: codeshare.co.uk
- GitHub: @prjseal
⭐ If this tool helps you, consider giving it a star! ⭐
v1.0.0-beta008
Marketplace update