Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/packup/deps.ts>parseFlags

📦 Zero-config web application packager in Deno
Go to Latest
function parseFlags
import { parseFlags } from "https://deno.land/x/packup@v0.1.13/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]