[CB-4474] convert to the new api

platform: iOS
migration arguments, options => command