par_term/profile/mod.rs
1//! Profile management for terminal session configurations
2//!
3//! This module provides an iTerm2-style profile system that allows users to save
4//! terminal session configurations including:
5//! - Working directory for the session
6//! - Custom command with arguments
7//! - Custom tab name
8//!
9//! Profiles are stored in `~/.config/par-term/profiles.yaml`.
10
11pub mod dynamic;
12pub mod storage;
13// types module is now in par-term-config, re-exported below
14
15pub use dynamic::{
16 CacheMeta, ConflictResolution, DynamicProfileManager, DynamicProfileSource,
17 DynamicProfileUpdate, FetchResult, SourceStatus, cache_dir, fetch_profiles,
18 merge_dynamic_profiles, read_cache, url_to_cache_filename, write_cache,
19};
20// Re-export profile types from par-term-config
21pub use par_term_config::{Profile, ProfileId, ProfileManager, ProfileSource};