diff --git a/README.md b/README.md index 9648e619f4318c22a8ad6c19036327f5a147e85c..2824670c4ac7a745add20e315b0ca52468892518 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,9 @@ Refactoring Modeling: Todo: - [x] Show all todos and history - - [ ] Suggest API + - [ ] Suggest API for Design Patterns + - [x] factory pattern + - [ ] strategy ## Usage @@ -43,6 +45,10 @@ Available Commands: help Help about any command rcall reverse call refactor auto refactor code + suggest simple holmes + todo scan todo + version print the version number of Coca + ``` @@ -333,6 +339,22 @@ results: +------------+--------------+--------------------------------+---------------------------------------------------+-------+ ``` +### Suggest + +``` +coca suggest +``` + +results: + +``` ++--------+---------+---------------------+ +| CLASS | PATTERN | REASON | ++--------+---------+---------------------+ +| Insect | factory | to many constructor | +| Bee | factory | to many constructor | ++--------+---------+---------------------+ +``` ## Dev