1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00

Update registry URLs for flags (denoland/deno_std#36)

Original: 34f21da7cf
This commit is contained in:
Bartek Iwańczuk 2018-12-20 16:49:34 +01:00 committed by Ryan Dahl
parent 3542f2de0c
commit a86b3c01c8
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env deno --allow-net --allow-env #!/usr/bin/env deno --allow-net --allow-env
import { args, env, exit, readFile } from "deno"; import { args, env, exit, readFile } from "deno";
import parseArgs from "https://deno.land/x/parseargs/index.ts"; import parseArgs from "https://deno.land/x/flags/index.ts";
function pathBase(p: string): string { function pathBase(p: string): string {
const parts = p.split("/"); const parts = p.split("/");

View file

@ -6,7 +6,7 @@ Command line arguments parser for Deno based on minimist
``` ts ``` ts
import { args } from "deno"; import { args } from "deno";
import parseArgs from "https://deno.land/x/parseargs/index.ts"; import parseArgs from "https://deno.land/x/flags/index.ts";
console.dir(parseArgs(args)); console.dir(parseArgs(args));
``` ```