Skip to main content
Module

x/coreutils/deps.ts>parse

🍥 Cross-platform JavaScript rewrite of the GNU Coreutils
Go to Latest
function parse
import { parse } from "https://deno.land/x/coreutils@v0.1.5/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]