6 Commits

Author SHA1 Message Date
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
Luo Tim
b903d0fe03 Auto detect language in explain workflow 2024-03-07 10:34:42 +08:00
Luo Tim
f20c258833 Fix key error on explain 2024-03-06 18:06:49 +08:00
Luo Tim
1f541cd4c6 Implement explain code workflow 2024-03-06 09:58:45 +08:00