An action is a civil proceeding commenced by writ or in such other manner as may be prescribed by rules of court.