[] means optional. Reason is, this can be invoked without any parameters and it'd be figured out from env variables if available. But there's no really good way to say (via jsdoc) that one is optional only if the other is set AFAIK. I'll document taht via text.