swc/crates/swc_bundler/tests/deno-exec/deno-9350/full/input/entry.ts
2021-11-09 20:42:49 +09:00

14 lines
336 B
TypeScript

import { parse } from "https://deno.land/std@0.85.0/flags/mod.ts";
import { getNumericInput, printQuestion } from "./helpers/mod";
import printStats from "./print_stats.ts";
const args = parse(Deno.args);
console.log(args.stats);
printStats();
printQuestion("How many times have you played");
console.log(await getNumericInput());