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:
parent
3542f2de0c
commit
a86b3c01c8
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env deno --allow-net --allow-env
|
||||
|
||||
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 {
|
||||
const parts = p.split("/");
|
||||
|
|
|
@ -6,7 +6,7 @@ Command line arguments parser for Deno based on minimist
|
|||
|
||||
``` ts
|
||||
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));
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue