Mislav Marohnić
64dcdd68e5
Merge pull request #118 from github/win-ansi-color
...
Fix ANSI color output on Windows
2019-11-28 11:47:02 +01:00
Mislav Marohnić
8955d3e70e
Merge pull request #123 from github/flags-language
...
Tweak flags language
2019-11-27 23:53:45 +01:00
Mislav Marohnić
ae2e8f057c
Merge branch 'master' into flags-language
2019-11-27 23:18:20 +01:00
Mislav Marohnić
b6fa88337d
Ensure that commands print to a colorable output
...
If a command does `fmt.Print(...)` for output that contains ANSI color
codes, this not safe on Windows. We have to ensure that we always use
the `fmt.Fprint*` family of functions with a writer that was transformed
using `utils.NewColorable()`.
2019-11-27 20:51:51 +01:00
Mislav Marohnić
4148cf76b9
Merge remote-tracking branch 'origin' into win-ansi-color
2019-11-27 20:08:00 +01:00
Mislav Marohnić
24b04b5fca
Make use of ansi.ColorFunc
...
Speed up repeated calls to color functions by using ansi.ColorFunc to
create a closure per each color.
https://godoc.org/github.com/mgutz/ansi#ColorFunc
2019-11-27 19:16:53 +01:00
Mislav Marohnić
004ab1e9db
Fix color output to Git Bash
2019-11-27 18:58:23 +01:00
Mislav Marohnić
aeb060e012
Allow pr list filtering of assignee + state
2019-11-27 18:25:01 +01:00
Mislav Marohnić
1bf28927f0
Support -a, --assignee in pr list
...
This is for symmetry with `issue list`.
The problem is that the `Repository.pullRequests` connection doesn't
support filtering by assignee, therefore we need to switch to search API
in case an assignee was specified. This is awkward, but I don't see
another way.
2019-11-27 18:15:07 +01:00
Nate Smith
07df89f931
Merge pull request #122 from github/issue-status-mine
...
Replace "Recent issues" with "Issues opened by you"
2019-11-27 11:08:15 -06:00
Nate Smith
caf8eea0c7
Merge pull request #121 from github/cli-version
...
Have `gh version` be an alias for `gh --version`
2019-11-27 11:06:58 -06:00
Nate Smith
0a6a2991d5
Merge pull request #119 from github/term-cygwin
...
Fix detecting terminal under Git Bash on Windows
2019-11-27 11:06:39 -06:00
Nate Smith
49cc3ca1dc
Merge pull request #120 from github/oauth-win
...
Fix OAuth flow on Windows
2019-11-27 11:06:19 -06:00
Nate Smith
21f43f3003
Merge pull request #114 from github/linux-instruction-tweak
...
linux instruction tweaks
2019-11-27 10:48:37 -06:00
Nate Smith
6777b4f16c
Update README.md
2019-11-27 10:47:35 -06:00
Nate Smith
478d5de9a1
Update README.md
2019-11-27 10:45:05 -06:00
Nate Smith
c5eba17429
Update README.md
...
Co-Authored-By: Mislav Marohnić <mislav@github.com>
2019-11-27 10:35:41 -06:00
Nate Smith
cce72cc7a4
Update README.md
2019-11-27 10:35:19 -06:00
Mislav Marohnić
854a4b3fdf
💅 Sentence-case for --help and --version flags
2019-11-27 17:26:27 +01:00
Mislav Marohnić
b8a0754a03
💅 Sentence case for CLI flags
2019-11-27 17:09:40 +01:00
Mislav Marohnić
002aac3519
Remove global -B, --current-branch flag
...
Now `pr list --base` has shorthand `-B`
2019-11-27 17:05:49 +01:00
Mislav Marohnić
6179570873
Replace "Recent issues" with "Issues opened by you"
2019-11-27 16:56:53 +01:00
Mislav Marohnić
bfdef59377
💅 consistent sub-command initialization style
2019-11-27 16:49:24 +01:00
Mislav Marohnić
b8251650db
Have gh version be an alias for gh --version
2019-11-27 16:42:38 +01:00
Mislav Marohnić
4ec31ffd57
Strip the "v" prefix when displaying gh version string
2019-11-27 16:42:13 +01:00
Mislav Marohnić
4be04aded3
Fix ANSI color output on Windows
2019-11-27 15:43:28 +01:00
Mislav Marohnić
7d904fdef7
Fix detecting terminal under Git Bash on Windows
2019-11-27 15:31:37 +01:00
Mislav Marohnić
295c5d122b
Fix opening OAuth URL in browser
2019-11-27 14:08:42 +01:00
Nate Smith
d9d745447b
Update README.md
2019-11-26 11:52:13 -06:00
Mislav Marohnić
b21b93abe9
Merge pull request #113 from github/staticcheck
...
Fix minor code issues discovered by staticcheck
2019-11-26 18:31:43 +01:00
Nate Smith
9a64b43f2e
Merge pull request #112 from github/rm-utils
...
Remove legacy code under `ui` and `utils`
2019-11-26 11:26:39 -06:00
Nate Smith
39a5dbc2f2
Merge pull request #102 from github/linux-packages
...
linux packaging
2019-11-26 10:24:16 -06:00
Nate Smith
52a1575fc1
Update README.md
2019-11-26 10:22:13 -06:00
Mislav Marohnić
62bbcb266e
🔥 more unused git functions
2019-11-26 16:23:03 +01:00
Mislav Marohnić
d99698f048
Fix minor code issues discovered by staticcheck
...
`honnef.co/go/tools/cmd/staticcheck`
2019-11-26 16:18:20 +01:00
Mislav Marohnić
7f4833d84e
🔥 unused code
2019-11-26 14:14:31 +01:00
Nate Smith
a5da6997c4
Merge pull request #101 from github/add-license-1
...
Create LICENSE
2019-11-25 11:34:34 -06:00
Nate Smith
89700216c6
Merge pull request #97 from github/issue-create-editor
...
Use survey when creating issues
2019-11-25 11:34:11 -06:00
vilmibm
619c42fc87
use iota
2019-11-25 11:33:59 -06:00
Mislav Marohnić
cdf40cc6ed
Merge pull request #98 from github/more-specific-help-summaries
...
More specific help summaries
2019-11-25 11:34:19 +01:00
Mislav Marohnić
704a9e88a5
Merge pull request #104 from github/issue-list-table
...
Align `issue list` output with that of `pr list`
2019-11-25 11:22:43 +01:00
Corey Johnson
267262c882
Merge pull request #92 from github/git-describe
...
Fix injecting git version information into development build
2019-11-22 14:17:02 -08:00
Corey Johnson
3b765d9236
Only print the func if there is a function to print!
2019-11-22 13:48:19 -08:00
Corey Johnson
d69f58cd6b
Add APP_ENV var
2019-11-22 13:48:06 -08:00
vilmibm
2347027174
improve rpm instructions
2019-11-22 15:17:38 -06:00
vilmibm
23c7eeb6b0
add linux instructions and test release instructions to readme
2019-11-22 14:51:52 -06:00
vilmibm
9c459659e7
try out rpm builds
2019-11-22 14:51:25 -06:00
Amanda Pinsker
977d47b263
Shorten top summary
2019-11-22 11:07:59 -08:00
Corey Johnson
49d5ada937
use upgrade
2019-11-22 11:05:40 -08:00
Corey Johnson
e95594675d
Move to it's own package
2019-11-22 10:55:23 -08:00