Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/cli/parse_args.ts

The Deno Standard Library
Latest
import * as mod from "https://deno.land/std@0.224.0/cli/parse_args.ts";

Command line arguments parser based on minimist.

This module is browser compatible.

Examples

Example 1

import { parseArgs } from "https://deno.land/std@0.224.0/cli/parse_args.ts";

console.dir(parseArgs(Deno.args));

Functions

Take a set of command line arguments, optionally with a set of options, and return an object representing the flags found in the passed arguments.

Interfaces

The options for the parseArgs call.

Type Aliases

The value returned from parseArgs.