text: console.log('Starting app.js')
  
  const fs = require('fs');
  const _ = require('lodash');
  const yargs = require('yargs');
  
  const notes = require('./notes2.js');
  
  const argv = yargs.argv;
  
  // Get the argument from command line argument
  var command = argv._[0];
  
  if (command === 'add') {
      notes.addNote(argv.title, argv.body);
  } else if (command === 'list') {
      notes.getAll();
  } else if (command === 'read') {
      notes.getNote(argv.title);
  } else if (command === 'remove') {
      notes.remove(argv.title);
  } else {
      console.log('Command not recognized!');
  }