Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Saturn.Dotnet

dotnet CLI tool for Saturn providing code generation and scaffolding.

Commands

dotnet saturn supports following commands:

  • gen NAME NAMES COLUMN:TYPE COLUMN:TYPE COLUMN:TYPE ... - creates model, database layer, views and controller returning HTML views
  • gen.json NAME NAMES COLUMN:TYPE COLUMN:TYPE COLUMN:TYPE ... - creates model, database layer and JSON API controller
  • gen.model NAME NAMES COLUMN:TYPE COLUMN:TYPE COLUMN:TYPE ... - creates model and database layer
  • migration - runs all migration scripts for the databse

Types

Generator supports following types:

  • string
  • int
  • float
  • double
  • decimal
  • guid
  • datetime
  • bool

How to build

  1. Make sure you have installed version of .Net SDK defined in global.json
  2. Run dotnet tool restore to restore all necessary tools
  3. Run dotnet fake build to build project

How to contribute

Imposter syndrome disclaimer: I want your help. No really, I do.

There might be a little voice inside that tells you you're not ready; that you need to do one more tutorial, or learn another framework, or write a few more blog posts before you can help me with this project.

I assure you, that's not the case.

This project has some clear Contribution Guidelines and expectations that you can read here.

The contribution guidelines outline the process that you'll need to follow to get a patch merged. By making expectations and process explicit, I hope it will make it easier for you to contribute.

And you don't just have to write code. You can help out by writing documentation, tests, or even by giving feedback about this work. (And yes, that includes giving feedback about the contribution guidelines.)

Thank you for contributing!

Contributing and copyright

The project is hosted on GitHub where you can report issues, fork the project and submit pull requests.

The library is available under MIT license, which allows modification and redistribution for both commercial and non-commercial purposes.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

About

A dotnet CLI tool for Saturn projects providing code generation and scaffolding.

Resources

License

Packages

No packages published

Languages