added --list support

For more details please check the dev mailing list and the [JIRA issue](https://issues.apache.org/jira/browse/CB-8168)