aboutsummaryrefslogtreecommitdiff
path: root/src/commands/md5sum.js
blob: 9af992cb45cc21e45274a93ef2d7d7381c9778b0 (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("md5sum", hashCommand("md5"), (args) => hashMetaOption("md5sum", args));
export default singleCall;

if (import.meta.main) await runAsMain(singleCall);