system/Commands/Database/MigrateRollback.php
private function isAllNamespace(array $params): bool
	{
		if (array_search('-all', $params) !== false)
		{
			return true;
		}

		return ! is_null(CLI::getOption('all'));
	}
private function isAllNamespace(array $params): bool
	{
		if (array_search('-all', $params) !== false)
		{
			return true;
		}

		return ! is_null(CLI::getOption('all'));
	}
To migrate all namespaces to the latest migration

Demo:
1. command line: php spark migrate:latest -all
2. command file: $this->call('migrate:latest', ['-g' => 'test','-all']);

@param  array $params
@return boolean