collet 0.1.1

Relentless agentic coding orchestrator with zero-drop agent loops
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::ui::{prompt_api_key, save_encrypted_key};
use crate::common::Result;

/// Key-only wizard: prompt api_key, save to existing config.
pub(super) fn wizard_key_only() -> Result<()> {
    eprintln!("❌ No API key found.");
    eprintln!();

    let api_key = prompt_api_key()?;
    save_encrypted_key(&api_key)?;
    Ok(())
}