thoughts-bin 0.1.12

CLI for flexible thought management using filesystem mounts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use anyhow::Result;
use colored::Colorize;
use thoughts_tool::workspace::ensure_active_work;

#[expect(clippy::unused_async, reason = "async for command API consistency")]
pub async fn execute() -> Result<()> {
    let aw = ensure_active_work()?;
    println!("{} Initialized work at: {}", "".green(), aw.base.display());
    println!("  Branch: {}", aw.dir_name);
    println!("  Structure:");
    println!("    - research/");
    println!("    - plans/");
    println!("    - artifacts/");
    Ok(())
}