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

x/program/deps.ts>parse

command-line interface for deno programs.
Latest
function parse
import { parse } from "https://deno.land/x/program@0.1.6/deps.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]