1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-02 09:34:19 -04:00
denoland-deno/installer/testdata/echo.ts
Bartek Iwańczuk 575bdb8451 improve installer (denoland/deno_std#512)
- remove uninstall command
- add --reload to deno fetch - to ensure subsequent installation 
  upgrades script and deps
- fix executable shebang
- fix prompt for subsequent installation
- support custom installation dir via -d/--dir flag
Original: b13441fe8a
2019-06-20 07:52:18 -07:00

6 lines
144 B
TypeScript

function echo(args: string[]) {
const msg = args.join(", ");
Deno.stdout.write(new TextEncoder().encode(msg));
}
echo(Deno.args.slice(1));