Update name to gitlore instead of gitlab-inbox
This commit is contained in:
@@ -178,7 +178,7 @@ fn check_database(config: Option<&Config>) -> DatabaseCheck {
|
||||
return DatabaseCheck {
|
||||
result: CheckResult {
|
||||
status: CheckStatus::Error,
|
||||
message: Some("Database file not found. Run \"gi init\" first.".to_string()),
|
||||
message: Some("Database file not found. Run \"lore init\" first.".to_string()),
|
||||
},
|
||||
path: Some(db_path.display().to_string()),
|
||||
schema_version: None,
|
||||
@@ -302,7 +302,7 @@ fn check_projects(config: Option<&Config>) -> ProjectsCheck {
|
||||
return ProjectsCheck {
|
||||
result: CheckResult {
|
||||
status: CheckStatus::Error,
|
||||
message: Some("Database not found. Run \"gi init\" first.".to_string()),
|
||||
message: Some("Database not found. Run \"lore init\" first.".to_string()),
|
||||
},
|
||||
configured: Some(configured),
|
||||
resolved: Some(0),
|
||||
@@ -320,7 +320,7 @@ fn check_projects(config: Option<&Config>) -> ProjectsCheck {
|
||||
result: CheckResult {
|
||||
status: CheckStatus::Error,
|
||||
message: Some(format!(
|
||||
"{configured} configured, 0 resolved. Run \"gi init\" to resolve projects."
|
||||
"{configured} configured, 0 resolved. Run \"lore init\" to resolve projects."
|
||||
)),
|
||||
},
|
||||
configured: Some(configured),
|
||||
@@ -459,7 +459,7 @@ async fn check_ollama(config: Option<&Config>) -> OllamaCheck {
|
||||
|
||||
/// Format and print doctor results to console.
|
||||
pub fn print_doctor_results(result: &DoctorResult) {
|
||||
println!("\ngi doctor\n");
|
||||
println!("\nlore doctor\n");
|
||||
|
||||
print_check("Config", &result.checks.config.result);
|
||||
print_check("Database", &result.checks.database.result);
|
||||
|
||||
@@ -124,7 +124,7 @@ pub async fn run_ingest(
|
||||
)));
|
||||
}
|
||||
return Err(GiError::Other(
|
||||
"No projects configured. Run 'gi init' first.".to_string(),
|
||||
"No projects configured. Run 'lore init' first.".to_string(),
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
@@ -143,7 +143,7 @@ pub async fn run_init(inputs: InitInputs, options: InitOptions) -> Result<InitRe
|
||||
// 7. Create data directory and initialize database
|
||||
fs::create_dir_all(&data_dir)?;
|
||||
|
||||
let db_path = data_dir.join("gi.db");
|
||||
let db_path = data_dir.join("lore.db");
|
||||
let conn = create_connection(&db_path)?;
|
||||
|
||||
// Run embedded migrations
|
||||
|
||||
@@ -298,7 +298,7 @@ pub fn print_sync_status(result: &SyncStatusResult) {
|
||||
println!(" {}", style("No sync runs recorded yet.").dim());
|
||||
println!(
|
||||
" {}",
|
||||
style("Run 'gi ingest --type=issues' to start.").dim()
|
||||
style("Run 'lore ingest --type=issues' to start.").dim()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,9 +5,9 @@ pub mod commands;
|
||||
use clap::{Parser, Subcommand};
|
||||
use std::io::IsTerminal;
|
||||
|
||||
/// GitLab Inbox - Unified notification management
|
||||
/// Gitlore - Local GitLab data management with semantic search
|
||||
#[derive(Parser)]
|
||||
#[command(name = "gi")]
|
||||
#[command(name = "lore")]
|
||||
#[command(version, about, long_about = None)]
|
||||
pub struct Cli {
|
||||
/// Path to config file
|
||||
@@ -15,7 +15,7 @@ pub struct Cli {
|
||||
pub config: Option<String>,
|
||||
|
||||
/// Machine-readable JSON output (auto-enabled when piped)
|
||||
#[arg(long, global = true, env = "GI_ROBOT")]
|
||||
#[arg(long, global = true, env = "LORE_ROBOT")]
|
||||
pub robot: bool,
|
||||
|
||||
#[command(subcommand)]
|
||||
|
||||
Reference in New Issue
Block a user