To install and run the project you can do the following:
dotnet pack
the az-lazy project- cd into the
nupkg
folder - Run the following command
dotnet tool install --global --add-source ./ az-lazy
Or alternatively
dotnet build
the az-lazy project from the root repository- Cd into the az-lazy project > bin > .. > to the executable az-lazy.exe
- Run commands off the exe produced, eg.
/az-lazy.exe connection --list
Unit tests are designed to run against the Azurite and are dependent on docker, steps are as follows,
- Change directory to the root of the project
- Run
docker-compose up
to create an Azurite instance - Run
dotnet test
- Add CI process with github
- Ensure there is a integration test for command
- Ensure command names are easy to understand
- Ensure commands have a valid alias when possible
- Build succeeds
Adding colour to documentation https://stackoverflow.com/questions/11509830/how-to-add-color-to-githubs-readme-md-file
Spectre.Console https://spectresystems.github.io/spectre.console/