feat(push): implement push command parity

This commit is contained in:
Micheal Wilkinson
2026-03-20 17:46:07 +00:00
parent e60000680b
commit 8a451cbaee
2 changed files with 11 additions and 2 deletions

View File

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