The module source command only accepts file path as argument. It would be nice to allow the use of module name and version designation also on module source command.
As a consequence, to designate a file path instead of a module name and version, argument should be prefixed by ./.
$ module source ./dir/file