Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add dotnet uninstall command #358

Merged
merged 3 commits into from
Oct 4, 2021
Merged

feat: Add dotnet uninstall command #358

merged 3 commits into from
Oct 4, 2021

Conversation

johanndev
Copy link
Contributor

  • Adds the DotnetNew.UninstallAsync() method to clean up dotnet template installations between test runs.
  • Add missing exception annotations
  • Move the call to ProcessExtensions.StartAsync into a private method

Fixes: #357

- Adds the `DotnetNew.UninstallAsync()` method to clean up dotnet template installations between test runs.
- Add missing exception annotations
- Move the call to `ProcessExtensions.StartAsync` into a private method

Fixes: #357
Copy link
Member

@RehanSaeed RehanSaeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for raising. A couple of very small comments made.

Source/Boxed.DotnetNewTest/DotnetNew.cs Outdated Show resolved Hide resolved
Source/Boxed.DotnetNewTest/DotnetNew.cs Outdated Show resolved Hide resolved
- Split argument checking into null check and separate length check
- Extract GetProjectFilePath method
@RehanSaeed RehanSaeed added enhancement Issues or pull requests adding an enhancement. minor Pull requests requiring a minor version update according to semantic versioning. labels Oct 4, 2021
@RehanSaeed
Copy link
Member

Looks good. Thanks again for the PR.

@RehanSaeed RehanSaeed merged commit 01dc955 into Dotnet-Boxed:main Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues or pull requests adding an enhancement. minor Pull requests requiring a minor version update according to semantic versioning.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Boxed.DotnetNewTest] Add uninstall command
2 participants