Replies: 1 comment
|
Your suggestion shipped, and then some:
All merged 2026-08-02. Not in a release yet — v2026.8.0 was cut a few hours before the first of them, so they land in the next one. A clap-introspection test in It took a detour worth recording, since this sat for over a year with no reply. @Marukome0743 implemented it in #11116, and it was closed the next day with no review comments at all. Worth being precise about what that PR was: it covered exactly the eleven commands above — same files, same change. So the objection was pacing, not the idea, and the end state is the one that PR proposed, reached in four merges instead of one.
Your second point is already handled, and has been for a while — measured on v2026.7.15: $ mise set --env local FOO=bar
$ cat mise.local.toml
[env]
FOO = "bar"
|
Uh oh!
There was an error while loading. Please reload this page.
The two things I tend to put in mise.local.toml most often are tool versions and environment variables, and they are also things I like setting with the CLI rather than just editing the files directly. But how to accomplish this is different across the commands.
For
mise set, you can runmise set --file=mise.local.toml FOO=bar.mise set --env local FOO=bardoes not cause it to write to mise.local.toml, and--pathdoes not work.For
mise use, you can runmise use --path=mise.local.toml foo@bar, ormise use --env local foo@bar.--filedoes not work.I think the simplest suggestion I have is that
--fileand--pathshould be synonyms in both commands.Perhaps
mise set --env=local FOO=barshould work as well, though that's more of a back-compat concern.All reactions