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

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