Implement the restore command
matzefriedrich opened this issue · 0 comments
matzefriedrich commented
The tool shall be able to restore referenced repositories.
Scenario
- A repository that has a
.nugit
workspace file gets cloned; thedotnet nugit restore
command can be used to clone all referenced repositories to build and pack NuGet packages - The build environment can now resolve all NuGet packages and build the application
- The command has a
--reinstall
flag that forces the tool to perform a fresh checkout of referenced repositories and rebuild all packages
Non-functional requirements
- Existing functionality may need refactoring (cloning repositories and building projects is currently implemented in the
AddPackagesFromRepositoryCommand
class