diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-06-28 01:49:17 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-06-28 01:49:17 +0800 |
commit | 43ed08ffecb6a9b571e8df401d99f0432f04c856 (patch) | |
tree | 6cbef7855c71a06fb78cb486e60ad7339ffc884a /deno/tools/yargs.ts | |
parent | 03048eb80b6f65ab42b1fd11db9fa973c8cf4088 (diff) | |
download | crupest-43ed08ffecb6a9b571e8df401d99f0432f04c856.tar.gz crupest-43ed08ffecb6a9b571e8df401d99f0432f04c856.tar.bz2 crupest-43ed08ffecb6a9b571e8df401d99f0432f04c856.zip |
deno: refactor tools.dev
Diffstat (limited to 'deno/tools/yargs.ts')
-rw-r--r-- | deno/tools/yargs.ts | 12 |
1 files changed, 12 insertions, 0 deletions
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<T, U>( + module: CommandModule<T, U>, +): CommandModule<T, U> { + return module; +} + +export const DEMAND_COMMAND_MESSAGE = "No command is specified"; |