Saturn.Template
0.14.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install Saturn.Template::0.14.1
This package contains a .NET Template Package you can call from the shell/command line.
How to build application
- Make sure you have installed version of .Net SDK defined in
global.json
- Run
dotnet tool restore
to restore all necessary tools - Run
dotnet saturn migration
to create sqlite database - Run
dotnet fake build -t Run
to start application in watch mode (automatic recompilation and restart at file save)
How to use dotnet saturn
Templates comes with Saturn.Cli
tool installed by default. It's a CLI tool that can be used for project scaffold and managing generated DB migrations
Commands
dotnet saturn
supports following commands:
gen NAME NAMES COLUMN:TYPE COLUMN:TYPE COLUMN:TYPE ...
- creates model, database layer, views and controller returning HTML viewsgen.json NAME NAMES COLUMN:TYPE COLUMN:TYPE COLUMN:TYPE ...
- creates model, database layer and JSON API controllergen.model NAME NAMES COLUMN:TYPE COLUMN:TYPE COLUMN:TYPE ...
- creates model and database layermigration
- runs all migration scripts for the database
Supported Types
Generator supports following types:
string
int
float
double
decimal
guid
datetime
bool
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
* Update to Saturn 0.14.1