PackageScriptWriter.Cli
1.0.0
dotnet tool install --global PackageScriptWriter.Cli --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local PackageScriptWriter.Cli --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=PackageScriptWriter.Cli&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package PackageScriptWriter.Cli --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 MyProject
Key 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.Cli
From 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.Cli
Usage
Interactive Mode
psw
Navigate 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-run
Template 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 template
History Commands
psw history list # View recent scripts
psw history show <#> # Show script details
psw history rerun <#> # Re-run previous script
Requirements
- .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
<div align="center">
โญ If this tool helps you, consider giving it a star! โญ
Documentation ยท Issues ยท Discussions
</div>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 0 | 12/19/2025 |
| 1.0.0-beta008 | 33 | 12/17/2025 |
| 1.0.0-beta007 | 28 | 12/17/2025 |
| 1.0.0-beta006 | 41 | 12/15/2025 |
| 1.0.0-beta005 | 70 | 12/12/2025 |
| 1.0.0-beta004 | 377 | 12/10/2025 |
| 1.0.0-beta003 | 373 | 12/10/2025 |
| 1.0.0-beta002 | 380 | 12/9/2025 |
| 1.0.0-beta001 | 377 | 12/9/2025 |