Skip to content

v0.0.2 - Custom Prefix Support

Latest

Choose a tag to compare

@razekmh razekmh released this 16 Jul 17:08
· 4 commits to main since this release
7231373

πŸš€ New Feature: Custom Prefix Support

This release adds the highly requested custom prefix functionality while maintaining full backward compatibility.

✨ What's New

  • 🎯 Custom Prefix Option: Use --prefix flag to specify custom branch prefixes
  • πŸ”„ Smart Fallback: Automatically falls back to GitHub username when no custom prefix is specified
  • πŸ“’ Clear Feedback: Shows which prefix is being used during execution

πŸ“‹ Usage Examples

# Using custom initials (great for teams!)
gh develop-with-prefix --prefix sc 123  # Creates: sc/123-issue-title

# Using team abbreviations
gh develop-with-prefix --prefix fe 456  # Creates: fe/456-issue-title

# Backward compatibility - works exactly as before
gh develop-with-prefix 789              # Creates: username/789-issue-title

πŸŽ‰ Perfect For Teams

This update is especially useful for teams that prefer:

  • Initials: jd/123-feature instead of john-doe/123-feature
  • Team codes: fe/123-ui-update for frontend team
  • Short identifiers: Any custom prefix you prefer!

πŸ”§ Technical Improvements

  • Enhanced argument parsing with proper validation
  • Improved error handling and user feedback
  • Updated documentation with comprehensive examples
  • Maintains 100% backward compatibility

πŸ“š Updated Documentation

  • Added --prefix flag to help documentation
  • Updated README with usage scenarios and examples
  • Clear examples for common use cases

πŸ› Addresses

  • Fixes #1: Optional custom prefix with fallback to GitHub username

Installation: gh extension install razekmh/gh-develop-with-prefix

Happy branching! 🌿