Add command line interface to sync feature.