Skip to content

Improve cody pull: skip existing repos and add colorized output#8

Merged
alexjpaz merged 2 commits intomasterfrom
apaz/improve-pull-command
Jan 22, 2026
Merged

Improve cody pull: skip existing repos and add colorized output#8
alexjpaz merged 2 commits intomasterfrom
apaz/improve-pull-command

Conversation

@alexjpaz
Copy link
Copy Markdown
Owner

@alexjpaz alexjpaz commented Jan 22, 2026

Summary

  • Skip repos that already exist (fast .git directory check) instead of showing "Clone failed"
  • Skip unsupported URL formats with informative message
  • Add colorized terminal output (gray=skipped, blue=cloning/success, red=failed)

Test plan

  • Run cody pull with repos that already exist - should show "Skipped (already exists)" in gray
  • Run cody pull with new repos - should clone successfully with blue output
  • Run cody pull with invalid URLs - should show "Skipped (unsupported URL format)" in gray

- Add ANSI color constants for terminal output
- Skip repos that already exist (fast .git directory check)
- Skip unsupported URL formats with informative message
- Colorize output: gray for skipped, blue for cloning/success, red for failed
@alexjpaz alexjpaz merged commit 6253785 into master Jan 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant