Skip to main content

@std/flags@0.215.0

latest
Works with
It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun
It is unknown whether this package works with Browsers
It is unknown whether this package works with Deno
It is unknown whether this package works with Node.js
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Bun
JSR Score82%
Published2 years ago (0.215.0)
Deprecated

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

Command line arguments parser based on minimist.

This module is browser compatible.

Examples

Example 1

import { parse } from "@std/flags";

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

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/flags

Import symbol

import * as flags from "@std/flags";
or

Import directly with a jsr specifier

import * as flags from "jsr:@std/flags";