auto(1dc9423ac708): session end @ 2026-06-11T13:44:23 (+1f)
This commit is contained in:
1 parent
d3ebd6c63e
commit
12549103c8
1 file changed
+3
-2
@@ -127,6 +127,7 @@ public class ClearAppCommand implements Callable<Integer> {
|
||||
private boolean skipDb;
|
||||
|
||||
@Option(names = {"--restart"},
|
||||
negatable = true,
|
||||
defaultValue = "true",
|
||||
fallbackValue = "true",
|
||||
description = "清理后询问是否立即 initapp 重建一个新 app (Y/N). 默认开启, 传 --no-restart 跳过")
|
||||
@@ -828,10 +829,10 @@ public class ClearAppCommand implements Callable<Integer> {
|
||||
|
||||
// 1. 文件
|
||||
if (!targets.isEmpty()) {
|
||||
println(blue("\n [1] 文件/目录 (先备份到 history-bak/{ts}/files/):"));
|
||||
println(blue("\n [1] 文件/目录 (Files.move 到 history-bak/{ts}/files/):"));
|
||||
for (FileTarget t : targets) {
|
||||
Path rel = layout.workspace.relativize(t.path);
|
||||
println(" " + red("[DEL ]") + " " + rel + (t.isDir ? "/" : ""));
|
||||
println(" " + red("[MOVE]") + " " + rel + (t.isDir ? "/" : ""));
|
||||
}
|
||||
} else {
|
||||
println(blue("\n [1] 文件/目录: (无)"));
|
||||
|
||||
Reference in new issue
Block a user