completion of command api for remote command invocation