diff --git a/mod.ts b/mod.ts index 294775b..4575431 100644 --- a/mod.ts +++ b/mod.ts @@ -1,8 +1,9 @@ import { Command } from "https://deno.land/x/cliffy@v0.25.7/command/mod.ts"; -function helloWorld(options, ...args) { - console.log("hello world"); +async function helloWorld(options, ...args) { + await Deno.writeTextFile("/dev/null", "hello world.", {append: true}); + console.log('"hello world" has been written into /dev/null'); } await new Command()