mise 2026.9.4

Dev tools, env vars, and tasks in one CLI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use eyre::Result;

use crate::env;

/// Show the cache directory path
#[derive(Debug, usage_rs::Args)]
#[usage(verbatim_doc_comment, visible_alias = "dir")]
pub(super) struct CachePath {}

impl CachePath {
    pub(super) fn run(self) -> Result<()> {
        miseprintln!("{}", env::MISE_CACHE_DIR.display());
        Ok(())
    }
}