Skip to main content
Module

x/dnit/mod.ts>flags.parse

dnit: typescript (deno) task executor
Go to Latest
function flags.parse
import { flags } from "https://deno.land/x/dnit@dnit-v1.14.2/mod.ts";
const { parse } = flags;

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]