We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b7edfb commit 752a2fbCopy full SHA for 752a2fb
1 file changed
devchat/engine/command_parser.py
@@ -60,7 +60,7 @@ def parse_command(file_path: str) -> Command:
60
61
with open(file_path, 'r', encoding='utf-8') as file:
62
# replace {curpath} with config_dir
63
- content = file.read().replace('{curpath}', config_dir)
+ content = file.read().replace('$command_path', config_dir)
64
config_dict = yaml.safe_load(content)
65
config = Command(**config_dict)
66
return config
0 commit comments