[sync] Add basic sync command.
[api] Add basic test cli command.