GenMac 0.0.1

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

GenMac

CLI driven code generator.

Syntax

For String Attribute

string:<attribute-name>:<required>:<label:optional>:<length:optional>:<default:optional>:<minlength:optional>:<maxlength:optional>

For Integer Attribute

int:<attribute-name>:<required>:<label:optional>:<default:optional>:<minvalue:optional>:<maxvalue:optional>

For Has Many (Relation) Attribute

hasmany:<attribute-name>:<label:optional>

For Belongs To (Relation) Attribute

belongsto:<entity-name>:<attribute-name>:<label:optional>

How to Use

Example

dotnet run csp.model models sample string:title string:desc:required:Description:40:NA:3:40 int:count:required:Count:10:5:50 hasmany:locations:Locations belongsto:organization:organization-id:Organization

Status

Work in progress: clean up and enhancements coming soon.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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
0.0.8 143 6/18/2024
0.0.7 111 6/13/2024
0.0.6 314 3/14/2023
0.0.5 270 3/13/2023
0.0.4 293 3/12/2023
0.0.3 311 3/12/2023
0.0.2 331 3/12/2023
0.0.1 277 3/12/2023