Deno: Why not make a powerful args parser?

Created on 15 Jul 2020  路  5Comments  路  Source: denoland/deno

Why not make an args parser that can do more than std/flags? (similar to yargs)

Most helpful comment

@srepollock Thank you, I have not seen. But I think it would be nice to add this (or something similar) to std.

All 5 comments

Have you checked out the third party module args?

@srepollock Thank you, I have not seen. But I think it would be nice to add this (or something similar) to std.

@srepollock Thank you, I have not seen. But I think it would be nice to add this (or something similar) to std.

it's already in std

import { parse } from "https://deno.land/std/flags/mod.ts";

console.dir(parse(Deno.args));

Yo I did not see that! Fantastic!

Could be closed?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

motss picture motss  路  3Comments

davidbarratt picture davidbarratt  路  3Comments

ry picture ry  路  3Comments

CruxCv picture CruxCv  路  3Comments

metakeule picture metakeule  路  3Comments