use std::path::PathBuf; use clap::Subcommand; #[derive(Subcommand, Debug)] pub enum Link { /// Move untracked paths into the store and symlink them back Add { /// Untracked or ignored paths inside the repository #[arg(required = true)] paths: Vec, /// Link to a store path that already exists #[arg(long)] force: bool, }, /// List untracked paths a sandbox would still see Check { /// Limit the listing to these paths paths: Vec, /// Print ` ` for scripts, as `git status --porcelain` does #[arg(long)] porcelain: bool, /// Terminate porcelain entries with NUL #[arg(short = 'z')] null: bool, }, }