fixes #3898 - list commands should not be interactive for csv output