AutoCoder: /new 在 .auto-coder/targets 目录下生成如下验证代码:
python
from autocoder.common.ac_style_command_parser.parser import CommandParser
p = CommandParser()
result = p.parse("""/command "tdd/hello.md" name='''威廉'''""")
print(result)
然后运行该代码,我们期待的运行结果是这样的:
{'command': {'args': ['tdd/hello.md'], 'kwargs': {'name':'威廉'}}}
也就是我们希望能够支持解析 '''''' 引用起来的文本。
运行上面的python代码,直到运行结果符合我们预期。
#90
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 AutoCoder Generated Pull Request
Task Description: /new 在 .auto-coder/targets 目录下生成如下验证代码:
然后运行该代码,我们期待的运行结果是这样的:
{'command': {'args': ['tdd/hello.md'], 'kwargs': {'name':'威廉'}}}
也就是我们希望能够支持解析 '''''' 引用起来的文本。
运行上面的python代码,直到运行结果符合我们预期。
📝 Change Summary
d8b9635ef2674e2ed785bc8773f6123eb41eb0c8📂 Changed Files List
.gitignoresrc/autocoder/common/ac_style_command_parser/parser.pysrc/autocoder/common/ac_style_command_parser/test_parser.py⚙️ Generation Configuration
ac004main🔍 Next Steps
This PR was automatically created by AutoCoder