https://github.com/netpyoung/nf.data-flow
:orange_book: Generate C# code, Sqlite/SqlCipher database from Excel
https://github.com/netpyoung/nf.data-flow
code-generator db-generator excel netpyoung-nf unity3d workflow
Last synced: 3 months ago
JSON representation
:orange_book: Generate C# code, Sqlite/SqlCipher database from Excel
- Host: GitHub
- URL: https://github.com/netpyoung/nf.data-flow
- Owner: netpyoung
- License: mit
- Created: 2017-02-09T17:55:21.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T14:00:20.000Z (9 months ago)
- Last Synced: 2025-02-28T16:55:40.730Z (3 months ago)
- Topics: code-generator, db-generator, excel, netpyoung-nf, unity3d, workflow
- Language: C#
- Homepage:
- Size: 16.8 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# nf.data-flow

[flow.puml](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](https://github.com/netpyoung/SqlCipher4Unity3D).
## Gui

## Cli
``` cmd
$ dotnet-nf-dataflow
dotnet-nf-dataflow 2.0.0
Copyright (C) 2024 dotnet-nf-dataflowERROR(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
--datetime_as_ticks (Default: true) save datetime as ticks on database
--help Display this help screen.
--version Display version information.
```## sheet
### Const

[CONST.cs](dataflow_unity/Assets/Hello.Complex/output/CONST.cs)
### Enum

[E_ENUM.cs](dataflow_unity/Assets/Hello.Complex/output/E_ENUM.cs)
### Class

[DCharacter.cs](dataflow_unity/Assets/Hello.Complex/output/DCharacter.cs)
## db


[output.db](dataflow_unity/Assets/Hello.Complex/output/output.db)## etc
``` cmd
$ dotnet --version
8.0.401
```## Ref
- liquid
-
-
- sqlite
- [Sqlite](https://www.sqlite.org/) && [Sqlcipher](https://www.zetetic.net/sqlcipher/)
- [SqlCipher4Unity3D](https://github.com/netpyoung/SqlCipher4Unity3D)
-
- [Rakefile](https://github.com/ruby/rake)
-