console.log('Starting app');

const fs = require('fs');
const _ = require('lodash');

const notes = require('./notes.js');

console.log(process.argv);
@@ -121,30 +121,401 @@
 );%0A%0A
-console.log(process.argv);
+var command = process.argv%5B2%5D;%0Aconsole.log('Command : ', command);%0Aconsole.log(process.argv);%0A%0Aif (command === 'add')%09%7B%0A%09console.log('Adding new note');%0A%7D else if (command === 'list')%09%7B%0A%09console.log('Listing all notes');%0A%7D else if (command === 'read')%09%7B%0A%09console.log('Read all notes');%0A%7D else if (command === 'remove') %7B%0A%09console.log('Remove a note');%0A%7D else %7B%0A%09console.log('command not found');%0A%7D

print all command line argument