Commit graph

1116 commits

Author SHA1 Message Date
jlsestak
707897ffb6
Deleted extra space 2021-06-14 08:29:22 -07:00
bchadwic
9c7a788193 created more tests, and removed repoFlag 2021-06-13 21:05:50 -07:00
Jessica Sestak
7ea9d9164a Fixed TestNewCmdBrowse and added more tests 2021-06-13 20:16:19 -07:00
Jessica Sestak
edef757c6c Made more runBrowse tests 2021-06-12 22:36:03 -07:00
bchadwic
2b42ab92c3 refactored browse.go 2021-06-12 21:58:29 -07:00
Mislav Marohnić
7999a457ad Separate out NewCmdBrowse tests from runBrowse tests
Co-authored-by: Benjamin Chadwick <benchadwick87@gmail.com>
Co-authored-by: Jessica Sestak <jlsestak@gmail.com>
2021-06-11 18:53:34 +02:00
bchadwic
88ec5ad3b2 Fixing issues in the pr 2021-06-10 21:14:10 -07:00
Jessica Sestak
e5b81fb6a5 Started working on testing for parseFileArgs 2021-06-08 22:09:11 -07:00
Jessica Sestak
1657cf46c1 Fixed parsefileargs to throw errors with incorrect line numbers 2021-06-08 21:23:50 -07:00
Jessica Sestak
a96612c5e9 Fixed --repo to open with Args 2021-06-08 20:54:56 -07:00
bchadwic
98a5541d15 Started to fix the flags and the restrictions using them 2021-06-08 20:35:38 -07:00
bchadwic
95afca882b Finished refactoring now 2021-06-08 16:35:53 -07:00
bchadwic
506bd4b2de working on refactoring the output, the tests and how opts is structured 2021-06-08 15:36:11 -07:00
Benjamin Chadwick
698ca014c7
Merge pull request #38 from bchadwic/trunk
Redefined browse output, and added in more test cases
2021-06-08 13:12:48 -07:00
Benjamin Chadwick
9fe986a480
Update pkg/cmd/browse/browse.go
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2021-06-08 12:48:17 -07:00
Benjamin Chadwick
891f4af69c
Update pkg/cmd/browse/browse.go
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2021-06-08 12:47:56 -07:00
Benjamin Chadwick
94002bf0cc
Update pkg/cmd/browse/browse.go
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2021-06-08 12:47:44 -07:00
ravocean
898d585e6a A small change in code 2021-06-07 22:00:05 -07:00
bchadwic
569d2fd58a Got tests objects to fully work! Currently working on making more test cases 2021-06-07 21:47:08 -07:00
ravocean
449858158d Continued to work on the output of test file 2021-06-07 12:57:36 -07:00
Jessica Sestak
f792704003 Worked on browse_test.go, still not getting errors 2021-06-07 11:04:29 -07:00
bchadwic
6ed9900084 working on the test file for the browse.go 2021-06-06 01:09:43 -07:00
ttran112
e425e897a6 create new test file for first browse branch 2021-06-05 23:31:19 -07:00
ttran112
1a9704dbfb fix the route 2021-06-05 22:46:46 -07:00
Benjamin Chadwick
bc3a341479
Update browse.go 2021-06-05 21:56:06 -07:00
Jessica Sestak
6f09e4f51a Fixed print error messages and returning error from openInBrowser 2021-06-05 21:47:03 -07:00
Thanh D Tran
ed87cf71b7 Merge branch 'cli:trunk' into first-browse-pull 2021-06-05 20:43:39 -07:00
Benjamin Chadwick
e5bd9666ff
Fix white space 2021-06-05 20:20:57 -07:00
bchadwic
6fc36cf01f Fixed long message 2021-06-05 17:48:52 -07:00
bchadwic
e28000b5d2 Worked on help section 2021-06-05 17:46:07 -07:00
Bruno Alla
051520afe1 Add a long command description for secrets remove 2021-06-04 16:44:44 +01:00
Bruno Alla
4d46447eb3 Fix description for gh secret set --env option 2021-06-04 15:29:01 +01:00
Mislav Marohnić
ffebd23ba7
Merge pull request #3761 from cli/command-extensions
Experimental command extensions support
2021-06-03 19:13:38 +02:00
Mislav Marohnić
4bdddd72d3 Allow installing local extensions via symlinks
This also quits searching for local extensions in PATH.
2021-06-03 19:06:28 +02:00
Bruno Alla
4b79edf603 Add support for removing environment secrets 2021-06-03 08:51:39 +01:00
Benjamin Chadwick
95ceb85ee5
Delete helpful-resources.txt 2021-06-02 12:42:09 -07:00
Benjamin Chadwick
5aeca61fd0
Delete browse_test.go 2021-06-02 12:42:03 -07:00
Nate Smith
a1cedfcd5c
Merge pull request #3741 from jack1142/patch-1
Include issue number alongside the title in `gh issue/pr view`
2021-06-02 13:53:48 -05:00
Nate Smith
4d90005817
Merge pull request #3772 from astroparam/escape-metacharacters
escape metacharacters in job name
2021-06-02 13:50:58 -05:00
Nate Smith
71547f4560
Merge pull request #3769 from browniebroke/feat/set-env-secrets
Add support for setting environments secrets
2021-06-02 13:35:08 -05:00
vilmibm
0931531e2f collapse conditional 2021-06-02 13:27:19 -05:00
Param Patidar
20f915d5ba escape metacharacters in job name 2021-06-02 17:20:31 +00:00
Bruno Alla
32856c987d Add ability to set environments secrets 2021-06-02 15:56:33 +01:00
Sam Coe
389fdb7f99
Add XDG env variables to environment help topic 2021-06-02 09:56:22 -04:00
jack1142
6a74eb1262
Merge branch 'trunk' into patch-1 2021-06-02 11:10:25 +02:00
Mislav Marohnić
49609350af
Merge pull request #3737 from cli/requested-reviewers-slug
Fix how teams are displayed in requested reviewers
2021-06-02 08:48:11 +02:00
jack1142
184149b844
Add missing new line 2021-06-01 23:53:58 +02:00
Mislav Marohnić
fce93d6080 Experimental command extensions support
Extensions are looked up as `~/.config/gh/extensions/gh-*`.
Additionally, any executables found in PATH named `gh-*` are available
as `gh <command>`.
2021-06-01 17:15:20 +02:00
ravocean
6391bf5801 Starter code for testing 2021-05-31 16:39:10 -07:00
bchadwic
798e03cf15 working on testing browse.go 2021-05-31 15:21:15 -07:00