feat(pull): implement pull command parity

This commit is contained in:
Micheal Wilkinson
2026-03-20 17:44:13 +00:00
parent 4a422bd241
commit 4fb028cd81
2 changed files with 20 additions and 11 deletions

View File

@@ -133,6 +133,13 @@ func (a *App) Diff(castle string) error {
return runGitWithIO(filepath.Join(a.ReposDir, castle), a.Stdout, a.Stderr, "diff")
}
func (a *App) Pull(castle string) error {
if strings.TrimSpace(castle) == "" {
castle = "dotfiles"
}
return runGitWithIO(filepath.Join(a.ReposDir, castle), a.Stdout, a.Stderr, "pull")
}
func (a *App) Link(castle string) error {
if strings.TrimSpace(castle) == "" {
castle = "dotfiles"