Display version in --help output

- Added version number to about text: 'Simple memory storage for Claude with MCP (v0.2.0)'
- Added version to long_about as well
- Now --help shows version clearly

Users can verify version from both:
  aigpt --version
  aigpt --help
This commit is contained in:
Claude
2025-11-05 16:18:31 +00:00
parent 720030e197
commit 6a80b12ce9

View File

@@ -11,8 +11,8 @@ use mcp::BaseMCPServer;
#[derive(Parser)]
#[command(name = "aigpt")]
#[command(version)]
#[command(about = "Simple memory storage for Claude with MCP")]
#[command(long_about = "AI memory system with psychological priority scoring and game-style results!")]
#[command(about = "Simple memory storage for Claude with MCP (v0.2.0)")]
#[command(long_about = "AI memory system with psychological priority scoring and game-style results!\nVersion: 0.2.0")]
struct Cli {
#[command(subcommand)]
command: Commands,