function commands( pres ) {
	var cmds;

	// Define a list of REPL presentation-specific commands (NOTE: keep in alphabetical order):
	cmds = [];
	cmds.push( [ 'blank', 'b', onBlank( pres ), false ] );
	cmds.push( [ 'currentSlide', '', onCurrentSlide( pres ), true ] );
	cmds.push( [ 'end', 'L', onEnd( pres ), false ] );
	cmds.push( [ 'first', 'f', onFirst( pres ), false ] );
	cmds.push( [ 'firstFragment', 'ff', onFirstFragment( pres ), false ] );
	cmds.push( [ 'jump', 'g', onJump( pres ), false ] );
	cmds.push( [ 'jumpTo', 'j', onJumpTo( pres ), false ] );
	cmds.push( [ 'last', 'l', onLast( pres ), false ] );
	cmds.push( [ 'lastFragment', 'lf', onLastFragment( pres ), false ] );
	cmds.push( [ 'loadPresentation', 'lp', onLoadPresentation( pres ), false ] );
	cmds.push( [ 'next', 'n', onNext( pres ), false ] );
	cmds.push( [ 'nextSlide', 'N', onNextSlide( pres ), false ] );
	cmds.push( [ 'numSlides', '', onNumSlides( pres ), true ] );
	cmds.push( [ 'pres', 'h', onPres( pres ), false ] );
	cmds.push( [ 'prev', 'p', onPrev( pres ), false ] );
	cmds.push( [ 'prevSlide', 'P', onPrevSlide( pres ), false ] );
	cmds.push( [ 'redraw', 'rd', onRedraw( pres ), false ] );
	cmds.push( [ 'reloadPresentation', 'rlp', onReloadPresentation( pres ), false ] );
	cmds.push( [ 'renderSlide', '', onRenderSlide( pres ), false ] );
	cmds.push( [ 'runSlide', 'r', onRunSlide( pres ), false ] );
	cmds.push( [ 'unwatch', 'uw', onUnwatch( pres ), false ] );
	cmds.push( [ 'watch', 'w', onWatch( pres ), false ] );

	return cmds;
}
Returns a list of REPL presentation-specific commands.

## Notes

-   Each array element is comprised as follows:

    ```text
    [ <command>, <shortcut>, <function>, <is_accessor> ]
    ```

    where the first element is the command alias, the second element is the command alias shortcut, the third element the command callback, and the fourth element a boolean indicating whether the callback is an accessor (getter; i.e., the command refers to a property rather than a function to be explicitly invoked).

@private
@param {Presentation} pres - presentation instance
@returns {ArrayArray} commands