Merge branch rel-10.4 with rel-10.3#25616
Open
github-actions[bot] wants to merge 4 commits into
Open
Conversation
# Conflicts: # docs/en/cli/index.md # framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/AbpCliCoreModule.cs
Add CleanLogsCommand
voloagent
approved these changes
Jun 10, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR (auto-generated rel-10.4 → rel-10.3 merge) introduces a new ABP CLI command for cleaning log files and updates CLI documentation accordingly.
Changes:
- Added a new
clean-logsCLI command implementation. - Registered
clean-logsinAbpCliCoreModulecommand map. - Documented
clean-logsin the CLI command list and usage section.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/CleanLogsCommand.cs | Adds the new clean-logs command implementation. |
| framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/AbpCliCoreModule.cs | Registers clean-logs command in CLI options. |
| docs/en/cli/index.md | Adds clean-logs to the CLI docs list and introduces a command section. |
Comment on lines
+14
to
+19
| public ILogger<CleanCommand> Logger { get; set; } | ||
|
|
||
| public CleanLogsCommand(ILogger<CleanCommand> logger) | ||
| { | ||
| Logger = logger; | ||
| } |
Comment on lines
+53
to
+56
| public static string GetShortDescription() | ||
| { | ||
| return "Delete all *logs.txt files in the current folder and its subfolders."; | ||
| } |
| * **[`new-package`](../cli#new-package)**: Generates a new package based on the given template. | ||
| * **[`update`](../cli#update)**: Automatically updates all ABP related NuGet and NPM packages in a solution. | ||
| * **[`clean`](../cli#clean)**: Deletes all `BIN` and `OBJ` folders in the current folder. | ||
| * **[`clean-logs`](../cli#clean-logs)**: Delete all `*logs.txt` files in the current folder and its subfolders. |
| ```` | ||
| ### clean-logs | ||
|
|
||
| Delete all `*logs.txt` files in the current folder and its subfolders. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR generated automatically to merge rel-10.4 with rel-10.3. Please review the changed files before merging to prevent any errors that may occur.