4 ms·
We should stop using Bash, and use TypeScript instead. Bash is terrible.
by grumblingdev 3y ago
We should stop using Bash, and use TypeScript instead.
Bash is terrible.
- corobo 3y agowell this shell is just broken > ls -al <repl>.ts:4:1 - error TS2304: Cannot find name 'ls'. 4 ls -al ~~ <repl>.ts:4:5 - error TS2304: Cannot find name 'al'. 4 ls -al ~~
- grumblingdev 3y agoEasy... $`ls -al` or ls('al') And, transpile shortcut strings on-the-fly to TS code: ls({ all: true, oneEntryPerLine: true, })