cp8_cli icon indicating copy to clipboard operation
cp8_cli copied to clipboard

Optional disable feature for PR opening under open command

Open lazlyhu opened this issue 6 years ago • 2 comments

Sometimes just for investigation or doing some experimental I opening a branch for myself, but I don't want to merge it, or not yet. Because it I don't really like the feature which open a PR immediately with cp8 open, I prefer much more to create the PR only under cp8 submit command. I had some empty PR because it.

What do you think, could we create an env variable to disable this feature?

The cp8 help command saying the same logic:

  cp8 start [URL|TITLE]  # Picks up existing issue/creates new ad hoc story and checks out branch
  cp8 submit             # Pushes branch to GitHub and opens PR

lazlyhu avatar May 15 '18 09:05 lazlyhu

Hey there @lazlyhu! And sorry for the super late reply, finally coming up for air after weeks of GDPR :)

Just to clarify, the current behavior is that cp8 start creates a new WIP PR. Is that the flow you're referring to?

cp8 open simply opens any PR associated with the current branch.

balvig avatar May 29 '18 04:05 balvig

@balvig It's not urgent, don't worry 😸

Yes, It's clear, but there is no command for create branch (with generated branch name) but without PR. And when I'll ready for upload it (maybe with WIP label, maybe without it) I'll do this with cp8 open

So in short form: cp8 start == the missing command for branch init + cp8 open

lazlyhu avatar May 31 '18 18:05 lazlyhu