This release is 15 versions behind 1.0.24 — the latest version of @std/cli. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Tools for creating interactive command line tools
This package works with DenoIt is unknown whether this package works with Bun

JSR Score
94%
Published
a year ago (1.0.9)
Tools for creating interactive command line tools.
import { parseArgs } from "@std/cli/parse-args"; import { assertEquals } from "@std/assert"; // Same as running `deno run example.ts --foo --bar=baz ./quux.txt` const args = parseArgs(["--foo", "--bar=baz", "./quux.txt"]); assertEquals(args, { foo: true, bar: "baz", _: ["./quux.txt"] });
Built and signed on
GitHub Actions
Add Package
deno add jsr:@std/cli
Import symbol
import * as cli from "@std/cli";
Import directly with a jsr specifier
import * as cli from "jsr:@std/cli";
Add Package
bunx jsr add @std/cli
Import symbol
import * as cli from "@std/cli";