--- Returns the last argument that has a value.
-- Useful for getting the autocomplete for the argument the user is working on.

function Command:GetLastArgument()
	for i = #self.Arguments, 1, -1 do
		if self.Arguments[i].RawValue then
			return self.Arguments[i]
		end
	end
end
