Simple CLI app for converting one format to another.
--sourceType (Default: File) Data Source Type (File)
-s, --source Required. Data Source (file path)
-f, --sourceFormat Required. Source Format (Json, Xml)
--sourceType (Default: File) Data Destination Type (File)
-d, --destination Required. Data Destination (file path)
-o, --destinationFormat Required. Destination Format (Json, Xml)
--help Display this help screen.
--version Display version information.
- build the CLI converter
- go to FormatConverter.CLI\bin\Debug\netcoreapp3.1
- run:
FormatConverter.CLI.exe -s ./document.json -f Json -o Xml -d ./out.xml
document.json and document.xml are already available in the output dir
- better error handling and resiliency
- Homework.cs - contains inline comments for code issues