-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
workon open issues #22
Comments
You can write your workflow shorter using the doing create pr <issue id> --checkout
doing create pr 12345 --autocomplete --draft --reviewers "yourself" --delete-source-branch --checkout
# or shorter:
doing create pr 12345 -a -d -r "yourself" -c --delete-source-branch Even with the shortflag flags it quite verbose. If we allow for doing workon "a new issue"
doing workon #12345 Still quite elegant, but not as 'pure' because you have to write logic to detect the type of input (string or issue id). An alternative would be another command, or documenting how write an So, I'm in favor of making this change. Good suggestion! |
I didn't notice the Even then, I think allowing the (like in the other issue, I think I won't have much time to pick this up in the next few weeks, so feel free to have fun with this :p) |
Thought about this more. That leaves the problem that The cleanest solution I can think of now, is change the defaults of |
Update defaults of doing create pr, closes #22
We could make
workon
a bit more "universal".For example, if I want to work on an issue that has already been created, right now the workflow is
What about allowing
doing workon <issue>
to automatically detect if the<issue>
is an existing<issue id>
and, if so, to create a PR based on that and checkout that branch?The text was updated successfully, but these errors were encountered: