initial
This commit is contained in:
12
readme.hints.md
Normal file
12
readme.hints.md
Normal 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
|
||||
Reference in New Issue
Block a user