Before parsing a module, this script is called with the command name and module, to validate or log the use of the module. Returning nonzero from this script will terminate the operation. The following formatting strings are available in addition to those in the common syntax:
Logical module name
By default the string %r/%p %c %o is used, which passes the current directory, command and module on the command line.
Not all command pass through premodule. In particular sandbox-related commands use the information in CVS/Repository and do not use the module system.