mirror of
https://github.com/rainloreley/artnet-usbdmx-converter.git
synced 2024-11-22 10:23:01 +01:00
print output config in json format instead of js-json
This commit is contained in:
parent
c8448c56ba
commit
faccdb1e2f
|
@ -29,7 +29,7 @@ async function main() {
|
||||||
const selectedInfo = defaultConfigStorage.getInterface() ?? await renderStartupScreen();
|
const selectedInfo = defaultConfigStorage.getInterface() ?? await renderStartupScreen();
|
||||||
|
|
||||||
if (argv._.includes("outputconfig")) {
|
if (argv._.includes("outputconfig")) {
|
||||||
console.log(selectedInfo);
|
console.log(JSON.stringify(selectedInfo, null, 2));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(chalk.blueBright(
|
console.log(chalk.blueBright(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user