Section 19. All militia officers shall be appointed or elected in such a manner as the legislative assembly shall provide.