NetForge.Cli
1.5.0
Prefix Reserved
dotnet tool install --global NetForge.Cli --version 1.5.0
dotnet new tool-manifest
dotnet tool install --local NetForge.Cli --version 1.5.0
#tool dotnet:?package=NetForge.Cli&version=1.5.0
nuke :add-package NetForge.Cli --version 1.5.0
NetForge CLI
An interactive wizard for the netforge dotnet new
template. It asks a few questions — edition, frontend, database, features, OAuth, theme — resolves the
dependencies between features, then builds the exact dotnet new netforge … command and (optionally) runs
it. It's the terminal equivalent of the configurator site, offline.
Install
dotnet tool install -g NetForge.Cli
Use
netforge new
You'll be walked through:
- Project name
- Edition — Pro (everything) or Basic (the lean MIT core)
- Frontend — React 19 + Vite / shadcn or Angular 22 + Material (same backend)
- Database — SQLite / PostgreSQL / SQL Server (+ optional dev-on-SQLite / prod-on-server split)
- Features — a grouped multi-select; picking one auto-enables what it needs (e.g. the Widget dashboard pulls in Audit + Notifications)
- OAuth providers — Google / Microsoft / GitHub (when Advanced auth is on)
- Theme + accent colour
It then prints the command and offers to run it.
First time? Install the free template once:
dotnet new install NetForge.Templates
Non-interactive (CI / scripts)
Pass flags plus --yes to scaffold without prompts, or --dry-run to just print the command:
netforge new -n MyApp --tier basic --with dashboard,webhooks --theme ocean --yes
netforge new -n Api --frontend angular --database postgres --dev-split --without demo --dry-run
Start from the tier baseline (Pro = everything, Basic = nothing), then --with / --without adjust it;
dependencies are pulled in automatically (e.g. --with dashboard also enables Audit + Notifications).
| Flag | |
|---|---|
-n, --name <name> |
Project name (default MyApp) |
--tier pro\|basic |
Edition (default pro) |
--frontend react\|angular |
Frontend stack (default react) |
--database sqlite\|postgres\|sqlserver |
(default sqlite) · --dev-split for SQLite-local/server-prod |
--with <feat,…> / --without <feat,…> |
Toggle features by short key (audit, dashboard, webhooks, multitenant, demo, …) |
--no-oauth <Google,…> |
Drop OAuth providers |
--brand-color #6d28d9 / --theme <key> |
Accent + starter theme |
--yes / --dry-run |
Run non-interactively / print only |
Commands
| Command | What it does |
|---|---|
netforge new |
Start the project wizard (interactive) |
netforge new <flags> --yes |
Scaffold non-interactively |
netforge --version |
Print the wizard version |
netforge --help |
Show help |
The wizard never hides anything: the full dotnet new netforge … command is shown before it runs, so you
can copy it, tweak it, or script it.
| 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. |
This package has no dependencies.