mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-09-08 03:15:09 -05:00
Fix nxapi nso play-activity --json
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user