This commit is contained in:
2026-02-09 09:32:20 +00:00
commit f23ced9c47
22 changed files with 9064 additions and 0 deletions

12
readme.hints.md Normal file
View File

@@ -0,0 +1,12 @@
# tsrust hints
## Architecture
- Follows tsbuild patterns exactly (cli.js, cli.child.ts, cli.ts.js entry points)
- Uses smartcli for CLI, smartshell for cargo execution, smol-toml for TOML parsing
- Three modules: mod_cli, mod_cargo, mod_fs
## Key patterns
- smartshell `.exec()` streams output to terminal (non-silent)
- smartshell `.execSilent()` captures output without printing
- Cargo workspace detection: check for `[workspace]` section in Cargo.toml
- Binary targets: look for `[[bin]]` entries in member crate Cargo.toml files