12 Commits

Author SHA1 Message Date
bobo
dd716e4475 Refactor code and improve comments in main.py 2024-05-11 15:17:18 +08:00
bobo
ddd14faffa Refactor command.yml and rewrite.py for improved code readability and error handling 2024-05-11 15:07:50 +08:00
Luo Tim
a7deccc441 Improve prompts for comments 2024-04-11 11:47:59 +08:00
Rankin Zheng
ddc236f297 feat: improve comments workflow guide. 2024-04-02 10:17:25 +08:00
bobo
09d23d34a8 fix lint error 2024-04-01 16:55:10 +08:00
bobo
5395639347 fix: Improve selection validation logic across modules
- Changed the condition to determine selection absence by comparing start and end range instead of checking if text is empty.
- Ensures that a non-selection (where start and end range are the same) correctly triggers the absence of selection error.
- Applied this logic uniformly in comments, docstring, explain, fix, and refactor modules.
2024-04-01 16:46:47 +08:00
bobo
852706d25d feat: Display README when no code is selected
- Add feature to show README.md when no text is selected
- Modify all command and main modules to support this feature
- Remove 'input: required' from command.yml files for flexibility
2024-04-01 16:41:25 +08:00
Rankin Zheng
ad4c2310d3 feat: add more readme file 2024-03-30 00:39:47 +08:00
bobo
cc61a3e600 docs: Add input field descriptions to commands
- Include `input: required` in the YAML of various commands
- Clarify the necessity of user input in workflow executions
- Ensure workflow documentation is comprehensive and clear
2024-03-29 19:14:50 +08:00
Luo Tim
49d3efa5b7 Fix code style 2024-03-08 21:09:10 +08:00
Luo Tim
e320c04eb1 Improve the prompt of doc comments 2024-03-08 19:34:40 +08:00
Luo Tim
d8fe05f4ff Add comments command 2024-03-08 12:11:00 +08:00