diff --git a/src/cli/deps.ts b/src/cli/deps.ts index 2258ea9..2fc0a32 100755 --- a/src/cli/deps.ts +++ b/src/cli/deps.ts @@ -1,14 +1,14 @@ /** std */ -export { copy } from "https://deno.land/std@0.136.0/streams/conversion.ts"; +export { copy } from "https://deno.land/std@0.140.0/streams/conversion.ts"; export { parse } from "https://deno.land/std@0.130.0/flags/mod.ts"; /** 3rd party */ -export { Command } from "https://deno.land/x/cliffy@v0.23.1/command/command.ts"; -export { UpgradeCommand } from "https://deno.land/x/cliffy@v0.23.1/command/upgrade/upgrade_command.ts"; -export { DenoLandProvider } from "https://deno.land/x/cliffy@v0.23.1/command/upgrade/provider/deno_land.ts"; +export { Command } from "https://deno.land/x/cliffy@v0.24.2/command/command.ts"; +export { UpgradeCommand } from "https://deno.land/x/cliffy@v0.24.2/command/upgrade/upgrade_command.ts"; +export { DenoLandProvider } from "https://deno.land/x/cliffy@v0.24.2/command/upgrade/provider/deno_land.ts"; export { ValidationError, -} from "https://deno.land/x/cliffy@v0.23.1/command/_errors.ts"; +} from "https://deno.land/x/cliffy@v0.24.2/command/_errors.ts"; export { tokens } from "https://deno.land/x/rusty_markdown@v0.4.1/mod.ts"; export { bundle as denoBundle, diff --git a/src/cli/eval.ts b/src/cli/eval.ts index 49fc915..b189390 100755 --- a/src/cli/eval.ts +++ b/src/cli/eval.ts @@ -4,11 +4,15 @@ import { getModuleFromStdin } from "./lib/stream.ts"; export function evalCommand() { return new Command() - .description(`Evaluate a dzx script from the command line.\n - dzx eval "console.log($.shell)"\n -Or read from stdin:\n - echo "console.log($.shell)" | dzx eval -`) + .description(` + Evaluate a dzx script from the command line. + + dzx eval "console.log($.shell)" + + Or read from stdin: + + echo "console.log($.shell)" | dzx eval + `) .arguments("[code]") .action( async function (_: void, code?: string) { diff --git a/src/cli/mod.ts b/src/cli/mod.ts index 51972cf..c56147a 100755 --- a/src/cli/mod.ts +++ b/src/cli/mod.ts @@ -75,10 +75,12 @@ export function dzx() { ) .option( "-v, --verbose", - "Run script in verbose mode. This option can appear up to three times.\n" + - "-v: Print executed commands and script execution time.\n" + - "-vv: Print also stdout and stderr.\n" + - "-vvv: Print internal debug information.", + ` + Enable verbose mode. This option can appear up to three times. + -v: Print executed commands and script execution time. + -vv: Print also stdout and stderr. + -vvv: Print internal debug information. + `, { collect: true, default: 1, diff --git a/src/cli/repl.ts b/src/cli/repl.ts index 11fbedf..b24f882 100755 --- a/src/cli/repl.ts +++ b/src/cli/repl.ts @@ -21,10 +21,12 @@ export function replCommand() { ) .option( "-v, --verbose", - "Run repl in verbose mode. This option can appear up to three times.\n" + - "-v: Print executed commands and script execution time.\n" + - "-vv: Print also stdout and stderr.\n" + - "-vvv: Print internal debug information.", + ` + Enable verbose mode. This option can appear up to three times. + -v: Print executed commands and script execution time. + -vv: Print also stdout and stderr. + -vvv: Print internal debug information. + `, { collect: true, default: 1, diff --git a/src/runtime/deps.ts b/src/runtime/deps.ts index acbcc49..8e60bf2 100755 --- a/src/runtime/deps.ts +++ b/src/runtime/deps.ts @@ -1,46 +1,46 @@ -export * as async from "https://deno.land/std@0.136.0/async/mod.ts"; +export * as async from "https://deno.land/std@0.140.0/async/mod.ts"; export type { DebouncedFunction, Deferred, DelayOptions, -} from "https://deno.land/std@0.136.0/async/mod.ts"; -export * as path from "https://deno.land/std@0.136.0/path/mod.ts"; +} from "https://deno.land/std@0.140.0/async/mod.ts"; +export * as path from "https://deno.land/std@0.140.0/path/mod.ts"; export type { FormatInputPathObject, GlobOptions, GlobToRegExpOptions, ParsedPath, -} from "https://deno.land/std@0.136.0/path/mod.ts"; -export * as io from "https://deno.land/std@0.136.0/io/mod.ts"; +} from "https://deno.land/std@0.140.0/path/mod.ts"; +export * as io from "https://deno.land/std@0.140.0/io/mod.ts"; export type { ReadableStreamFromReaderOptions as IOReadableStreamFromReaderOptions, ReadLineResult, WritableStreamFromWriterOptions as IOWritableStreamFromWriterOptions, -} from "https://deno.land/std@0.136.0/io/mod.ts"; -export * as streams from "https://deno.land/std@0.136.0/streams/mod.ts"; +} from "https://deno.land/std@0.140.0/io/mod.ts"; +export * as streams from "https://deno.land/std@0.140.0/streams/mod.ts"; export type { ReadableStreamFromReaderOptions, WritableStreamFromWriterOptions, -} from "https://deno.land/std@0.136.0/streams/mod.ts"; -export * as fs from "https://deno.land/std@0.136.0/fs/mod.ts"; +} from "https://deno.land/std@0.140.0/streams/mod.ts"; +export * as fs from "https://deno.land/std@0.140.0/fs/mod.ts"; export type { CopyOptions, ExpandGlobOptions, WalkEntry, WalkOptions, -} from "https://deno.land/std@0.136.0/fs/mod.ts"; -export * as log from "https://deno.land/std@0.136.0/log/mod.ts"; +} from "https://deno.land/std@0.140.0/fs/mod.ts"; +export * as log from "https://deno.land/std@0.140.0/log/mod.ts"; export type { FormatterFunction, HandlerOptions, LevelName, LogConfig, LogMode, -} from "https://deno.land/std@0.136.0/log/mod.ts"; -export * as flags from "https://deno.land/std@0.136.0/flags/mod.ts"; +} from "https://deno.land/std@0.140.0/log/mod.ts"; +export * as flags from "https://deno.land/std@0.140.0/flags/mod.ts"; export type { Args, ParseOptions, -} from "https://deno.land/std@0.136.0/flags/mod.ts"; -export { colors } from "https://deno.land/x/cliffy@v0.20.1/ansi/colors.ts"; +} from "https://deno.land/std@0.140.0/flags/mod.ts"; +export { colors } from "https://deno.land/x/cliffy@v0.24.2/ansi/colors.ts"; export { default as shq } from "https://esm.sh/shq@1.0.2";