using setup(operator) -> operator.ui === 'api' | 'cli' if api , return { method, payload } and allow for setupCallback(payload)