Add flag to only print IDs in list command