You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by gturi January 7, 2025
I was trying out toml task with usage definition. I slightly modified the command in the example https://mise.jdx.dev/tasks/toml-tasks.html#usage-spec and put it into my config.toml
config.toml
[tasks.test]
usage = '''
arg "file" description="The file to test" default="src/main.rs"
'''
run = 'echo {{arg(name="file")}}'
When I run mise run test hello I get the following error:
[test] ERROR
0: Invalid usage config
Location:
src/task/task_script_parser.rs:305
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
[test] ERROR task failed
Discussed in #3983
Originally posted by gturi January 7, 2025
I was trying out toml task with usage definition. I slightly modified the command in the example https://mise.jdx.dev/tasks/toml-tasks.html#usage-spec and put it into my config.toml
config.toml
When I run
mise run test hello
I get the following error:[test] ERROR 0: Invalid usage config Location: src/task/task_script_parser.rs:305 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. [test] ERROR task failed
mise doctor output:
The text was updated successfully, but these errors were encountered: