def view(self, sort=None, purge=False, done=None, undone=None, **kwargs):
View(self.model.modify(<EOL>sort=self._getPattern(sort),<EOL>purge=purge,<EOL>done=self._getDone(done, undone)<EOL>), **kwargs)<EOL>
Handles the 'v' command.

        :sort: Sort pattern.
        :purge: Whether to purge items marked as 'done'.
        :done: Done pattern.
        :undone: Not done pattern.
        :kwargs: Additional arguments to pass to the View object.