feat: update tool logs to be more coherent
This commit is contained in:
@@ -17,7 +17,7 @@ internal static class DirTools
|
||||
{
|
||||
sourcePath = ResolvePath(sourcePath);
|
||||
destinationPath = ResolvePath(destinationPath);
|
||||
Log($"Renaming/moving directory: {sourcePath} -> {destinationPath}");
|
||||
Log($" ● rename_dir: {sourcePath} -> {destinationPath}");
|
||||
|
||||
if (!Directory.Exists(sourcePath))
|
||||
return $"ERROR: Directory not found: {sourcePath}";
|
||||
@@ -44,7 +44,7 @@ internal static class DirTools
|
||||
[Description("Path to the directory to create.")] string path)
|
||||
{
|
||||
path = ResolvePath(path);
|
||||
Log($"Creating directory: {path}");
|
||||
Log($" ● create_dir: {path}");
|
||||
|
||||
if (Directory.Exists(path))
|
||||
return $"ERROR: Directory already exists: {path}";
|
||||
|
||||
Reference in New Issue
Block a user