use std::path::PathBuf;
use clap::{Parser, Subcommand};
use crate::completions::CompletionShell;
#[derive(Parser)]
#[command(
name = "projm",
about = "Project organizer & navigator",
version = "0.3.1"
)]
pub struct Cli {
#[command(subcommand)]
pub command: Commands,
}
#[derive(Subcommand)]
pub enum Commands {
Organize {
dir: PathBuf,
#[arg(short = 'n', long)]
dry_run: bool,
},
G,
Init,
Completions {
#[arg(value_enum)]
shell: CompletionShell,
},
SetBase { path: PathBuf },
Editors,
}