Implement list command