How to list all Draft Posts?

Thanks. Good to know. I was looking more from a command line perspective, to filter out the drafts.

Looks like the list command does it in command line, and the where template function exposes the same inside the templating engine.