Template support for Pull Request Description and Title

Open
#80 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
git, github, go
Domain
cli

Research direction

Start with the --pull-request-title and --pull-request-description CLI options and trace how their values reach pull-request creation. Before implementation, specify and test the supported file, template, prompt, and variable behavior; the work is done when multiline and templated descriptions and titles are handled consistently.

Written by the indexing model from the issue text.

Description

enhancement

Describe the solution you'd like
When specifying the --pull-request-title and --pull-request-description it isn't clear to me that you can do anything other than copy or paste in a string of your choosing. It would be useful to allow a file to be specified, and beyond that, a template that can be given with prompts and/or options to enter variables to fill in the template for it.

Describe alternatives you've considered
I have a script to generate the git-xargs command runs, but it lacks some of the features that a multi-line description would offer, as well as just making it hard to parse the command.

Additional context

Dominant language
Go
Stars
1.1k
Forks
75
Avg merge
22h 5m
Merged PRs (30d)
4

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from gruntwork-io/git-xargs

All issues in gruntwork-io/git-xargs

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.