refactor cli to use commander instead of thor