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

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