import { exit } from "https://deno.land/x/effection@3.0.0-beta.3/lib/mod.ts";
Halt process execution immediately and initiate shutdown. If a message is provided, it will be logged to the console after shutdown:
if (invalidArgs()) {
yield* exit(5, "invalid arguments")
}