From 43ed08ffecb6a9b571e8df401d99f0432f04c856 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sat, 28 Jun 2025 01:49:17 +0800 Subject: deno: refactor tools. --- deno/tools/yargs.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 deno/tools/yargs.ts (limited to 'deno/tools/yargs.ts') diff --git a/deno/tools/yargs.ts b/deno/tools/yargs.ts new file mode 100644 index 0000000..eaa7803 --- /dev/null +++ b/deno/tools/yargs.ts @@ -0,0 +1,12 @@ +// @ts-types="npm:@types/yargs" +export { default } from "yargs"; +export * from "yargs"; + +import { CommandModule } from "yargs"; +export function defineYargsModule( + module: CommandModule, +): CommandModule { + return module; +} + +export const DEMAND_COMMAND_MESSAGE = "No command is specified"; -- cgit v1.2.3