myeon 0.5.0

myeon is a minimalist, keyboard-driven TUI Kanban board
Documentation
use clap::{Parser, Subcommand};

#[derive(Parser)]
#[command(
    name = "myeon",
    author = "Claes Adamsson @cladam",
    version,
    about = "myeon is a minimalist, keyboard-driven TUI Kanban board",
    long_about = None,
    after_help = "KEYBINDINGS:\n  h/j/k/l    Move focus across tasks and columns\n  a          Quick-capture a new idea\n  e          Edit a task\n  c          Change Context (cycle Work/Personal/etc.)\n  Enter      Move the task forward\n  Backspace  Move the task backward\n  d          Delete a task\n  q          Quit"
)]
#[command(propagate_version = true)]
pub struct Cli {
    #[command(subcommand)]
    pub command: Option<Commands>,
}

#[derive(Subcommand)]
pub enum Commands {
    /// Create a new card to the Idea column
    #[command(after_help = "EXAMPLE:\n  \
    # myeon add --title \"A great idea\" --description \"This is an amazing idea I came to think about\"\n")]
    Add {
        /// Title of the task
        #[arg(short, long)]
        title: String,

        /// Optional description
        #[arg(short, long)]
        description: Option<String>,

        /// Context/category for the task
        #[arg(short, long, default_value = "General")]
        context: String,

        /// Priority: low, medium, or high
        #[arg(short, long, default_value = "low")]
        priority: String,
    },
    /// Update myeon to the latest version.
    #[command(name = "update", hide = true)] // Hidden from help
    Update,
}