simplify cli arguments to just nxapi-presence and add to readme
parent
72c3b7c9d3
commit
4d65d0acef
|
|
@ -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
|
||||||
|
|
|
||||||
4
s3si.ts
4
s3si.ts
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue