Added parameter --format to command line

Possible formats are:
- text (plain text)
- markdown
- html