mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-03-21 18:04:10 -05:00
Fix nxapi nso play-activity --json
This commit is contained in:
parent
f7084107c6
commit
64b6a663e5
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user