cp8_cli
cp8_cli copied to clipboard
Optional disable feature for PR opening under open command
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
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 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