Skip to content

Commit 3143342

Browse files
authored
Refresh command docs for v0.115 (#2224)
1 parent ef3df7f commit 3143342

717 files changed

Lines changed: 3408 additions & 1021 deletions

File tree

Some content is hidden

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

commands/docs/abbr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: abbr
33
categories: |
44
platform
5-
version: 0.114.0
5+
version: 0.115.0
66
platform: |
77
Abbreviations related commands.
88
usage: |

commands/docs/abbr_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: abbr list
33
categories: |
44
platform
5-
version: 0.114.0
5+
version: 0.115.0
66
platform: |
77
List all defined abbreviations.
88
usage: |

commands/docs/alias.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: alias
33
categories: |
44
core
5-
version: 0.114.0
5+
version: 0.115.0
66
core: |
77
Alias a command (with optional flags) to a new name.
88
usage: |

commands/docs/all.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: all
33
categories: |
44
filters
5-
version: 0.114.0
5+
version: 0.115.0
66
filters: |
77
Test if every element of the input fulfills a predicate expression.
88
usage: |
@@ -22,7 +22,7 @@ contributors: false
2222

2323
## Parameters
2424

25-
- `predicate`: A closure that must evaluate to a boolean.
25+
- `predicate`: Row condition or closure that evaluates to a boolean.
2626

2727

2828
## Input/output types:
@@ -46,7 +46,7 @@ true
4646

4747
Check that each item is a string.
4848
```nu
49-
> [foo bar 2 baz] | all {|| ($in | describe) == 'string' }
49+
> [foo bar 2 baz] | all ($it | describe) == 'string'
5050
false
5151
```
5252

commands/docs/ansi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ansi
33
categories: |
44
platform
5-
version: 0.114.0
5+
version: 0.115.0
66
platform: |
77
Output ANSI codes to change color and style of text.
88
usage: |

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.114.0
5+
version: 0.115.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.114.0
5+
version: 0.115.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.114.0
5+
version: 0.115.0
66
platform: |
77
Strip ANSI escape sequences from a string.
88
usage: |

commands/docs/any.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: any
33
categories: |
44
filters
5-
version: 0.114.0
5+
version: 0.115.0
66
filters: |
77
Tests if any element of the input fulfills a predicate expression.
88
usage: |
@@ -22,7 +22,7 @@ contributors: false
2222

2323
## Parameters
2424

25-
- `predicate`: A closure that must evaluate to a boolean.
25+
- `predicate`: Row condition or closure that evaluates to a boolean.
2626

2727

2828
## Input/output types:
@@ -40,7 +40,7 @@ true
4040

4141
Check if any row's status is the string 'DOWN'.
4242
```nu
43-
> [[status]; [UP] [DOWN] [UP]] | any {|el| $el.status == DOWN }
43+
> [[status]; [UP] [DOWN] [UP]] | any status == DOWN
4444
true
4545
```
4646

@@ -52,7 +52,7 @@ false
5252

5353
Check if any value is equal to twice its own index.
5454
```nu
55-
> [9 8 7 6] | enumerate | any {|i| $i.item == $i.index * 2 }
55+
> [9 8 7 6] | enumerate | any item == index * 2
5656
true
5757
```
5858

commands/docs/append.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: append
33
categories: |
44
filters
5-
version: 0.114.0
5+
version: 0.115.0
66
filters: |
77
Append any number of rows to a table.
88
usage: |

0 commit comments

Comments
 (0)