devedbox/Commander

View on GitHub
Sources/Commander/Commands/CommandRepresentable.swift

Summary

Maintainability
A
0 mins
Test Coverage

Line should be 120 characters or less: currently 137 characters
Open

    return String(reflecting: self).split(delimiter: ".").last?.camelcase2dashcase().replacingOccurrences(of: "-command", with: "") ?? ""

Line should be 120 characters or less: currently 124 characters
Open

      return shortOptions.contains(arg) ? command.optionsDescriber.completions(for: commandLine) : shortOptions + optionsf()

Lines should not have trailing whitespace.
Open

      

Lines should not have trailing whitespace.
Open

  

Lines should not have trailing whitespace.
Open

      

Opening braces should be preceded by a single space and on the same line as the declaration.
Open

  {

Lines should not have trailing whitespace.
Open

    

There are no issues that match your filters.

Category
Status