There is some contradictory information on the Interwebs about creating a bootable USB drive for installing macOS Mojave. The command when upgrading from macOS Sierra or earlier to macOS High Sierra included the --applicationpath argument, and some of the tech sites are still including it in their instructions several hours after the release.
However, if you use this argument when upgrading from macOS High Sierra to macOS Mojave you will receive an error message: "--applicationpath is deprecated in macOS 10.14 and greater. Please remove it from your invocation." But wait, if you are upgrading from macOS Sierra or lower this Apple Support page indicates you should still use the --applicationpath argument when installing macOS Mojave, which seems odd given that it "is deprecated in macOS 10.14 and greater".
If you have the macOS Mojave installer downloaded, you can run the following command to see what arguments are available.
/Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia
The list does not include --applicationpath, which makes the recommendation to use it when upgrading from macOS Sierra or lower confusing. The arguments available are as follows:
--volume, A path to a volume that can be unmounted and erased to create the install media.
--nointeraction, Erase the disk pointed to by volume without prompting for confirmation.
--downloadassets, Download on-demand assets that may be required for installation.
This is the primary takeaway: the command I used to upgrade from macOS High Sierra to macOS Mojave was as follows:
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --nointeraction --downloadassets
Note that "/MyVolume" at the end of the command above should be replaced with the name of your installation media. Generally this will be "Untitled" if you use Disk Utility to format your thumb drive.
--applicationpath argument.Disclaimer: using the sudo command improperly can hasten a catastrophe of apocalyptic proportions. In addition, I recommend you visit the Apple Support page linked above rather than copying my command even though I copied it from there myself.