aboutsummaryrefslogtreecommitdiff
path: root/deno/tools/yargs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'deno/tools/yargs.ts')
-rw-r--r--deno/tools/yargs.ts12
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";