laconic-registry-cli/test/helper.ts

6 lines
150 B
TypeScript
Raw Normal View History

2023-03-24 11:32:38 +00:00
const { execSync } = require("child_process");
export const cliTest = (args: any) => {
return execSync(`./bin/laconic cns ${args}`).toString();
};