Back to Dotnet Starter Kit

FSH.CLI - FullStackHero Command Line Interface

src/Tools/CLI/README.md

1.1.01.5 KB
Original Source

FSH.CLI - FullStackHero Command Line Interface

A powerful CLI tool for creating and managing FullStackHero .NET projects.

Installation

bash
dotnet tool install -g FSH.CLI

Usage

Create a new project

bash
# Interactive wizard
fsh new

# Using a preset
fsh new MyApp --preset quickstart

# Full customization (non-interactive)
fsh new MyApp --type api-blazor --arch monolith --db postgres

Presets

PresetDescription
quickstartAPI + Monolith + PostgreSQL + Docker + Sample Module
productionAPI + Blazor + Monolith + PostgreSQL + Aspire + Terraform + CI
microservicesAPI + Microservices + PostgreSQL + Docker + Aspire
serverlessAPI + Serverless (AWS Lambda) + PostgreSQL + Terraform

Options

OptionValuesDefault
--typeapi, api-blazorapi
--archmonolith, microservices, serverlessmonolith
--dbpostgres, sqlserver, sqlitepostgres
--dockertrue, falsetrue
--aspiretrue, falsetrue
--sampletrue, falsefalse
--terraformtrue, falsefalse
--citrue, falsefalse

Features

  • Interactive wizard with rich TUI
  • Multiple architecture styles (Monolith, Microservices, Serverless)
  • Database provider selection
  • Docker and Aspire support
  • Terraform infrastructure templates
  • GitHub Actions CI/CD

License

MIT