mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
bfde9a1f6e
swc_bundler: - Handle export default-ed functions correctly.
14 lines
336 B
TypeScript
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());
|