aboutsummaryrefslogtreecommitdiff
path: root/src/commands/test.js
blob: 038410e26fc2ccb62a344be6d93912c146795923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bun

import { testExpressionStatus } from "../shared/test-expression.js";
import { defineCommand, runAsMain } from "../shared/command.js";

export async function testCmd(args) {
  return testExpressionStatus(args, "test");
}

const singleCall = defineCommand("test", testCmd, null);
export default singleCall;

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