deno.land / std@0.224.0 / cli / mod.ts

View Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
/** * Tools for creating interactive command line tools. * * ```ts * // $ deno run example.ts --foo --bar=baz ./quux.txt * import { parseArgs } from "https://deno.land/std@$STD_VERSION/cli/parse_args.ts"; * * const parsedArgs = parseArgs(Deno.args); * parsedArgs; // { foo: true, bar: "baz", _: ["./quux.txt"] } * ``` * * @module */
export * from "./parse_args.ts";export * from "./prompt_secret.ts";export * from "./spinner.ts";export * from "./unicode_width.ts";
std

Version Info

Tagged at
6 months ago