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

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