code: def _store_parameters(self):
          
          datapath = self.dir
  
          out_dict = {
              'protocol_version': 2,
              'mtools_version': __version__,
              'parsed_args': self.args,
              'unknown_args': self.unknown_args,
              'startup_info': self.startup_info
          }
  
          if not os.path.exists(datapath):
              os.makedirs(datapath)
          try:
              json.dump(out_dict,
                        open(os.path.join(datapath,
                                          '.mlaunch_startup'), 'w'), indent=-1)
          except Exception as ex:
              print("ERROR STORING Parameters:", ex)
docs: Store startup params and config in datadir/.mlaunch_startup.