Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cameroncooke/13dac92bf35045e8095272dbdf34ba95 to your computer and use it in GitHub Desktop.
Save cameroncooke/13dac92bf35045e8095272dbdf34ba95 to your computer and use it in GitHub Desktop.
List top 10 .swift files sorted by number of lines
find . -type f -name "*.swift" -exec wc -l {} + | sort -nr | head
@cameroncooke
Copy link
Author

Useful for locating code that may break the single responsibility principle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment