2 Commits

Author SHA1 Message Date
c58be7c902 chore: release v0.2.1 2026-03-01 11:27:40 +01:00
2463e83a43 feat: use crate name for completion file generation 2026-03-01 11:27:24 +01:00
3 changed files with 4 additions and 4 deletions

4
Cargo.lock generated
View File

@@ -1536,8 +1536,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "todo"
version = "0.1.1"
name = "todo-mcp"
version = "0.2.1"
dependencies = [
"anyhow",
"chrono",

View File

@@ -1,6 +1,6 @@
[package]
name = "todo-mcp"
version = "0.2.0"
version = "0.2.1"
edition = "2024"
rust-version = "1.85"
description = "simple todo cli with mcp server for ai integration"

View File

@@ -19,7 +19,7 @@ fn main() -> Result<(), Error> {
let mut cmd = Cli::command();
for shell in Shell::value_variants() {
let path = generate_to(*shell, &mut cmd, "todo", &outdir)?;
let path = generate_to(*shell, &mut cmd, env!("CARGO_PKG_NAME"), &outdir)?;
println!("cargo:warning=completion file is generated: {path:?}");
}