use std::path::PathBuf;
use clap::{Parser, Subcommand};
pub use tftio_cli_common::MetaCommand;
#[derive(Debug, Parser)]
#[command(name = "org-gdocs")]
#[command(about = "Sync org-mode documents to Google Docs and pull reviewer comments back")]
#[command(long_about = None)]
#[command(version)]
pub struct Cli {
#[command(subcommand)]
pub command: Command,
#[arg(short = 'j', long, global = true)]
pub json: bool,
}
#[derive(Debug, Subcommand)]
pub enum Command {
Meta {
#[command(subcommand)]
command: MetaCommand,
},
Auth,
Push {
file: PathBuf,
},
Pull {
file: PathBuf,
},
Clean {
file: PathBuf,
},
Open {
file: PathBuf,
},
}