Setup a refresh callback for the CLI, will fix #30
Setup a refresh callback for the CLI, will fix #30