public void run(String args[]) {
    
    String [] files = null;
    if(args[0].equals("init")) {
      if(args.length == 1)
        this.clientInit();       
      System.out.println("Invalid operation");
      System.exit(1);
    } 
    else if(args[0].equals("commit")) {
      if(args.length > 1) {
        files = this.getFiles(args);
        this.clientCommit(files);
      }
      System.out.println("Invalid operation");
      System.exit(1);
    } else if(args[0].equals("checkout")) {
      if(args.length == 1)
        this.clientCheckout();
      System.out.println("Invalid operation");
      System.exit(1);
    } else if(args[0].equals("update")) {
      if(args.length > 1) {
        files = this.getFiles(args);
        this.clientUpdate(files);
      }
      System.out.println("Invalid operation");
      System.exit(1);
    }
  }