I’d suggest an alternative over a grab bag of globals — even if they’re consts: Use a simple config file format (like TOML). Load the config as a single config = TOML.parsefile("config.toml"), pass that config to all your functions.
Julia doesn’t generally use the same sort of double-duty idiom that allows single flat-files to sometimes act like libraries and sometimes like scripts, which is the reason-for-being for name == main. I generally find it easier to just use a real package for a package.