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

commands/docs/attr_example.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: attr example
33
categories: |
44
core
5-
version: 0.103.0
5+
version: 0.104.0
66
core: |
77
Attribute for adding examples to custom commands.
88
usage: |
@@ -35,7 +35,6 @@ contributors: false
3535
| input | output |
3636
| ------- | -------------------------------------------- |
3737
| nothing | record\<description: string, example: string\> |
38-
3938
## Examples
4039

4140
Add examples to custom command

commands/docs/attr_search-terms.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: attr search-terms
33
categories: |
44
core
5-
version: 0.103.0
5+
version: 0.104.0
66
core: |
77
Attribute for adding search terms 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 search terms to a custom command

commands/docs/banner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: banner
33
categories: |
44
default
5-
version: 0.103.0
5+
version: 0.104.0
66
default: |
77
Print a banner for Nushell with information about the project
88
usage: |
@@ -29,4 +29,4 @@ contributors: false
2929

3030
| input | output |
3131
| ----- | ------ |
32-
| any | any |
32+
| any | any |

commands/docs/bits.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bits
33
categories: |
44
bits
5-
version: 0.103.0
5+
version: 0.104.0
66
bits: |
77
Various commands for working with bits.
88
usage: |
@@ -26,7 +26,6 @@ contributors: false
2626
| input | output |
2727
| ------- | ------ |
2828
| nothing | string |
29-
3029
## Notes
3130
You must use one of the following subcommands. Using this command as-is will only produce this help message.
3231

commands/docs/bits_and.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bits and
33
categories: |
44
bits
5-
version: 0.103.0
5+
version: 0.104.0
66
bits: |
77
Performs bitwise and for ints or binary values.
88
usage: |

commands/docs/bits_not.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bits not
33
categories: |
44
bits
5-
version: 0.103.0
5+
version: 0.104.0
66
bits: |
77
Performs logical negation on each bit.
88
usage: |

commands/docs/bits_or.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bits or
33
categories: |
44
bits
5-
version: 0.103.0
5+
version: 0.104.0
66
bits: |
77
Performs bitwise or for ints or binary values.
88
usage: |

commands/docs/bits_rol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bits rol
33
categories: |
44
bits
5-
version: 0.103.0
5+
version: 0.104.0
66
bits: |
77
Bitwise rotate left for ints or binary values.
88
usage: |

commands/docs/bits_ror.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bits ror
33
categories: |
44
bits
5-
version: 0.103.0
5+
version: 0.104.0
66
bits: |
77
Bitwise rotate right for ints or binary values.
88
usage: |

commands/docs/bits_shl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bits shl
33
categories: |
44
bits
5-
version: 0.103.0
5+
version: 0.104.0
66
bits: |
77
Bitwise shift left for ints or binary values.
88
usage: |

commands/docs/bits_shr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bits shr
33
categories: |
44
bits
5-
version: 0.103.0
5+
version: 0.104.0
66
bits: |
77
Bitwise shift right for ints or binary values.
88
usage: |

commands/docs/bits_xor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bits xor
33
categories: |
44
bits
5-
version: 0.103.0
5+
version: 0.104.0
66
bits: |
77
Performs bitwise xor for ints or binary values.
88
usage: |

commands/docs/break.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: break
33
categories: |
44
core
5-
version: 0.103.0
5+
version: 0.104.0
66
core: |
77
Break a loop.
88
usage: |
@@ -26,7 +26,6 @@ contributors: false
2626
| input | output |
2727
| ------- | ------- |
2828
| nothing | nothing |
29-
3029
## Examples
3130

3231
Break out of a loop

commands/docs/bytes.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bytes
33
categories: |
44
bytes
5-
version: 0.103.0
5+
version: 0.104.0
66
bytes: |
77
Various commands for working with byte data.
88
usage: |
@@ -26,7 +26,6 @@ contributors: false
2626
| input | output |
2727
| ------- | ------ |
2828
| nothing | string |
29-
3029
## Notes
3130
You must use one of the following subcommands. Using this command as-is will only produce this help message.
3231

commands/docs/bytes_add.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bytes add
33
categories: |
44
bytes
5-
version: 0.103.0
5+
version: 0.104.0
66
bytes: |
77
Add specified bytes to the input.
88
usage: |

commands/docs/bytes_at.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bytes at
33
categories: |
44
bytes
5-
version: 0.103.0
5+
version: 0.104.0
66
bytes: |
77
Get bytes defined by a range.
88
usage: |

commands/docs/bytes_build.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bytes build
33
categories: |
44
bytes
5-
version: 0.103.0
5+
version: 0.104.0
66
bytes: |
77
Create bytes from the arguments.
88
usage: |
@@ -30,7 +30,6 @@ contributors: false
3030
| input | output |
3131
| ------- | ------ |
3232
| nothing | binary |
33-
3433
## Examples
3534

3635
Builds binary data from 0x[01 02], 0x[03], 0x[04]

commands/docs/bytes_collect.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bytes collect
33
categories: |
44
bytes
5-
version: 0.103.0
5+
version: 0.104.0
66
bytes: |
77
Concatenate multiple binary into a single binary, with an optional separator between each.
88
usage: |
@@ -30,7 +30,6 @@ contributors: false
3030
| input | output |
3131
| ------------ | ------ |
3232
| list\<binary\> | binary |
33-
3433
## Examples
3534

3635
Create a byte array from input

commands/docs/bytes_ends-with.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: bytes ends-with
33
categories: |
44
bytes
5-
version: 0.103.0
5+
version: 0.104.0
66
bytes: |
77
Check if bytes ends with a pattern.
88
usage: |

0 commit comments

Comments
 (0)