Skip to content

Commit

Permalink
Update APIs & Commands document
Browse files Browse the repository at this point in the history
  • Loading branch information
luozhiya committed May 18, 2024
1 parent e551e7b commit 983c9e2
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,18 +168,21 @@ require('cmp').setup({
| `Fitten logout` | Logout account |

### Action Commands

| Command | Description |
|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `Fitten document_code` | Document code |
| `Fitten edit_code` | Edit code |
| `Fitten explain_code` | Explain code |
| `Fitten find_bugs` | Find bugs |
| `Fitten generate_unit_test` | Generate unit test. Try the command `Fitten generate_unit_test <test_framework> <language>` to generate unit test with specific test framework and language. |
| `Fitten implement_features` | Implement features |
| `Fitten improve_code` | Improve code |
| `Fitten refactor_code` | Refactor code |
| `Fitten start_chat` | Start chat |
- Try the command `Fitten generate_unit_test <test_framework> <language>` to generate unit test with specific test framework and language.

| Command | Description |
|-------------------------------------|----------------------------|
| `Fitten document_code` | Document code |
| `Fitten edit_code` | Edit code |
| `Fitten explain_code` | Explain code |
| `Fitten find_bugs` | Find bugs |
| `Fitten generate_unit_test` | Generate unit test |
| `Fitten implement_features` | Implement features |
| `Fitten improve_code` | Improve code |
| `Fitten refactor_code` | Refactor code |
| `Fitten guess_programming_language` | Guess programming language |
| `Fitten analyze_data` | Analyze data |
| `Fitten start_chat` | Start chat |

### Default Mappings

Expand Down Expand Up @@ -243,6 +246,8 @@ vim.log = {
| `implement_features(ImplementFeaturesOptions)` | Implement features |
| `improve_code(ActionOptions)` | Improve code |
| `refactor_code(ActionOptions)` | Refactor code |
| `guess_programming_language(ActionOptions)` | Guess programming language |
| `analyze_data(ActionOptions)` | Analyze data |
| `start_chat(ActionOptions)` | Start chat |
| `stop_eval()` | Stop the evaluation |

Expand Down

0 comments on commit 983c9e2

Please sign in to comment.