aboutsummaryrefslogtreecommitdiff
path: root/src/commands/sha512sum.js
blob: 2ff3395471694d29239e52fde31aa2b62bf0c6a5 (plain)
1
2
3
4
5
6
7
8
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);