-
Notifications
You must be signed in to change notification settings - Fork 0
gh19 support checkout not in cli #20
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
Conversation
1ce1e15 to
5d7d8cb
Compare
TB-1993
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, ship it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for checking out support branches via the CLI, which was previously missing. The change addresses issue #19 by implementing a checkout command under the support group.
- Added
checkoutcommand to thesupportCLI group to enable switching to a specific support branch - Added missing docstring to the
support startcommand - Updated develop checkout docstring for consistency
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @click.option("-f", "--force", is_flag=True, help="Force checkout.") | ||
| @click.option("-v", "--verify", is_flag=True, help="Run hooks without prompting.") | ||
| def checkout(name, force, verify): | ||
| """Checkout a support branch.""" |
Copilot
AI
Jan 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docstring ends with a period, but most other checkout commands in this file don't (feature, release, hotfix checkout docstrings have no period). Only master checkout has a period. For consistency, consider removing the period to match the majority pattern.
| """Checkout a support branch.""" | |
| """Checkout a support branch""" |
| @click.option("-v", "--verify", is_flag=True, help="Run hooks without prompting.") | ||
| def checkout(force, verify): | ||
| """Checkout the develop branch""" | ||
| """Checkout a develop branch.""" |
Copilot
AI
Jan 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing "the" to "a" makes this less accurate. There is only one develop branch in a git-flow model, unlike feature/release/hotfix/support branches where multiple can exist. The original "Checkout the develop branch" was more accurate. Consider reverting this change.
| """Checkout a develop branch.""" | |
| """Checkout the develop branch.""" |
Support checkout not in cli. Closes #19