Skip to main content
Module

x/sweetid/deps.ts>parse

Alphanumeric IDs, powered by Nano ID
Go to Latest
function parse
import { parse } from "https://deno.land/x/sweetid@0.9.0/deps.ts";

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

     import { parse } from "./mod.ts";
     const parsedArgs = parse(Deno.args);

Parameters

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