We should stop using Bash, and use TypeScript instead.
Bash is terrible.
Bash is terrible.
> 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
~~ $`ls -al`
or ls('al')
And, transpile shortcut strings on-the-fly to TS code: ls({
all: true,
oneEntryPerLine: true,
})