When directed by the governor, the attorney general, or one of his assistants, shall aid any prosecuting or circuit attorney in the discharge of their respective duties in the trial courts and in examinations before grand juries, and when so directed by the trial court, he may sign indictments in lieu of the prosecuting attorney.
§ 27.030, RSMo