This repository was archived by the owner on Dec 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Add Profile Support to daje #32
Copy link
Copy link
Open
Description
Description
Implement basic support for profile-based dotfile management.
A profile represents a group of dotfiles associated with a particular environment (e.g., tumbleweed-sway). The user can apply a profile to their home directory using daje apply <profile>.
Profiles are stored under ~/.daje/profiles/<profile-name>/.
Requirements
- Add
~/.daje/profiles/<profile-name>directory layout - When daje apply is called:
- Load the requested profile
- Copy/symlink the files to $HOME
- Implement simple error handling if:
- The profile doesn't exist
- The profile has no files
- Update apply.go to call this logic
- The code must be cover with unit tests
Suggestions
~/.daje/
├── profiles/
│ ├── common/
│ │ └── .bashrc
│ └── sway/
│ └── .config/hypr/hyprland.conf
Acceptance Criteria
- AC1:
daje apply swayapplies the files in~/.daje/profiles/sway/to local environment - AC2: Errors are clearly reported if the profile does not exist
- AC3: Unit tests pass and cover new code
Reactions are currently unavailable