Sources/Commander/Commands/CommandRepresentable.swift
Line should be 120 characters or less: currently 137 characters Open
Open
return String(reflecting: self).split(delimiter: ".").last?.camelcase2dashcase().replacingOccurrences(of: "-command", with: "") ?? ""
- Exclude checks
Line should be 120 characters or less: currently 124 characters Open
Open
return shortOptions.contains(arg) ? command.optionsDescriber.completions(for: commandLine) : shortOptions + optionsf()
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks
Opening braces should be preceded by a single space and on the same line as the declaration. Open
Open
{
- Exclude checks
Lines should not have trailing whitespace. Open
Open
- Exclude checks