summaryrefslogtreecommitdiff
path: root/std/flags/example.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/flags/example.ts')
-rw-r--r--std/flags/example.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/std/flags/example.ts b/std/flags/example.ts
new file mode 100644
index 000000000..04ace4673
--- /dev/null
+++ b/std/flags/example.ts
@@ -0,0 +1,5 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+const { args } = Deno;
+import { parse } from "./mod.ts";
+
+console.dir(parse(args));