use Thor for CLI