Skip to main content

worktree_io/
lib.rs

1//! `worktree-io` — open GitHub, Linear, and local Centy issues as git worktree workspaces.
2
3/// Configuration loading and serialization.
4pub mod config;
5/// Git operations: cloning, fetching, branch detection, and worktree creation.
6pub mod git;
7/// Pre/post-open hook execution.
8pub mod hooks;
9/// Issue reference types and parsing.
10pub mod issue;
11/// Multi-repo unified workspace creation.
12pub mod multi_workspace;
13/// Random human-friendly workspace name generator.
14pub mod name_gen;
15/// Editor and terminal openers.
16pub mod opener;
17/// Per-repository hook configuration loaded from `.worktree.toml`.
18pub mod repo_hooks;
19/// Scaffold template written to `.worktree.toml` when the file is absent.
20pub mod repo_hooks_scaffold;
21/// `worktree://` URL scheme registration.
22pub mod scheme;
23/// Compile-time TOML template assets embedded via `include_str!`.
24pub mod templates;
25/// Workspace TTL management and registry.
26pub mod ttl;
27/// Workspace creation and lifecycle.
28pub mod workspace;
29
30pub use config::Config;
31pub use issue::{DeepLinkOptions, IssueRef};
32pub use workspace::Workspace;