use crate::presentation::cli::workspace_binding;
use trine::cli::Bindings;
const EXAMPLES: &str = concat!(
"Examples\n",
" workyard recover Repair worktree locations across the workspace\n",
" workyard recover feat/payments Resume a task operation\n",
" workyard recover feat/payments --undo Undo an interrupted removal",
);
pub(in super::super) fn bindings() -> Bindings {
let bindings = Bindings::new().examples(EXAMPLES);
let bindings = bindings.positional("task").complete_candidates(
"task",
Some("Tasks"),
crate::presentation::cli::completion::tasks::suggest,
);
let bindings = bindings
.option("activate_here", "activate-here")
.option("undo", "undo")
.option("yes", "yes")
.option("force", "force");
workspace_binding(bindings)
}