This is a code exercise. It'll be a component of a continuing discussion. It'll have specific emphasis on SOLID principles, which for me means following what I've laid out about MicroObjects.
- This is a C# project, use any IDE or tool capable of compiling such. A few I'm familiar with are below.
- Free - Visual Studio
- Trial - Rider
- Free - Visual Studio Code
- GroceryImport.sln is the solution file
- GroceryImport.Core.csproj is the core functionality in .NET Standard
- GroceryImport.Cli.csproj is the command line UI; in .NET Core
- Run Tests
- Ensure everything is functioning as expected.
- CI is via AppVeyor and is here.
- Build file is
appveyor.yml
in the root.- A build file is used for maintainability and enabling making build changes in branches without potentially breaking everything.
- Get the executable
- The latest artifact from here
- Build Locally
- Execute from the command line as follows
GroceryImport.Cli.exe [INPUT_FILE_PATH]
- Help on usage available by
GroceryImport.Cli.exe -help
orGroceryImport.Cli.exe -?
orGroceryImport.Cli.exe -h
- It's not a good help...
Don't. I'm using this to demonstrate and enable discussion on my coding technique.