mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-27 03:28:13 +00:00
12 lines
228 B
Rust
12 lines
228 B
Rust
use anyhow::Result;
|
|
|
|
use crate::cli::Cli;
|
|
|
|
use super::bin_dir::{enter_bin_dir, leave_bin_dir};
|
|
|
|
pub async fn run_cli(cli: Cli) -> Result<()> {
|
|
enter_bin_dir().await?;
|
|
cli.run().await?;
|
|
leave_bin_dir()?;
|
|
Ok(())
|
|
}
|