Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

a cheatsheet for codesmells in your terminal

NotificationsYou must be signed in to change notification settings

cohen990/codesmells

Repository files navigation

This puts all the codesmelling information you need right at your fingertips.

With Root Permissions

  • clone the repo
  • change directory into the root directory of the repository
  • sudo ./install.sh

Without Root Permissions

  • clone the repo
  • add an alias into your ~/.bashrc or ~/.zshrc forcodesmells=<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

Updating

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.

Credit where credit's due

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 ;)

About

a cheatsheet for codesmells in your terminal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp