Module

std/flags/mod.ts>parse

Deno standard library
Go to Latest
function parse
import { parse } from "https://dotland.deno.dev/std@0.98.0/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]