feat: add --version flag to bakery CLI

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Breadway 2026-06-07 15:13:34 +08:00
parent f7957301d5
commit a9175aa4ef

View file

@ -9,7 +9,7 @@ use clap::{Parser, Subcommand};
use std::path::PathBuf;
#[derive(Parser)]
#[command(name = "bakery", about = "Package manager for the bread ecosystem")]
#[command(name = "bakery", about = "Package manager for the bread ecosystem", version)]
struct Cli {
#[command(subcommand)]
command: Cmd,