code: function yakeFileMain(argv, cwd)
  {    
      if( cwd === undefined) cwd = process.cwd();
      if( argv === undefined ) argv = process.argv
  
  
      const [options, args, helpText] = CLI.CliParse(argv);
      const collection = getTasksFromYakefile(cwd, options.getValueFor('file'));
      const p = loadPackageJson();
      if( tryShowVersion(options, p.version) )
          return;
      if( tryShowTasks(options, collection) )
          return;
      if( tryShowHelp(options, helpText) )
          return;
  
      tryRunTask(args, collection);
  }
docs: The mainline for use in the yake command. Depends on the options and arguments on the command line
  plus the directory from which to start the search for a yakefile
  
  @param      {Function}  argv    The argv