Skip to main content

worktree_io/issue/
deep_link.rs

1/// Options extracted from a `worktree://` deep link.
2#[derive(Debug, Clone, Default)]
3pub struct DeepLinkOptions {
4    /// Editor override from the `editor` query param. May be a symbolic name
5    /// (`cursor`, `code`, `zed`, `nvim`, etc.) or a raw percent-decoded command.
6    pub editor: Option<String>,
7    /// When `true` (set via `?no_hooks=1`), pre/post-open hooks are skipped.
8    pub no_hooks: bool,
9}