Browse Source

Add usage documentation modification notes

pull/23305/head
blackWinds 8 months ago
parent
commit
1264981274
  1. 10
      docs/en/cli/index.md
  2. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/CleanLogsCommand.cs

10
docs/en/cli/index.md

@ -40,6 +40,7 @@ Here, is the list of all available commands before explaining their details:
* **`new-package`**: Generates a new package based on the given template.
* **`update`**: Automatically updates all ABP related NuGet and NPM packages in a solution.
* **`clean`**: Deletes all `BIN` and `OBJ` folders in the current folder.
* **`clean-logs`**: Delete all `*logs.txt` files in the current folder and its subfolders.
* **`add-package`**: Adds an ABP package to a project.
* **`add-package-ref`**: Adds package to given project.
* **`install-module`**: Adds a [multi-package application module](../modules/index.md) to a given module.
@ -353,6 +354,15 @@ Usage:
````bash
abp clean
````
### clean-logs
Delete all `*logs.txt` files in the current folder and its subfolders.
Usage:
````bash
abp clean-logs
````
### add-package

4
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/CleanLogsCommand.cs

@ -33,8 +33,6 @@ public class CleanLogsCommand : IConsoleCommand, ITransientDependency
File.Delete(file);
}
}
Logger.LogInformation($"'Logs' files removed successfully!");
Logger.LogInformation("Logs cleaned successfully!");
return Task.CompletedTask;
}
@ -54,6 +52,6 @@ public class CleanLogsCommand : IConsoleCommand, ITransientDependency
public static string GetShortDescription()
{
return "Delete all *logs.txt files in current folder.";
return "Delete all *logs.txt files in the current folder and its subfolders.";
}
}
Loading…
Cancel
Save