shell: Add doxygen

Closes #577.
Merge pull request #1037 from Kijewski/issue-577

shell: Add doxygen