Since this is a dotfiles manager, it's best to test it in a safe environment first.
Create a directory to simulate your home folder.
mkdir -p /tmp/g4d-sandbox/home
mkdir -p /tmp/g4d-sandbox/dotfiles
export HOME=/tmp/g4d-sandbox/homeCopy your dotfiles (or a subset) to the sandbox.
cp -r ~/dotfiles/zsh /tmp/g4d-sandbox/dotfiles/
# ... copy othersRun init:
cd /tmp/g4d-sandbox/dotfiles
g4d initVerify .go4dot.yaml is created.
Currently, go4dot modifies files directly. To test safely:
- Backup your current configs if running on real machine.
- Use
g4d install --minimalfirst.
Run g4d without arguments to check the interactive dashboard.
g4dVerify that:
- The banner is displayed.
- The menu lists Install, Update, Doctor, List, Init, and Quit.
- Navigation works with arrow keys.
- You can select an item with Enter.
Also check specific commands for output formatting:
g4d doctor
g4d list --all
g4d detectVerify that they use the new styled output (colors, icons, sections).