Skip to content

Releases: razekmh/gh-develop-with-prefix

v0.0.2 - Custom Prefix Support

16 Jul 17:08
7231373

Choose a tag to compare

🚀 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! 🌿

v0.0.1 - Initial Release with Command Aliases

16 Jul 16:46
b40e3be

Choose a tag to compare

🎉 Initial Release

This is the first release of , a GitHub CLI extension that automatically prefixes branch names with your username when developing from issues.

✨ Features

  • Automatic username prefixing: Transforms →
  • Full compatibility: Supports all flags and options
  • Multiple command aliases for convenience:
    • gh develop-with-prefix (main command)
    • gh dev-prefix (short alias)
    • gh issue dev-prefix (intuitive subcommand)
  • Error handling: Validates authentication, issue existence, and arguments
  • Comprehensive help: Use --help with any command variant

📦 Installation

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

🚀 Usage Examples

# All these commands work identically:
gh develop-with-prefix 123
gh dev-prefix 123
gh issue dev-prefix 123

# With flags:
gh dev-prefix --base main --checkout 456

🔧 What's Included

  • Main extension script (gh-develop-with-prefix)
  • Short alias (gh-dev-prefix)
  • Subcommand alias (gh-issue-dev-prefix)
  • Comprehensive documentation
  • MIT License

Happy coding! 🚀