feat(mise): add mise configuration options for bump and interactive modes (#1546)

This commit is contained in:
Rubin Bhandari
2025-11-20 22:13:13 +05:45
committed by GitHub
parent 2d40f7bdb3
commit 9bb5a680ac
3 changed files with 50 additions and 1 deletions

View File

@@ -824,7 +824,19 @@ pub fn run_mise(ctx: &ExecutionContext) -> Result<()> {
}
}
ctx.execute(&mise).arg("upgrade").status_checked()
let mut cmd = ctx.execute(&mise);
cmd.arg("upgrade");
if ctx.config().mise_interactive() {
cmd.arg("--interactive");
}
if ctx.config().mise_bump() {
cmd.arg("--bump");
}
cmd.status_checked()
}
pub fn run_home_manager(ctx: &ExecutionContext) -> Result<()> {