static void Main(string[] args) { string param1 = "-p"; //args[0]; string path = @"C:\Users\Felienne\Dropbox\Code\KragleData\testData\"; //args[1]; if (param1 == "-p") { JSONReader.ProcessJSON(path); } else { if (param1 == "-s") { //split the shared and non-shared files Split(path); } else { JSONPropertiesReader.writeProperties(path); } } }
static void Main(string[] args) { string param1 = args[0]; string path = args[1]; if (param1 == "-p") { JSONReader.ProcessJSON(path); } else { if (param1 == "-s") { //split the shared and non-shared files Split(path); } else { JSONPropertiesReader.writeProperties(path); } } }