Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ter/deps/std.ts>flags

A tiny wiki-style site generator with Zettelkasten flavor.
Latest
namespace flags
Deprecated
Deprecated

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

Command line arguments parser based on minimist.

This module is browser compatible.

import { flags } from "https://deno.land/x/ter@0.15.57/deps/std.ts";

Examples

Example 1

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

console.dir(parse(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.