Skip to main content

persist_user_config

Function persist_user_config 

Source
pub fn persist_user_config(
    base_url: &str,
    download_dir: &str,
    use_https: bool,
    auth: Option<AuthConfig>,
) -> Result<()>
Expand description

Write user-level romm-cli/.env and store secrets in the OS keyring when possible (same layout as interactive romm-cli init).