Pagination

Pagination provides the functionality to automatically split list results of a command into pages and navigate easily trough them.

For Pagination to work you have to return a PaginatedResult when you call a command. You have to pass the PaginatedResult either a list of Strings to display or a class that implements the PaginationIterator interface.