Skip to content

Conversation

@BenjiMilan
Copy link
Contributor

Support checkout not in cli. Closes #19

@BenjiMilan BenjiMilan requested a review from TB-1993 January 8, 2026 14:50
@BenjiMilan BenjiMilan self-assigned this Jan 8, 2026
Copilot AI review requested due to automatic review settings January 8, 2026 14:50
@BenjiMilan BenjiMilan force-pushed the feature/gh19_support_checkout_not_in_cli branch from 1ce1e15 to 5d7d8cb Compare January 8, 2026 14:51
Copy link

@TB-1993 TB-1993 left a 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!

Copy link

Copilot AI left a 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 checkout command to the support CLI group to enable switching to a specific support branch
  • Added missing docstring to the support start command
  • 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."""
Copy link

Copilot AI Jan 8, 2026

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.

Suggested change
"""Checkout a support branch."""
"""Checkout a support branch"""

Copilot uses AI. Check for mistakes.
@click.option("-v", "--verify", is_flag=True, help="Run hooks without prompting.")
def checkout(force, verify):
"""Checkout the develop branch"""
"""Checkout a develop branch."""
Copy link

Copilot AI Jan 8, 2026

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.

Suggested change
"""Checkout a develop branch."""
"""Checkout the develop branch."""

Copilot uses AI. Check for mistakes.
@BenjiMilan BenjiMilan merged commit 30e2e10 into develop Jan 8, 2026
4 checks passed
@BenjiMilan BenjiMilan deleted the feature/gh19_support_checkout_not_in_cli branch January 8, 2026 14:54
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Support checkout doesn't exist in cli

3 participants