jdx/mise · error
execute_external_command not implemented for
Error message
execute_external_command not implemented for {} What it means
Default trait method on Plugin (src/plugins/mod.rs) that every external plugin type inherits: core/internal plugins expose no external commands, so calling exec on one formats the plugin's name into this not-implemented error instead of silently doing nothing.
Solutions
- Only invoke `mise <plugin> <cmd>` for plugins that actually advertise commands via external_commands()
- Check what a plugin provides with `mise registry`/plugin docs
- If you wrote the plugin, implement external_commands and execute_external_command
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/plugins/mod.rs:372 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/901106e1acee6f33.
Report an issue: GitHub.
Appendix: source
Thrown at src/plugins/mod.rs:372
_dry_run: bool,
) -> eyre::Result<()> {
Ok(())
}
async fn update(&self, _pr: &dyn SingleReport, _gitref: Option<String>) -> eyre::Result<()> {
Ok(())
}
async fn uninstall(&self, _pr: &dyn SingleReport) -> eyre::Result<()> {
Ok(())
}
async fn install(&self, _config: &Arc<Config>, _pr: &dyn SingleReport) -> eyre::Result<()> {
Ok(())
}
fn external_commands(&self) -> eyre::Result<Vec<ExternalCommand>> {
Ok(vec![])
}
#[cfg_attr(coverage_nightly, coverage(off))]
fn execute_external_command(&self, _command: &str, _args: Vec<String>) -> eyre::Result<()> {
unimplemented!(
"execute_external_command not implemented for {}",
self.name()
)
}
}
impl Ord for PluginEnum {
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
self.name().cmp(other.name())
}
}
impl PartialOrd for PluginEnum {
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
Some(self.cmp(other))
}
}
View on GitHub (pinned to 533346cc37)