Sam Coe
9be9dc22e9
Fix error handling for extension and shell alias commands ( #7567 )
2023-06-20 08:41:02 +09:00
guangwu
8587851202
chore: pkg imported more than once ( #7591 )
2023-06-19 01:55:27 +00:00
Mislav Marohnić
beb6234f96
Speed up listing extensions by lazy-loading extension information when needed ( #7493 )
2023-06-14 09:33:18 +09:00
Nate Smith
84940e6d6d
Merge pull request #7576 from cli/dependabot/go_modules/github.com/AlecAivazis/survey/v2-2.3.7
...
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7
2023-06-13 10:18:10 -07:00
dependabot[bot]
e9a80652d5
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7
...
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey ) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/AlecAivazis/survey/releases )
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.3.6...v2.3.7 )
---
updated-dependencies:
- dependency-name: github.com/AlecAivazis/survey/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 14:58:17 +00:00
Sam Coe
fac497108b
Set upstream remote to track all branches after initial fetch ( #7542 )
2023-06-12 09:23:56 +09:00
Mislav Marohnić
63a4319f6c
api: output a single JSON array in REST pagination mode ( #7190 )
...
When fetching N pages, avoid printing N separate JSON arrays to the output stream. Instead, massage the output so that the N pages of data are merged into a single JSON array. This is achieved by omitting the final `]` for the first page, and omitting the initial `[` for all subsequent pages.
2023-06-09 20:55:06 +02:00
Ariel Deitcher
ad4a489f8d
Introduce gh project commands ( #7375 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-06-09 16:57:01 +00:00
Mislav Marohnić
a81d01432e
Merge pull request #7376 from joshkraft/gh-search-code
...
Create `gh search code` command
2023-06-09 18:19:03 +02:00
Mislav Marohnić
cb93db2b22
fix tests
2023-06-09 17:56:51 +02:00
Mislav Marohnić
3a33b6e5a5
fix test
2023-06-09 17:46:13 +02:00
Mislav Marohnić
94a6312eaf
💅 json export
2023-06-09 17:36:19 +02:00
William Martin
04f6cf56ac
Merge pull request #7557 from lerocknrolla/patch-1
...
fixed a typo
2023-06-09 13:53:44 +02:00
lerocknrolla
a0843e5d84
fixed a type
...
"affect" should have been "effect"
2023-06-09 12:31:56 +01:00
Mislav Marohnić
490a821da4
Merge pull request #7546 from cli/dependabot/go_modules/github.com/cli/go-gh/v2-2.0.1
...
build(deps): bump github.com/cli/go-gh/v2 from 2.0.0 to 2.0.1
2023-06-08 11:14:26 +02:00
William Martin
c77d111350
Merge pull request #7544 from cli/wm/update-site-deploy-secret-name
...
Credential rotations, renames and decouplings from Mislav
2023-06-08 08:49:35 +02:00
David Gardiner
a03a2e1e3a
Merge pull request #7539 from dmgardiner25/view-cmd-updates
...
Update `gh cs view` command
2023-06-07 13:33:38 -05:00
David Gardiner
acf7dadaeb
Codespaces view command updates
2023-06-07 11:04:17 -07:00
dependabot[bot]
86e4281fc7
build(deps): bump github.com/cli/go-gh/v2 from 2.0.0 to 2.0.1
...
Bumps [github.com/cli/go-gh/v2](https://github.com/cli/go-gh ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/cli/go-gh/releases )
- [Commits](https://github.com/cli/go-gh/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: github.com/cli/go-gh/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 14:58:43 +00:00
Mislav Marohnić
2f4047d5b7
Merge pull request #7525 from cli/bash-completion-fix
...
Fix bash completions for extensions and aliases
2023-06-07 16:12:16 +02:00
William Martin
bd46f923bd
Use homebrew fork in cli org and update token
2023-06-07 13:29:25 +02:00
William Martin
ca02aec13b
Change site deployment ssh key to PAT
2023-06-07 12:58:02 +02:00
Mislav Marohnić
46797e20e5
Merge remote-tracking branch 'origin' into gh-search-code
2023-06-07 11:40:45 +02:00
Nate Smith
8b48fbc892
Merge pull request #7537 from kousikmitra/feature/edit-gist-selector
...
Feature: Add gist selector option in gist edit command
2023-06-06 15:39:35 -07:00
Kousik Mitra
895487127c
Remove unused linter flag
2023-06-05 22:54:35 +05:30
Kousik Mitra
31209bcf89
Replace SurveyAskOne with Prompter
2023-06-05 22:48:21 +05:30
Kousik Mitra
9ccd098eb0
Add gist selector option to gist edit command
2023-06-05 22:07:04 +05:30
William Martin
420f63c3ec
Merge pull request #7526 from cli/wm/zip-log-slashes
...
Support viewing logs for jobs with composite actions
2023-06-05 16:32:44 +02:00
William Martin
3859dfaa03
Improve docs around run rerun job flag ( #7527 )
2023-06-05 16:02:27 +02:00
William Martin
2d3047c7e3
Support viewing logs for jobs with composite actions
2023-06-02 13:40:53 +02:00
Mislav Marohnić
e3569dc7bd
Fix bash completions for extensions and aliases
...
Now that extensions and alises are real Cobra Command instances, they will appear in
completions automatically and don't need to be additionally inserted via ValidArgs.
Their addition to ValidArgs have caused all extensions and aliases to be listed twice
within completion results, which didn't seem to affect zsh completions at all, but in
bash completions it had caused the completion description to be a part of the expansion.
2023-06-02 13:31:02 +02:00
srz_zumix
dfb6d9d5bb
fix: Allow aliases to recognize extended commands ( #7523 )
2023-06-02 08:20:11 +09:00
ffalor
e4e7bf5c8c
force method to uppercase ( #7514 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-06-01 13:54:56 +00:00
Mislav Marohnić
7a814b31c2
api: support array params in GET queries ( #7513 )
2023-05-31 20:23:31 +02:00
Mislav Marohnić
d66c4c573c
Merge pull request #7515 from cli/fix-flake
...
Fix flaky test
2023-05-31 10:53:31 +02:00
Sam Coe
e9a0b393c9
Fix flaky test
2023-05-31 11:04:06 +09:00
David Gardiner
06e40dfddb
Merge pull request #7496 from dmgardiner25/add-view-cmd
...
Add `gh cs view` command
2023-05-30 14:37:34 -07:00
David Gardiner
290b802bf7
Remove unused type
2023-05-30 14:22:12 -07:00
David Gardiner
15e1fa510d
Add test
2023-05-30 14:19:15 -07:00
David Gardiner
82650b364b
Fix linting error
2023-05-30 12:53:46 -07:00
David Gardiner
5b83d55186
Don't display retention period if 0 days
2023-05-30 12:45:53 -07:00
David Gardiner
3c05c99c83
Address comments
2023-05-30 12:20:23 -07:00
Mislav Marohnić
570a7202c3
Merge pull request #7510 from cli/dependabot/go_modules/github.com/stretchr/testify-1.8.4
...
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4
2023-05-30 17:07:20 +02:00
Mislav Marohnić
f072db4319
Merge pull request #7492 from benjlevesque/fix/apply-latin-matching-filter-to-more-fields
...
fix: apply latin matching filter to more fields
2023-05-30 17:03:57 +02:00
dependabot[bot]
f6bb2e83ef
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 14:58:16 +00:00
Sam Coe
1c3c402377
Do not generate docs for aliases ( #7497 )
2023-05-28 00:27:31 +00:00
David Gardiner
f6a5398bf9
Update fields to show
2023-05-26 22:59:28 +00:00
David Gardiner
99cd0af8b4
Check if running in a codespace
2023-05-26 15:41:34 -07:00
David Gardiner
54560c19dd
Add gh cs view command
2023-05-26 09:54:58 -07:00
Mislav Marohnić
8741b648a6
Speed up gh start up time ( #7487 )
...
The tcell library has an `init()` block where it performs some very expensive
indexing that takes 30-40 ms on my machine. This results in fixed overhead for
every gh invocation, even for commands that don't use tcell at all.
This sets an environment variable that instructs tcell to avoid doing that.
2023-05-26 16:38:13 +02:00