The CliGenerator generates code only at the moment.
Currently in development is an upgrade which contains an unattended refresh mode and a more fine-grand option model what should be done when refreshing, like add new elements, keep names in sync etc.
Once this upgrade is released a commandline refresh tool will be released shortly after that release so you can refresh and regenerate from the commandline (or from a script) in 1 go.