Skip to main content
Module

x/bob/deps.ts>parseFlags

A static site generator for the dynamic web - develop with TSX and build with Deno
Latest
function parseFlags
import { parseFlags } from "https://deno.land/x/bob@v2.8.1/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]