function command( repl ) {
	return onCommand;

	/**
	* Returns the name of the current workspace.
	*
	* @private
	* @returns {string} result
	*/
	function onCommand() {
		return repl._currentWorkspace;
	}
}
Returns a callback to be invoked upon calling the `currentWorkspace` command.

@private
@param {REPL} repl - REPL instance
@returns {Function} callback