Nate Smith
e4b8ae0ec4
Merge pull request #665 from cli/preview-default
...
switch {pr,issue} view default
2020-03-25 11:32:46 -05:00
Nate Smith
51eb2cb345
Merge branch 'master' into pr-count
2020-03-18 09:26:05 -07:00
Mislav Marohnić
cb06812d19
Merge pull request #532 from mingrammer/consistent-printing
...
fix: inconsistent format between issue list and status
2020-03-18 11:59:17 +01:00
vilmibm
e4b43b08b9
update usage text
2020-03-17 17:13:48 -05:00
vilmibm
00de6b9c09
switch defaults for issue view
2020-03-17 17:06:42 -05:00
UmairShahzad
f51669e228
Merge remote-tracking branch 'origin/master' into pr-count
2020-03-14 19:02:51 +05:00
vilmibm
8769299731
titlebody prepopulation
2020-03-13 15:12:03 -05:00
Toshiya Doi
102cfdb1a2
Rearrange the order of command initialization
2020-03-13 23:59:18 +09:00
Toshiya Doi
5e3aa31cf1
Fix 'gh issue view' usage description
2020-03-13 23:58:41 +09:00
Eddú Meléndez
8e7ba907b1
Add filter issues by author
2020-03-09 18:50:23 -06:00
mingrammer
0d38f1f6dc
fix: don't truncate field (tablewriter will do)
2020-03-07 22:06:47 +09:00
Mislav Marohnić
3d48d40b69
Simplify getTitle and rename it to listHeader
2020-03-05 13:08:21 +01:00
Mislav Marohnić
5518c013f3
Indicate that the default issue list state is "open"
2020-03-05 13:07:10 +01:00
UmairShahzad
945d4ffb55
Merge branch 'master' of https://github.com/cli/cli into pr-count
2020-03-04 00:09:35 +05:00
Billy Griffin
8340591ad3
Number is more readable
2020-02-27 11:23:37 -07:00
Billy Griffin
b18ea98436
Improve error message for issue URL with no args
2020-02-27 11:22:39 -07:00
Mislav Marohnić
adf2177a24
Merge pull request #474 from politas/fix/StripHash
...
Handle properly passed #<num> as equivalent to <num> for PRs and Issues
2020-02-27 12:15:00 +01:00
Myk
038e5e5342
Accept #<num> syntax as issue/PR number
2020-02-27 12:11:49 +01:00
UmairShahzad
3c687ed111
moved getTitle to common; changed title string
2020-02-27 00:57:42 +05:00
UmairShahzad
b8a7c87142
Merge remote-tracking branch 'cli/master' into pr-count
2020-02-27 00:11:38 +05:00
Dasio
8aa46c236e
Init slice with provided capacity if it's known in advance
2020-02-24 22:16:41 +01:00
Mislav Marohnić
38b58a4914
Respect explicit title & body with issue create --web
2020-02-24 13:41:46 +01:00
Mislav Marohnić
ac94ae5872
Return interface from determineBaseRepo(), not pointer to interface
...
It's sufficient to return a value of type `ghrepo.Interface` instead of
a pointer to an interface. This avoids having to use `*` whenever we are
passing the result of `determineBaseRepo()` into another function that
accepts a `ghrepo.Interface`.
2020-02-24 13:40:58 +01:00
mingrammer
39ea067328
fix: inconsistent format between issue list and status
2020-02-23 18:36:49 +09:00
Mislav Marohnić
4c3e498021
Fix column alignment and truncation for Eastern Asian languages
...
- Ensure that text is never truncated mid-character, which would result
in garbled text
- Ensure that columns in `issue/pr list` output align properly
2020-02-20 18:52:17 +01:00
Mislav Marohnić
13dbfa44c2
go fmt
2020-02-20 13:55:55 +01:00
UmairShahzad
1a485ddd2e
Merge remote-tracking branch 'cli/master' into pr-count
2020-02-20 01:57:44 +05:00
UmairShahzad
bb0fe46db6
total match count in title
2020-02-20 01:54:51 +05:00
Nate Smith
c65ac4ae9d
Merge branch 'master' into glamour-markdown
2020-02-18 14:23:49 -06:00
UmairShahzad
94ef4bb377
switched title to fn literal
2020-02-16 12:26:36 +05:00
UmairShahzad
906f49659f
updated title and tests
2020-02-15 22:37:13 +05:00
Anowar Islam
2c2c8a9991
added fix for empty body in issue preview
2020-02-13 01:44:03 -08:00
vilmibm
4f10a6d813
do not use local template files if overriding base repo
2020-02-12 08:57:55 -06:00
vilmibm
135c63aa36
remove --self for now
2020-02-11 20:46:46 -06:00
vilmibm
ad170118e4
use resolve remotes code in issue commands
2020-02-11 19:43:02 -06:00
Nicolas Martin
950144945f
Use glamour as markdown rendering backend for issue & pr previews
...
glamour uses the CommonMark compliant Goldmark markdown parser instead of
go-termd which is based on Blackfriday.
2020-02-06 00:20:16 +01:00
TaKO8Ki
6f2d7c5dd1
fx typo
2020-02-02 17:23:51 +09:00
vilmibm
d7bf83a82c
strip color, add whitespace
2020-01-30 14:00:43 -06:00
vilmibm
d81cf009f5
simpler repo context
2020-01-29 17:47:29 -06:00
vilmibm
86cb09fe84
Revert "print repo info for status commands"
...
This reverts commit d64dcdca95 .
2020-01-29 17:41:36 -06:00
vilmibm
d64dcdca95
print repo info for status commands
2020-01-29 15:50:04 -06:00
Mislav Marohnić
a710893fc1
Rename to cli/cli
2020-01-24 16:08:52 +01:00
Mislav Marohnić
b44dad2319
Merge remote-tracking branch 'origin/master' into no-errors-wrap
2020-01-23 16:46:56 +01:00
Nate Smith
a0f2e1736a
Merge pull request #244 from github/ghrepo-interface
...
Extract common interface for a GitHub Repository
2020-01-23 09:39:16 -06:00
Nate Smith
bf0f345ea3
Merge pull request #243 from github/display-url
...
Extract helper for URL display
2020-01-23 09:36:40 -06:00
Mislav Marohnić
c5960f0906
Merge remote-tracking branch 'origin/master' into ghrepo-interface
2020-01-23 16:36:22 +01:00
Nate Smith
55a5d19252
Merge pull request #247 from github/issue-pr-view-docs
...
Tweak `issue/pr view` documentation
2020-01-23 09:35:38 -06:00
Mislav Marohnić
22fe0839fa
Merge remote-tracking branch 'origin/master' into ghrepo-interface
2020-01-23 14:19:10 +01:00
Mislav Marohnić
9122bc181c
Migrate away from errors.Wrap()
...
Turns out the "standard" way of wrapping errors in Go is via
`fmt.Errorf("%w")`, which doesn't require an external package and also allows a
finer control of error sentence formatting.
2020-01-23 13:19:28 +01:00
Mislav Marohnić
f58dd04074
Avoid saying "number as argument" for issue/pr view
...
Since issue URLs, PR URLs, and PR branch names are all accepted as arguments,
avoid explicitly requesting "number" as argument.
2020-01-23 13:09:37 +01:00