refactor client to use new listCmd