mirror of
https://github.com/rainloreley/artnet-usbdmx-converter.git
synced 2024-10-04 09:32:58 +02: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();
|
||||
|
||||
if (argv._.includes("outputconfig")) {
|
||||
console.log(selectedInfo);
|
||||
console.log(JSON.stringify(selectedInfo, null, 2));
|
||||
return;
|
||||
}
|
||||
console.log(chalk.blueBright(
|
||||
|
|
Loading…
Reference in New Issue
Block a user