Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/flags/mod.ts>parse

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