profile¶
Manage machine profiles for auto-switching branches.
Usage¶
dot-man profile create <name>
dot-man profile list
dot-man profile switch <name>
dot-man profile detect
Subcommands¶
profile create¶
Create a new profile:
profile list¶
List all profiles:
profile switch¶
Switch to a profile:
profile detect¶
Auto-detect the current machine's profile:
Configuration¶
Profiles are stored in ~/.config/dot-man/global.toml:
[profiles.work-laptop]
hostnames = ["work-laptop", "thinkpad"]
branch = "work"
[profiles.personal]
hostnames = ["home-pc", "macbook"]
branch = "main"