use clap::{command, Parser};
use std::path::PathBuf;
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
pub struct RootArgs {
#[command(subcommand)]
pub subcommand: TabCompleteSubCommand,
#[arg(short, long, value_name = "FILE")]
pub file_override: Option<PathBuf>,
}
#[derive(clap::Subcommand, Debug)]
pub enum TabCompleteSubCommand {
Complete(CompleteArgs),
Init,
NuCommands,
}
#[derive(Parser, Debug)]
pub struct CompleteArgs {
pub args_str: String,
}