update gpt

This commit is contained in:
2025-06-06 03:18:20 +09:00
parent a9dca2fe38
commit c0e4dc63ea
18 changed files with 2827 additions and 51 deletions

View File

@ -2,10 +2,13 @@ use anyhow::Result;
use clap::{Parser, Subcommand};
use std::path::PathBuf;
mod analyzer;
mod commands;
mod doc_generator;
mod generator;
mod markdown;
mod template;
mod translator;
mod config;
mod ai;
mod atproto;
@ -59,6 +62,8 @@ enum Commands {
#[arg(default_value = ".")]
path: PathBuf,
},
/// Generate documentation from code
Doc(commands::doc::DocCommand),
}
#[tokio::main]
@ -86,6 +91,9 @@ async fn main() -> Result<()> {
let server = McpServer::new(path);
server.serve(port).await?;
}
Commands::Doc(doc_cmd) => {
doc_cmd.execute(std::env::current_dir()?).await?;
}
}
Ok(())