-
Hi, today I tried to make the When trying to have autocomplete on the python version I ran into the following error: mise run preDEBUG ARGS: mise tasks --usage
DEBUG config: ~/.config/mise/config.toml
DEBUG read_to_string: "/home/tmeijn/.config/mise/tasks/preset/python"
DEBUG failed to parse task file with usage: Failed to parse KDL document task file: #!/usr/bin/env bash
#MISE dir="{{cwd}}"
#USAGE arg "<version>" help="Python version to use"
#USAGE complete "version" run="mise ls-remote python | grep -oP '^\d+\.\d+\.\d+$' | sort -r"
mise use python@$usage_version
mise use pre-commit
mise config set env._.python.venv.path .venv
mise config set env._.python.venv.create true -t bool
mise config set tasks.lint.run "pre-commit run -a" Removing the mise run preset:python DEBUG ARGS: mise tasks --usage
DEBUG config: ~/.config/mise/config.toml
DEBUG read_to_string: "/home/tmeijn/.config/mise/tasks/preset/python"
DEBUG ARGS: mise ls-remote python Partial task file: #!/usr/bin/env bash
#MISE dir="{{cwd}}"
#USAGE arg "<version>" help="Python version to use"
#USAGE complete "version" run="mise ls-remote python | sort -r" Trying to escape the Is this known or is there some other way I could make this work? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I think it's the backslashes, try using a literal maybe:
it'd be nice if there was a live kdl editor that showed how kdl gets parsed to test kdl in isolation but I don't think such a site exists |
Beta Was this translation helpful? Give feedback.
I think it's the backslashes, try using a literal maybe:
it'd be nice if there was a live kdl editor that showed how kdl gets parsed to test kdl in isolation but I don't think such a site exists