Men’s cricket was an event at the 1998 CWG at Kuala Lumpur. 16 countries took part, and India failed to get a medal. South Africa won the gold, followed by Australia (silver) and New Zealand (bronze). India did not get beyond the group stage. And these matches were List A, not ODIs
More details can be seen here:
https://en.wikipedia.org/wiki/Cricket_at_the_Commonwealth_Games
That does not include scorecards and other details. They can be found here:
http://static.espncricinfo.com/db/ARCHIVE/1998-99/OTHERS+ICC/CG1998/
We should be more concerned about the 2022 CWG, where the cricket is restricted to women’s T-20s. They do have T20I status, though that doesn’t mean much nowadays.
More details (including the match schedules) can be seen here:
https://en.wikipedia.org/wiki/Cricket_at_the_2022_Commonwealth_Games
India is one of the 8 teams participating. Today India has an ICC ranking of 4 (after Australia, England and New Zealand) so one can think there is some chance of a medal. To get to the semi-final round India will have to finish 1st or 2nd in a pool which also includes Australia, Barbados and Pakistan.