22def "nu-complete gh" [] {
33 ^ gh -- help
44 | lines
5- | filter { str starts-with " " }
5+ | where { str starts-with " " }
66 | skip 1
77 | parse " {value}: {description}"
88 | str trim
@@ -16,7 +16,7 @@ export extern "gh" [
1616def "nu-complete gh auth" [] {
1717 ^ gh auth -- help
1818 | lines
19- | filter { str starts-with " " }
19+ | where { str starts-with " " }
2020 | skip 1
2121 | parse " {value}: {description}"
2222 | str trim
@@ -43,7 +43,7 @@ export extern "gh browse" [
4343def "nu-complete gh codespace" [] {
4444 ^ gh codespace -- help
4545 | lines
46- | filter { str starts-with " " }
46+ | where { str starts-with " " }
4747 | skip 1
4848 | parse " {value}: {description}"
4949 | str trim
@@ -57,7 +57,7 @@ export extern "gh codespace" [
5757def "nu-complete gh gist" [] {
5858 ^ gh gist -- help
5959 | lines
60- | filter { str starts-with " " }
60+ | where { str starts-with " " }
6161 | skip 1
6262 | parse " {value}: {description}"
6363 | str trim
@@ -129,7 +129,7 @@ export extern "gh gist view" [
129129def "nu-complete gh issue" [] {
130130 ^ gh issue -- help
131131 | lines
132- | filter { str starts-with " " }
132+ | where { str starts-with " " }
133133 | skip 1
134134 | parse " {value}: {description}"
135135 | str trim
@@ -144,7 +144,7 @@ export extern "gh issue" [
144144def "nu-complete gh org" [] {
145145 ^ gh org -- help
146146 | lines
147- | filter { str starts-with " " }
147+ | where { str starts-with " " }
148148 | skip 1
149149 | parse " {value}: {description}"
150150 | str trim
@@ -156,7 +156,7 @@ export extern "gh org" [
156156]
157157
158158def "nu-complete gh pr" [] {
159- ^ gh pr -- help | lines | filter { str starts-with " " } | skip 1 | parse " {value}: {description}" | str trim
159+ ^ gh pr -- help | lines | where { str starts-with " " } | skip 1 | parse " {value}: {description}" | str trim
160160}
161161
162162export extern "gh pr" [
@@ -182,7 +182,7 @@ export extern "gh pr checkout" [
182182def "nu-complete gh project" [] {
183183 ^ gh project -- help
184184 | lines
185- | filter { str starts-with " " }
185+ | where { str starts-with " " }
186186 | skip 1
187187 | parse " {value}: {description}"
188188 | str trim
@@ -196,7 +196,7 @@ export extern "gh project" [
196196def "nu-complete gh release" [] {
197197 ^ gh release -- help
198198 | lines
199- | filter { str starts-with " " }
199+ | where { str starts-with " " }
200200 | skip 1
201201 | parse " {value}: {description}"
202202 | str trim
@@ -211,7 +211,7 @@ export extern "gh release" [
211211def "nu-complete gh repo" [] {
212212 ^ gh repo -- help
213213 | lines
214- | filter { str starts-with " " }
214+ | where { str starts-with " " }
215215 | skip 1
216216 | parse " {value}: {description}"
217217 | str trim
@@ -310,7 +310,7 @@ export extern "gh repo fork" [
310310def "nu-complete gh cache" [] {
311311 ^ gh cache -- help
312312 | lines
313- | filter { str starts-with " " }
313+ | where { str starts-with " " }
314314 | skip 1
315315 | parse " {value}: {description}"
316316 | str trim
@@ -325,7 +325,7 @@ export extern "gh cache" [
325325def "nu-complete gh run" [] {
326326 ^ gh run -- help
327327 | lines
328- | filter { str starts-with " " }
328+ | where { str starts-with " " }
329329 | skip 1
330330 | parse " {value}: {description}"
331331 | str trim
@@ -339,7 +339,7 @@ export extern "gh run" [
339339def "nu-complete gh workflow" [] {
340340 ^ gh workflow -- help
341341 | lines
342- | filter { str starts-with " " }
342+ | where { str starts-with " " }
343343 | skip 1
344344 | parse " {value}: {description}"
345345 | str trim
@@ -354,7 +354,7 @@ export extern "gh workflow" [
354354def "nu-complete gh alias" [] {
355355 ^ gh alias -- help
356356 | lines
357- | filter { str starts-with " " }
357+ | where { str starts-with " " }
358358 | skip 1
359359 | parse " {value}: {description}"
360360 | str trim
@@ -403,7 +403,7 @@ export extern "gh completion" [
403403def "nu-complete gh config" [] {
404404 ^ gh config -- help
405405 | lines
406- | filter { str starts-with " " }
406+ | where { str starts-with " " }
407407 | skip 1
408408 | parse " {value}: {description}"
409409 | str trim
@@ -417,7 +417,7 @@ export extern "gh config" [
417417def "nu-complete gh extension" [] {
418418 ^ gh extension -- help
419419 | lines
420- | filter { str starts-with " " }
420+ | where { str starts-with " " }
421421 | skip 1
422422 | parse " {value}: {description}"
423423 | str trim
@@ -431,7 +431,7 @@ export extern "gh extension" [
431431def "nu-complete gh gpg-key" [] {
432432 ^ gh gpg-key -- help
433433 | lines
434- | filter { str starts-with " " }
434+ | where { str starts-with " " }
435435 | skip 1
436436 | parse " {value}: {description}"
437437 | str trim
@@ -445,7 +445,7 @@ export extern "gh gpg-key" [
445445def "nu-complete gh label" [] {
446446 ^ gh label -- help
447447 | lines
448- | filter { str starts-with " " }
448+ | where { str starts-with " " }
449449 | skip 1
450450 | parse " {value}: {description}"
451451 | str trim
@@ -460,7 +460,7 @@ export extern "gh label" [
460460def "nu-complete gh ruleset" [] {
461461 ^ gh ruleset -- help
462462 | lines
463- | filter { str starts-with " " }
463+ | where { str starts-with " " }
464464 | skip 1
465465 | parse " {value}: {description}"
466466 | str trim
@@ -475,7 +475,7 @@ export extern "gh ruleset" [
475475def "nu-complete gh search" [] {
476476 ^ gh search -- help
477477 | lines
478- | filter { str starts-with " " }
478+ | where { str starts-with " " }
479479 | skip 1
480480 | parse " {value}: {description}"
481481 | str trim
@@ -501,7 +501,7 @@ export extern "gh search" [
501501def "nu-complete gh secret" [] {
502502 ^ gh secret -- help
503503 | lines
504- | filter { str starts-with " " }
504+ | where { str starts-with " " }
505505 | skip 1
506506 | parse " {value}: {description}"
507507 | str trim
@@ -516,7 +516,7 @@ export extern "gh secret" [
516516def "nu-complete gh ssh-key" [] {
517517 ^ gh ssh-key -- help
518518 | lines
519- | filter { str starts-with " " }
519+ | where { str starts-with " " }
520520 | skip 1
521521 | parse " {value}: {description}"
522522 | str trim
@@ -536,7 +536,7 @@ export extern "gh status" [
536536def "nu-complete gh variable" [] {
537537 ^ gh variable -- help
538538 | lines
539- | filter { str starts-with " " }
539+ | where { str starts-with " " }
540540 | skip 1
541541 | parse " {value}: {description}"
542542 | str trim
0 commit comments