json output
This commit is contained in:
parent
772eca8c85
commit
277744e52b
@ -1,7 +1,7 @@
|
|||||||
const { execSync } = require("child_process");
|
const { execSync } = require("child_process");
|
||||||
|
|
||||||
export const cliTest = (args: any) => {
|
export const cliTest = (args: any) => {
|
||||||
return execSync(`./bin/laconic cns ${args}`).toString();
|
return execSync(`./bin/laconic cns ${args} -o json`).toString();
|
||||||
};
|
};
|
||||||
|
|
||||||
export function createBond(type: string, quantity: string):string{
|
export function createBond(type: string, quantity: string):string{
|
||||||
|
Loading…
Reference in New Issue
Block a user