Currently using Yarg in a Deno Worker would not run because there is no `window` global in Workers. To make this work on all cases using `globalThis` would be better, see: https://github.com/yargs/yargs/blob/fcb4d38016f2877fa95dcfc4cefc4b743b93795e/lib/platform-shims/deno.ts#L94