Skip to main content

oxi/cli/commands/
setup.rs

1//! Setup subcommand handler.
2
3use anyhow::Result;
4
5/// Handle `oxi setup [--reset]`
6pub async fn handle_setup(reset: bool) -> Result<()> {
7    if reset {
8        super::config::handle_config_reset(true)?;
9    }
10    crate::setup_wizard::run().await
11}