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

JosephAkayesi picture JosephAkayesi  路  3Comments

sh7dm picture sh7dm  路  3Comments

watilde picture watilde  路  3Comments

benjamingr picture benjamingr  路  3Comments

motss picture motss  路  3Comments