buildCommand method
Build the @ command to be sent to remote secondary for execution.
Implementation
@override
String buildCommand() {
StringBuffer serverCommandBuffer = StringBuffer('config:$configType:');
if (operation == 'show') {
serverCommandBuffer.write(operation!);
} else {
serverCommandBuffer.write('$operation:');
}
if (atSigns != null && atSigns!.isNotEmpty) {
for (var atSign in atSigns!) {
serverCommandBuffer.write('${VerbUtil.formatAtSign(atSign)}');
}
}
return '${serverCommandBuffer.toString().trim()}\n';
}