publicUsageWithoutDescription property

String get publicUsageWithoutDescription
inherited

Implementation

String get publicUsageWithoutDescription {
  final usegeLines = argParser.customUsage.split('\n');
  final buffer = StringBuffer();
  buffer
    ..write(
      getStyledCommandUsage(
        commands,
        lineLength: argParser.usageLineLength,
        helpUsageLength: getUsagePrefixLength,
      ),
    )
    ..write(getStyleCommandUsegeBottom(usegeLines, usageFooter, invocation));

  return buffer.toString();
}