[Taken from An American Prophet's Record: The Diaries and Journal's of Joseph Smith, edited by Scott H. Faulring; July 27, 1838, Page 198]
Thus far, according to the order/revelation/of the Danites. We have a company of Danites in these times, to put right physically that which is not right, and to clense the Church of every [very?] great evil[s?] which hitherto existed among us inasmuch as they cannot be put right by teaching and persuasyons. This company or a part of them exhibited on the fourth day of July [-] They come up to consecrate, by companies of tens, commanded by their captain over ten.
Samson Avard is referred to as "General Avard" by Joseph. He referrs to "General Higbee" as well. It looks like they had the same chain of command structure as any militia.