📝 Simplify directory listings in README and update tree command options in scripts

This commit is contained in:
2026-04-11 09:45:51 +08:00
parent 3951de87dc
commit 6cc6d63737
3 changed files with 275 additions and 290 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ fn main() -> XResult<()> {
let readme_template = opt_result!(fs::read_to_string(readme_template_file),
"Read {} failed: {}", readme_template_file);
let output = util_cmd::run_command_or_exit("tree.ts", &["--depth", "1"]);
let output = util_cmd::run_command_or_exit("tree.ts", &["--depth", "1", "--hide-more-dirs", "--hide-file-size"]);
if !output.status.success() {
failure_and_exit!("Run tree -L 2 failed: {}", output.status);
}
@@ -36,5 +36,5 @@ fn main() -> XResult<()> {
Ok(())
}
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260411T085848+08:00.MEQCIAajfj9xLasVUPLMKGoO
// 6jybhE/TaNt8pFTGwhqbAd1PAiAKM8UqKSKwNn+9X3fy2ET70TCXM7hgu7B+i/gjoh4WQw==
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260411T094420+08:00.MEUCIQDxGdDLqVozqmivnKDO
// xpcw/dXMeVWe3BdjH82Xr5E/rAIgEwHX5Tnr7Da1EsXROa+OalixvJUuwvdZQXOgWgKII7I=