You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tea/cmd
Norwin 7b7c7f57be tea pr create: make local repo optional (#393)
this is a partial fix to #378, making the command available outside of a local repo.

new behaviour:
- when run interactively without local repo context, the head repo prompt is not pre-populated
- when run with flags without local repo context, it will complain unless `--head` is specified

refactor:
- pass TeaContext down to task.CreatePull

Co-authored-by: Norwin <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/393
Reviewed-by: Alexey 〒erentyev <axifive@noreply.gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
3 years ago
..
flags Implement notification subcommands (#389) 3 years ago
issues Implement notification subcommands (#389) 3 years ago
labels Add missing flags (#369) 3 years ago
login Add more command shorthands (#307) 3 years ago
milestones Implement notification subcommands (#389) 3 years ago
notifications Implement notification subcommands (#389) 3 years ago
organizations Add missing flags (#369) 3 years ago
pulls tea pr create: make local repo optional (#393) 3 years ago
releases Update Vendors (#337) 3 years ago
repos Implement notification subcommands (#389) 3 years ago
times Implement notification subcommands (#389) 3 years ago
autocomplete.go Handle XDG directories with spaces in autocomplete commands (#383) 3 years ago
categories.go Proper help text & new README structure (#311) 3 years ago
comment.go tea comment: handle piped stdin (#322) 3 years ago
issues.go Add `tea comment` and show comments of issues/pulls (#313) 3 years ago
labels.go Add missing flags to org & labels subcommands (#357) 3 years ago
login.go Proper help text & new README structure (#311) 3 years ago
logout.go Proper help text & new README structure (#311) 3 years ago
milestones.go Add `tea issues --fields`, allow printing labels (#312) 3 years ago
notifications.go Implement notification subcommands (#389) 3 years ago
open.go Proper help text & new README structure (#311) 3 years ago
organizations.go Add missing flags to org & labels subcommands (#357) 3 years ago
pulls.go Add `tea pr merge` (#348) 3 years ago
releases.go Proper help text & new README structure (#311) 3 years ago
repos.go Proper help text & new README structure (#311) 3 years ago
times.go Improve `tea time` (#319) 3 years ago