Github’s hub cli tool supports creating draft PRs using the -dpo flag, e.g. hub pull-request -dpo.
Is there a URL or query string equivalent to this?
e.g. https://github.com/REPO/compare/FROM-BRANCH?expand=1&dpo=1
expand=1 alters the controls presented to the user, dpo=1 is just made up by me as an example of what I’m looking for
The ideal effect of such a flag would be that the action on the “Create pull request” button defaults to “Create draft pull request”.
But anything roughly along these lines would be great!