Atomic.CodeGen 2.1.6

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Atomic.CodeGen --version 2.1.6
                    
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 Atomic.CodeGen --version 2.1.6
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Atomic.CodeGen&version=2.1.6
                    
nuke :add-package Atomic.CodeGen --version 2.1.6
                    

Atomic.CodeGen

Code generator for Atomic Entity Framework. Generates extension methods from C# attribute definitions.

Installation

dotnet tool install -g Atomic.CodeGen

Quick Start

# Initialize configuration
atomic-codegen init

# Generate code
atomic-codegen generate

Commands

Command Description
wizard Interactive setup wizard
init Initialize configuration
generate Generate Entity API files
scan Scan definitions (dry run)
rename Rename tags, values, or behaviours
configure Edit configuration
ide IDE integration help

Example

Define your entity structure:

[EntityAPI]
public static partial class CharacterAPI
{
    enum Tags { Player, Enemy, Dead }
    class Values { int Health; float Speed; }
}

Run atomic-codegen generate to create extension methods:

entity.IsPlayer();      // Check tag
entity.GetHealth();     // Get value
entity.SetHealth(100);  // Set value
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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
2.5.1 117 4/4/2026
2.5.0 98 4/4/2026
2.4.1 128 4/4/2026
2.4.0 117 4/4/2026
2.3.0 112 3/31/2026
2.2.2 140 1/14/2026
2.1.7 320 12/8/2025
2.1.6 313 12/8/2025
2.1.5 315 12/8/2025