-
Notifications
You must be signed in to change notification settings - Fork 14
New commands: add
and add-from-fs
#465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Reviewer's GuideThis pull request introduces two new CLI subcommands, File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
add
and add-from-fs
add
and add-from-fs
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #465 +/- ##
=======================================
Coverage 78.98% 78.98%
=======================================
Files 8 8
Lines 414 414
Branches 85 85
=======================================
Hits 327 327
Misses 52 52
Partials 35 35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Make config parameter in sync function explicitly optional in type signature to match actual behavior. This improves type checking without changing functionality.
This commit adds two new CLI commands to vcspull: 1. 'add' - Adds a single repository to the configuration - Handles different input formats (name=url, url only) - Supports custom base_dir_key and target_path options - Automatically extracts repo names from URLs when needed 2. 'add-from-fs' - Scans a directory for git repositories and adds them to the configuration - Supports recursive scanning with --recursive flag - Can use a custom base directory key with --base-dir-key - Provides interactive confirmation (can be bypassed with --yes) - Organizes nested repositories under appropriate base keys Both commands include thorough test coverage and maintain project code style.
Fixes:
add-from-fs
#25Summary by Sourcery
Add new CLI commands
add
andadd-from-fs
to vcspull for managing repository configurationNew Features:
add
command to add a single repository to vcspull configurationadd-from-fs
command to scan and add multiple git repositories from a directoryEnhancements: