Add a command to list indices of a table