Skip to content

Commit ef25a57

Browse files
committed
Refresh Nu command docs for v0.104
1 parent ff37e81 commit ef25a57

File tree

586 files changed

+2264
-1260
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

586 files changed

+2264
-1260
lines changed

commands/docs/alias.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: alias
33
categories: |
44
core
5-
version: 0.103.0
5+
version: 0.104.0
66
core: |
77
Alias a command (with optional flags) to a new name.
88
usage: |
@@ -31,7 +31,6 @@ contributors: false
3131
| input | output |
3232
| ------- | ------- |
3333
| nothing | nothing |
34-
3534
## Examples
3635

3736
Alias ll to ls -l

commands/docs/all.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: all
33
categories: |
44
filters
5-
version: 0.103.0
5+
version: 0.104.0
66
filters: |
77
Test if every element of the input fulfills a predicate expression.
88
usage: |
@@ -30,9 +30,14 @@ contributors: false
3030
| input | output |
3131
| --------- | ------ |
3232
| list\<any\> | bool |
33-
3433
## Examples
3534

35+
Check if a list contains only true values
36+
```nu
37+
> [false true true false] | all {}
38+
false
39+
```
40+
3641
Check if each row's status is the string 'UP'
3742
```nu
3843
> [[status]; [UP] [UP]] | all {|el| $el.status == UP }

commands/docs/ansi.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ansi
33
categories: |
44
platform
5-
version: 0.103.0
5+
version: 0.104.0
66
platform: |
77
Output ANSI codes to change color and style of text.
88
usage: |
@@ -36,7 +36,6 @@ contributors: false
3636
| input | output |
3737
| ------- | ------ |
3838
| nothing | any |
39-
4039
## Examples
4140

4241
Change color to green (see how the next example text will be green!)

commands/docs/ansi_gradient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ansi gradient
33
categories: |
44
platform
5-
version: 0.103.0
5+
version: 0.104.0
66
platform: |
77
Add a color gradient (using ANSI color codes) to the given string.
88
usage: |

commands/docs/ansi_link.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ansi link
33
categories: |
44
platform
5-
version: 0.103.0
5+
version: 0.104.0
66
platform: |
77
Add a link (using OSC 8 escape sequence) to the given string.
88
usage: |

commands/docs/ansi_strip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ansi strip
33
categories: |
44
platform
5-
version: 0.103.0
5+
version: 0.104.0
66
platform: |
77
Strip ANSI escape sequences from a string.
88
usage: |

commands/docs/any.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: any
33
categories: |
44
filters
5-
version: 0.103.0
5+
version: 0.104.0
66
filters: |
77
Tests if any element of the input fulfills a predicate expression.
88
usage: |
@@ -30,9 +30,14 @@ contributors: false
3030
| input | output |
3131
| --------- | ------ |
3232
| list\<any\> | bool |
33-
3433
## Examples
3534

35+
Check if a list contains any true values
36+
```nu
37+
> [false true true false] | any {}
38+
true
39+
```
40+
3641
Check if any row's status is the string 'DOWN'
3742
```nu
3843
> [[status]; [UP] [DOWN] [UP]] | any {|el| $el.status == DOWN }

commands/docs/append.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: append
33
categories: |
44
filters
5-
version: 0.103.0
5+
version: 0.104.0
66
filters: |
77
Append any number of rows to a table.
88
usage: |
@@ -30,7 +30,6 @@ contributors: false
3030
| input | output |
3131
| ----- | --------- |
3232
| any | list\<any\> |
33-
3433
## Examples
3534

3635
Append one int to a list

commands/docs/ast.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ast
33
categories: |
44
debug
5-
version: 0.103.0
5+
version: 0.104.0
66
debug: |
77
Print the abstract syntax tree (ast) for a pipeline.
88
usage: |
@@ -36,7 +36,6 @@ contributors: false
3636
| input | output |
3737
| ------- | ------ |
3838
| nothing | table |
39-
4039
## Examples
4140

4241
Print the ast of a string

commands/docs/attr_category.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: attr category
33
categories: |
44
core
5-
version: 0.103.0
5+
version: 0.104.0
66
core: |
77
Attribute for adding a category to custom commands.
88
usage: |
@@ -30,7 +30,6 @@ contributors: false
3030
| input | output |
3131
| ------- | ------------ |
3232
| nothing | list\<string\> |
33-
3433
## Examples
3534

3635
Add a category to a custom command

0 commit comments

Comments
 (0)