Converting commands to thor cli