add --export option to list command