Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rad/src/3p/std.ts>flags.parse

general purpose build tool. statically typed, batteries included. command, function, and make-style tasks supported. improved npm scripts for deno.
Latest
function flags.parse
import { flags } from "https://deno.land/x/rad@v6.11.0/src/3p/std.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]