mirror of
https://github.com/denoland/deno.git
synced 2024-11-04 08:54:20 -05:00
575bdb8451
- 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
9 lines
215 B
TypeScript
9 lines
215 B
TypeScript
function args(args: string[]) {
|
|
const map = {};
|
|
for (let i = 0; i < args.length; i++) {
|
|
map[i] = args[i];
|
|
}
|
|
Deno.stdout.write(new TextEncoder().encode(JSON.stringify(map)));
|
|
}
|
|
|
|
args(Deno.args.slice(1));
|