buildCommand method

  1. @override
String buildCommand()
override

Build the @ command to be sent to remote secondary for execution.

Implementation

@override
String buildCommand() {
  var command = 'config:';
  command += '$configType:';
  if (operation == 'show') {
    command += operation!;
  } else {
    command += '$operation:';
  }
  if (atSigns != null && atSigns!.isNotEmpty) {
    for (var atSign in atSigns!) {
      command += '${VerbUtil.formatAtSign(atSign)}';
    }
  }

  return '${command.trim()}\n';
}