Mislav Marohnić
09710c7745
Remove unused `ogier/pflag`
2019-01-18 04:16:46 +01:00
Mislav Marohnić
c0db6e6f0c
Use ArgsParser for commands that don't declare flags via pflag
2019-01-18 01:50:28 +01:00
Mislav Marohnić
97fbf4e4f6
Enforce go1.8+ via build flags too
2017-05-17 13:34:13 +02:00
Mislav Marohnić
f507de0596
Show error to stderr if shelling out failed
...
If shelling out to nonexistent command, such as `echo` on Windows, print
the error on stderr instead of failing silently. This is also helpful
when hub tries to forward a command to `git`, but git is not installed.
2016-09-10 23:08:48 +02:00
Jingwen Owen Ou
498789a999
Change namespace to github/hub
2014-02-10 08:29:03 -08:00
David Calavera
b3a1a093bf
Capture panic errors and notify them as unexpected crashes.
2014-01-04 16:57:52 -08:00
David Calavera
371ae8b432
Add global commands to the runner.
...
- Use a hash to lookup for commands.
- Add more tests for the command and runner execution.
2013-12-29 14:18:14 -08:00
Jingwen Owen Ou
fa8f2c95a7
Spawning processes to run git commands; Exec(1) doesn't work on Windows...
2013-09-22 17:51:37 -07:00
Jingwen Owen Ou
1219f0efaa
Fix bug in parsing pull request response for user and branch
2013-07-29 10:50:28 -07:00
Jingwen Owen Ou
c4de7b63b9
Fix go vet
2013-07-20 07:41:43 -07:00
Jingwen Owen Ou
ff5b5ce6d7
Fallthrough to git if no commands match
2013-06-28 16:49:49 -07:00
Jingwen Owen Ou
c294d2b615
Use Args for arguments
2013-06-28 16:49:49 -07:00
Jingwen Owen Ou
e82093d6d6
Add Args
2013-06-28 16:49:49 -07:00
Jingwen Owen Ou
e08e67935a
Proxy unknown commands to git
2013-06-25 08:24:04 -07:00
Jingwen Owen Ou
9bf55c38f6
Fix help format
2013-06-17 14:15:59 -07:00
Jingwen Owen Ou
4c960d3a3f
Print git help if it's an extension
2013-06-17 13:56:57 -07:00
Jingwen Owen Ou
64fa816809
Move code to proper subpackages
2013-05-29 12:01:12 -07:00
Jingwen Owen Ou
f4e4040c0a
Add ci-status command stub
2013-05-29 09:51:29 -07:00
Jingwen Owen Ou
9dcc9e575b
Better error messages
2013-05-28 13:14:40 -07:00
Jingwen Owen Ou
81c038fa84
Add git struct
2013-05-28 10:52:27 -07:00
Jingwen Owen Ou
6380325c35
Add version
2013-05-23 23:16:00 -07:00
Jingwen Owen Ou
485e626e28
Handle error for git cmd executation
2013-05-23 22:41:06 -07:00
Jingwen Owen Ou
6f47bb79c8
Save config after getting token from GitHub
2013-05-23 15:21:18 -07:00
Jingwen Owen Ou
0df403f148
Start basic auth implementation
2013-05-23 09:31:44 -07:00
Jingwen Owen Ou
ba1fe66308
Refactor to Repo
2013-04-29 20:29:21 -07:00
Jingwen Owen Ou
104e1e605c
Use ExecCmd
2013-04-29 19:45:57 -07:00
Jingwen Owen Ou
ec4769ad06
Implement Pull Request
2013-04-21 20:36:21 -07:00
Jingwen Owen Ou
ac1b289cf6
Add pull_request stub
2013-04-11 08:51:06 -07:00
Jingwen Owen Ou
d5615fcb6f
Init
2013-04-08 21:53:13 -07:00