Fix nxapi nso play-activity --json

This commit is contained in:
Samuel Elliott 2025-07-29 00:40:38 +01:00
parent f7084107c6
commit 64b6a663e5
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6

View File

@ -68,6 +68,15 @@ export async function handler(argv: ArgumentsCamelCase<Arguments>) {
]) : [],
]);
if (argv.jsonPrettyPrint) {
console.log(JSON.stringify(play_log, null, 4));
return;
}
if (argv.json) {
console.log(JSON.stringify(play_log));
return;
}
const table = new Table({
head: [
'Title ID',