init cmd structure