Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denjucks/src/deps/path/std/flags/mod.ts>parse

Deno templating engine
Latest
function parse
import { parse } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/flags/mod.ts";

Take a set of command line arguments, with an optional set of options, and return an object representation of those argument.

 const parsedArgs = parse(Deno.args);

Parameters

args: string[]
optional
unnamed 1: ArgParsingOptions = [UNSUPPORTED]