Implement modular cli and a config editing module (Request #12923).