The TechScript Formatter (tools/formatter) enforces a uniform style layout across all codebases.
Format a single file:
tech fmt main.txs
Format all files recursively in the current workspace:
tech fmt .
Verify formatting on CI without editing files:
tech fmt --check .
The formatter applies the following styling rules automatically:
end markers are aligned with their initiating keyword.x = a + b instead of x=a+b.do add(a, b) instead of do add(a,b).$ prefix for interpolated strings (e.g. converting deprecated f"..." to $"...").