Milocracy is the word used in Bipin Chandra’s struggle for Independence book. The word can be separated like Milo+Cracy. Where Milo means Military and Cracy means rule.
But there is a difference between actual Military rule and Milocracy. In Milocracy instead of parliament, there will be a council of soldiers.