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
This commit is contained in:
bobo 2024-03-29 19:14:50 +08:00
parent 355686d280
commit cc61a3e600
5 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,4 @@
description: Automatically add doc comments. Select some code and execute this command to generate comments.
input: required
steps:
- run: $devchat_python $command_path/main.py

View File

@ -1,3 +1,4 @@
description: Automatically add docstrings. Select a function or method and execute this command to generate docstring.
input: required
steps:
- run: $devchat_python $command_path/main.py

View File

@ -1,3 +1,4 @@
description: Explain selected code.
input: required
steps:
- run: $devchat_python $command_path/explain.py

View File

@ -1,3 +1,4 @@
description: Try to find out potential bugs in the selected code and try fixing these bugs automaticly.
input: required
steps:
- run: $devchat_python $command_path/main.py

View File

@ -1,3 +1,4 @@
description: Generate unit tests.
input: required
steps:
- run: $devchat_python $command_path/main.py "$input"