Skip to main content
Module

x/dnit/dnit/deps.ts>flags

dnit: typescript (deno) task executor
Latest
namespace flags
Re-export
Deprecated
Deprecated

(will be removed in 1.0.0) Import from https://deno.land/std/cli/parse_args.ts instead.

import { flags } from "https://deno.land/x/dnit@dnit-v1.14.4/dnit/deps.ts";

Command line arguments parser based on minimist.

This module is browser compatible.

Examples

Example 1

import { parse } from "https://deno.land/std@0.224.0/flags/mod.ts";

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

Functions

f
flags.parse
deprecated

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 parse call.

Type Aliases

T
flags.Args
deprecated

The value returned from parse.