Profiles¶
obsidian_export.profiles
¶
Profile management for obsidian-export.
init_user_dir
¶
Create ~/.obsidian-export/ directory structure.
list_profiles
¶
get_profile_path
¶
Get the path to a profile YAML file.
Raises ProfileNameError if the name contains unsafe characters or path traversal sequences that would resolve outside PROFILE_DIR.
Source code in obsidian_export/profiles.py
load_profile
¶
Load a profile by name from ~/.obsidian-export/profiles/.
Source code in obsidian_export/profiles.py
save_profile
¶
Save a profile YAML to ~/.obsidian-export/profiles/.