Skip to content

📙 Generate C# code, Sqlite/SqlCipher database from Excel

License

Notifications You must be signed in to change notification settings

netpyoung/nf.data-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nf.data-flow

flow.png flow.puml

introduce

this is sample dataflow. When I making a game(in unity), I don't like to hard-coding for data class from excel. I'm writing custom class generator, and data exporter for that work with SqlCipher4Unity3D.

Gui

docs/res/DataFlowGUI.png

Cli

$ dotnet-nf-dataflow
dotnet-nf-dataflow 2.0.0
Copyright (C) 2022 dotnet-nf-dataflow

ERROR(S):
  At least one option from group 'out' (out_database, out_csharp) is required.

  --in_paths          (Group: in) .xlsx or directory

  --config            (Group: in) (Default: dataflow.yaml) config file path

  --out_database      (Group: out) database path

  --out_csharp        (Group: out) csharp directory

  --password          (Default: ) db password

  --namespace         (Default: AutoGenerated.DB) namespace

  --template_paths    template paths

  --assemblely        (Default: true) try to generate Assembly even if does not generate database

  --help              Display this help screen.

  --version           Display version information.

sheet

Const

docs/res/sheet_const.png

CONST.cs

Enum

docs/res/sheet_enum.png

E_ENUM.cs

Class

docs/res/sheet_class.png

DCharacter.cs

db

output_db_value.png output_db_scheme.png output.db

etc

$ rake --version
rake, version 13.0.6

$ dotnet --version
6.0.300

$ rake tool_install
$ rake dataflow

Ref