aboutsummaryrefslogtreecommitdiff
path: root/src/commands/sha224sum.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/sha224sum.js')
-rw-r--r--src/commands/sha224sum.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/commands/sha224sum.js b/src/commands/sha224sum.js
new file mode 100644
index 0000000..3e639a8
--- /dev/null
+++ b/src/commands/sha224sum.js
@@ -0,0 +1,9 @@
+#!/usr/bin/env bun
+
+import { hashCommand, hashMetaOption } from "../shared/hash.js";
+import { defineCommand, runAsMain } from "../shared/command.js";
+
+const singleCall = defineCommand("sha224sum", hashCommand("sha224"), (args) => hashMetaOption("sha224sum", args));
+export default singleCall;
+
+if (import.meta.main) await runAsMain(singleCall);