simplify cli arguments to just nxapi-presence and add to readme

nxapi-presence
Rosalina 2024-01-13 02:34:43 -05:00
parent 72c3b7c9d3
commit 4d65d0acef
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,7 @@ Options:
("vs", "coop") ("vs", "coop")
--with-summary Include summary in the output --with-summary Include summary in the output
--help Show this help message and exit --help Show this help message and exit
--nxapi-presence Extends monitoring mode to use Nintendo Switch presence from nxapi
``` ```
3. If it's your first time running this, follow the instructions to login to 3. If it's your first time running this, follow the instructions to login to

View File

@ -15,7 +15,7 @@ const parseArgs = (args: string[]) => {
"skipMode": ["s", "skip-mode"], "skipMode": ["s", "skip-mode"],
"withSummary": "with-summary", "withSummary": "with-summary",
"listMethod": "list-method", "listMethod": "list-method",
"nxapiPresenceUrl": ["nxapi-presence-url", "nxapi-presence"] "nxapiPresenceUrl": ["nxapi-presence"]
}, },
}); });
return parsed; return parsed;
@ -41,7 +41,7 @@ Options:
("vs", "coop") ("vs", "coop")
--with-summary Include summary in the output --with-summary Include summary in the output
--help Show this help message and exit --help Show this help message and exit
--nxapi-presence-url Extends monitoring mode to use Nintendo Switch presence from nxapi`, --nxapi-presence Extends monitoring mode to use Nintendo Switch presence from nxapi`,
); );
Deno.exit(0); Deno.exit(0);
} }