diff --git a/src/cli/presence-server.ts b/src/cli/presence-server.ts index 34a41d0..ac79f49 100644 --- a/src/cli/presence-server.ts +++ b/src/cli/presence-server.ts @@ -49,6 +49,9 @@ export function builder(yargs: Argv) { describe: 'Nintendo Account ID', type: 'string', array: true, + ...process.env.NXAPI_PRESENCE_SERVER_USER ? { + default: process.env.NXAPI_PRESENCE_SERVER_USER.split(','), + } : {}, }).option('splatnet3', { describe: 'Enable SplatNet 3 presence', type: 'boolean', @@ -64,6 +67,7 @@ export function builder(yargs: Argv) { }).option('splatnet3-proxy-url', { describe: 'SplatNet 3 proxy URL', type: 'string', + default: process.env.NXAPI_PRESENCE_SERVER_SPLATNET3_PROXY_URL, }).option('update-interval', { describe: 'Max. update interval in seconds', type: 'number',