mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-27 19:48:11 +00:00
13 lines
228 B
Rust
13 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(())
|
||
|
}
|