aboutsummaryrefslogtreecommitdiff
path: root/src/commands/sha512sum.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/sha512sum.js')
-rw-r--r--src/commands/sha512sum.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/commands/sha512sum.js b/src/commands/sha512sum.js
new file mode 100644
index 0000000..2ff3395
--- /dev/null
+++ b/src/commands/sha512sum.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("sha512sum", hashCommand("sha512"), (args) => hashMetaOption("sha512sum", args));
+export default singleCall;
+
+if (import.meta.main) await runAsMain(singleCall);