2dog.cli 4.7.0.41

dotnet tool install --global 2dog.cli --version 4.7.0.41
                    
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 2dog.cli --version 4.7.0.41
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=2dog.cli&version=4.7.0.41
                    
nuke :add-package 2dog.cli --version 4.7.0.41
                    

2dog.cli

Command-line tool for 2dog – run Godot as a library from your own .NET entry point.

Usage

One-shot (no install, .NET 10+):

dnx 2dog.cli convert path/to/your/godot/project

Or install the 2dog command globally:

dotnet tool install -g 2dog.cli
2dog convert path/to/your/godot/project

2dog convert

Converts an existing Godot project to 2dog in place – no files are ever moved, renamed or deleted. The Godot project directory becomes the solution root, and host projects are scaffolded as nested subfolders that the Godot editor ignores (each carries a .gdignore):

MyGame/                      <- your existing Godot project (unchanged)
  project.godot
  MyGame.csproj              <- created or minimally patched
  MyGame.sln                 <- created, or your existing sln is reused
  TwoDogWebBoot.cs           <- added (web bootstrap, guarded by LIBGODOT_ENABLED)
  MyGame.2dog/   (.gdignore) <- desktop host (your Main entry point)
  MyGame.web/    (.gdignore) <- browser (WebAssembly) host
  MyGame.tests/  (.gdignore) <- xUnit test project

Options:

Option Effect
--name <BaseName> Override the derived project base name
--no-web Skip the browser (wasm) host
--no-tests Skip the xUnit test project
--dry-run Print planned actions without changing anything
--force Overwrite files that already exist (never deletes/moves)
--no-restore Skip the final dotnet restore
--verbose Extra output
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
4.7.0.41 47 7/14/2026
4.7.0.40 37 7/14/2026