dotnet build
dotnet run <flags>
- ex.
dotnet run generate -t test.docx
- ex.
dotnet run gen -t test.docx
- ex.
dotnet run fill -t test.docx -j output.json
-
generate
-
template
(t) The only required flag. this is where you provide the docx file.json
(j) The output file name for the json generated.
-
-
fill
-
template
(t) A required flag. this is where you provide the docx file.json
(j) A reuqired flag. The input file name for the json to fill your form.
-
- build:
docker build -t formgen:latest .
- run:
docker run --name docs_vm -it formgen:latest
- macos 14:
dotnet publish -c Release -r osx.10.14-x64
- macos:
dotnet publish -c Release -r osx-x64
- windows:
dotnet publish -c Release -r win-x64
- linux:
dotnet publish -c Release -r linux-x64
- see more RID configurations at: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog
- OS X
- Linux
- Windows