- Notifications
You must be signed in to change notification settings - Fork0
cohen990/codesmells
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This puts all the codesmelling information you need right at your fingertips.
- clone the repo
- change directory into the root directory of the repository
sudo ./install.sh
- clone the repo
- add an alias into your ~/.bashrc or ~/.zshrc for
codesmells=<path-to-source>/codesmells.sh
Now you have a cheat sheet for many code smells right at your fingertips. No internet required!
usage:
codesmells
codesmells bloaters
codesmells bloaters primitive-obsession
if you already know the name of the smell you can shortcut the category:
codesmells primitive-obsession
codesmells has a discoverable CLI - so just runcodesmells
and go from there
If you have not modified the git settings for this repository, runningcodesmells --update
will update your installation.
Under the hood, it just runsgit pull
but if more needs to be done - it will be added to that section of the script.
I am sourcing all of my information fromhttps://sourcemaking.com/refactoring - the information there is richer so go ahead and check it out. Command line does have limitations after all ;)