system/Commands/ListCommands.php
protected function padTitle(string $item, int $max, int $extra = 2, int $indent = 0): string
	{
		$max += $extra + $indent;

		$item = str_repeat(' ', $indent) . $item;
		$item = str_pad($item, $max);

		return $item;
	}
protected function padTitle(string $item, int $max, int $extra = 2, int $indent = 0): string
	{
		$max += $extra + $indent;

		$item = str_repeat(' ', $indent) . $item;
		$item = str_pad($item, $max);

		return $item;
	}
Pads our string out so that all titles are the same length to nicely line up descriptions.

@param string  $item
@param integer $max
@param integer $extra  // How many extra spaces to add at the end
@param integer $indent

@return string