The parent compounds of iron-arsenide superconductors, $A{\text{Fe}}_{2}{\text{As}}_{2}$ $(A=\text{Ca},\text{ }\text{Sr},\text{ }\text{Ba})$, undergo a tetragonal to orthorhombic structural transition at a temperature ${T}_{\text{TO}}$ in the range 135--205 K depending on the alkaline-earth element. Below ${T}_{\text{TO}}$ the free standing crystals split into equally populated structural domains, which mask intrinsic, in-plane, anisotropic properties of the materials. Here we demonstrate a way of mechanically detwinning ${\text{CaFe}}_{2}{\text{As}}_{2}$ and ${\text{BaFe}}_{2}{\text{As}}_{2}$. The detwinning is nearly complete, as demonstrated by polarized light imaging and synchrotron x-ray measurements, and reversible, with twin pattern restored after strain release. Electrical resistivity measurements in the twinned and detwinned states show that resistivity, $\ensuremath{\rho}$, decreases along the orthorhombic ${a}_{o}$ axis but increases along the orthorhombic ${b}_{o}$ axis in both compounds. Immediately below ${T}_{\text{TO}}$ the ratio ${\ensuremath{\rho}}_{bo}/{\ensuremath{\rho}}_{ao}=1.2$ and 1.5 for Ca and Ba compounds, respectively. Contrary to ${\text{CaFe}}_{2}{\text{As}}_{2}$, ${\text{BaFe}}_{2}{\text{As}}_{2}$ reveals an anisotropy in the nominally tetragonal phase, suggesting that either fluctuations play a larger role above ${T}_{\text{TO}}$ in ${\text{BaFe}}_{2}{\text{As}}_{2}$ than in ${\text{CaFe}}_{2}{\text{As}}_{2}$ or that there is a higher temperature crossover or phase transition.