Improve CLI implementation using Commander.js