8 lines
487 B
JavaScript
8 lines
487 B
JavaScript
// R7 fixture: actual human-cli path with the fixture host's labelled ancestry override.
|
|
// This stands in for Jason's shell (sage-3625); it does not prove real human ancestry.
|
|
import { writeFileSync } from 'node:fs';
|
|
import { humanTransport } from '../../src/transport.mjs';
|
|
const [socket, business, verb, args, out] = process.argv.slice(2);
|
|
const result = await humanTransport({ socket, business })(verb, JSON.parse(args));
|
|
writeFileSync(out, JSON.stringify(result), { mode: 0o600 });
|