{"id":24524194,"url":"https://github.com/bytedev/bytedev.dotnet.cleaner","last_synced_at":"2025-03-15T14:13:52.184Z","repository":{"id":228902726,"uuid":"775242243","full_name":"ByteDev/ByteDev.DotNet.Cleaner","owner":"ByteDev","description":"Provides functionality to quickly clean .NET solutions, git repositories, user info, etc.","archived":false,"fork":false,"pushed_at":"2024-03-21T02:38:32.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T04:19:03.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ByteDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-21T02:36:21.000Z","updated_at":"2024-03-21T02:37:00.000Z","dependencies_parsed_at":"2024-03-21T02:47:58.814Z","dependency_job_id":"e6a5a9a8-38cd-473e-8ea0-c91bf3ca2e24","html_url":"https://github.com/ByteDev/ByteDev.DotNet.Cleaner","commit_stats":null,"previous_names":["bytedev/bytedev.dotnet.cleaner"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteDev%2FByteDev.DotNet.Cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteDev%2FByteDev.DotNet.Cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteDev%2FByteDev.DotNet.Cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ByteDev%2FByteDev.DotNet.Cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ByteDev","download_url":"https://codeload.github.com/ByteDev/ByteDev.DotNet.Cleaner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243738972,"owners_count":20340003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-22T04:18:48.177Z","updated_at":"2025-03-15T14:13:52.160Z","avatar_url":"https://github.com/ByteDev.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build status](https://ci.appveyor.com/api/projects/status/github/bytedev/ByteDev.DotNet.Cleaner?branch=master\u0026svg=true)](https://ci.appveyor.com/project/bytedev/ByteDev-DotNet-Cleaner/branch/master)\n[![NuGet Package](https://img.shields.io/nuget/v/ByteDev.DotNet.Cleaner.svg)](https://www.nuget.org/packages/ByteDev.DotNet.Cleaner)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/ByteDev/ByteDev.DotNet.Cleaner/blob/master/LICENSE)\n\n# ByteDev.DotNet.Cleaner\n\nProvides functionality to quickly clean .NET solutions, git repositories, user info, etc.\n\n## Installation\n\nByteDev.DotNet.Cleaner is hosted as a package on nuget.org.  To install from the Package Manager Console in Visual Studio run:\n\n`Install-Package ByteDev.DotNet.Cleaner`\n\nFurther details can be found on the [nuget page](https://www.nuget.org/packages/ByteDev.DotNet.Cleaner/).\n\n## Release Notes\n\nReleases follow semantic versioning.\n\nFull details of the release notes can be viewed on [GitHub](https://github.com/ByteDev/ByteDev.DotNet.Cleaner/blob/master/docs/RELEASE-NOTES.md).\n\n## Usage\n\n### SolutionCleaner\n\nThe `SolutionCleaner` type can be used to clean various files and directories at the (.NET) solution level.\n\nExample:\n\n```csharp\nvar options = new SolutionCleanerOptions\n{\n\tDeleteDotSettingsUserFiles = true,\n\tDeleteNCrunchSolutionFiles = true,\n\tDeleteBinDirectories = true,\n\tDeleteObjDirectories = true,\n\tDeleteDotVsDirectories = true,\n\tDeleteNugetPackagesDirectories = true,\n\tGit = new SolutionCleanerGitOptions\n\t{\n\t\tDeleteGitDirectory = true,\n\t\tDeleteGitAttributesFile = true,\n\t\tDeleteGitIgnoreFile = true\n\t}\n};\n\nvar cleaner = new DotNetSolutionCleaner(options);\n\ncleaner.Clean(@\"C:\\MyDotNetApp\");\n```\n\n### UserCleaner\n\nThe `UserCleaner` type can be used to clean various files and directories at the user level.\n\n```csharp\nvar options = new UserCleanerOptions\n{\n\tDeleteNugetHttpCache = true,\n\tDeleteNugetPluginsCache = true\n};\n\nvar clean = new UserCleaner(options);\n\ncleaner.Clean();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytedev%2Fbytedev.dotnet.cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytedev%2Fbytedev.dotnet.cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytedev%2Fbytedev.dotnet.cleaner/lists"}