SwiftStatistics is a command line tool written in Swift that'll report the number of lines in your .swift files.
Using Homebrew makes getting SwiftStatistics easy:
$ brew tap skyvive/tap
$ brew install swiftstats
Simply navigate to the directory of your Swift project and run swiftstats
:
$ cd Skyvive/SwiftStatistics
$ swiftstats
---------------------
File.swift 21
files.swift 26
main.swift 12
print.swift 61
utils.swift 14
---------------------
Total 134
Neato!
Brad Hilton, [email protected]
SwiftStatistics is available under the MIT license. See the LICENSE file for more info.