whole_func_string: function dumpOption() {
      return new Promise((resolve, reject) => {
          dumpingDatabase()
              .on('dumpDone', () => {
              resolve();
          })
              .on('dumpFailed', (err) => {
              reject(err);
          });
      });
  }
func_code_string: function dumpOption() {
      return new Promise((resolve, reject) => {
          dumpingDatabase()
              .on('dumpDone', () => {
              resolve();
          })
              .on('dumpFailed', (err) => {
              reject(err);
          });
      });
  }
func_documentation_string: /*
  function dumpOption that return a Promise object. This function will be called
  if the "-d" option given i command line. Dumping the database into a json file
  with the name of the database created.