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
                    
if you are setting up this repo
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
                    
nuke :add-package PackageScriptWriter.Cli --version 1.0.0
                    

Package Script Writer CLI

NuGet Downloads .NET

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

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:

  1. Use default script
  2. Use local template
  3. Use community template
  4. Load script from history
  5. Create new script
  6. Load Umbraco versions table
  7. 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

Support

Version

Current Version: 1.0.0 (Stable)

Release Notes: Release History

License

MIT License - see LICENSE file for details.

Author

Paul Seal


<div align="center">

โญ If this tool helps you, consider giving it a star! โญ

Documentation ยท Issues ยท Discussions

</div>

Product 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