Skip to content

Commit ed670bd

Browse files
authored
Refresh command docs for v0.114 (#2190)
1 parent f3a2760 commit ed670bd

694 files changed

Lines changed: 3381 additions & 1066 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.113.0
5+
version: 0.114.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.113.0
5+
version: 0.114.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.113.0
5+
version: 0.114.0
66
core: |
77
Alias a command (with optional flags) to a new name.
88
usage: |

commands/docs/all.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: all
33
categories: |
44
filters
5-
version: 0.113.0
5+
version: 0.114.0
66
filters: |
77
Test if every element of the input fulfills a predicate expression.
88
usage: |

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

commands/docs/any.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: any
33
categories: |
44
filters
5-
version: 0.113.0
5+
version: 0.114.0
66
filters: |
77
Tests if any element of the input fulfills a predicate expression.
88
usage: |

commands/docs/append.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: append
33
categories: |
44
filters
5-
version: 0.113.0
5+
version: 0.114.0
66
filters: |
77
Append any number of rows to a table.
88
usage: |
@@ -18,11 +18,12 @@ contributors: false
1818

1919
## Signature
2020

21-
```> append {flags} (row)```
21+
```> append {flags} (row) ...rest```
2222

2323
## Parameters
2424

2525
- `row`: The row, list, or table to append.
26+
- `...rest`: Additional values to append.
2627

2728

2829
## Input/output types:
@@ -67,19 +68,6 @@ Append a list of string to a string.
6768
6869
```
6970

70-
Append three int items.
71-
```nu
72-
> [0 1] | append [2 3 4]
73-
╭───┬───╮
74-
│ 0 │ 0 │
75-
│ 1 │ 1 │
76-
│ 2 │ 2 │
77-
│ 3 │ 3 │
78-
│ 4 │ 4 │
79-
╰───┴───╯
80-
81-
```
82-
8371
Append ints and strings.
8472
```nu
8573
> [0 1] | append [2 nu 4 shell]
@@ -107,6 +95,19 @@ Append a range of ints to a list.
10795
10896
```
10997

98+
Append multiple lists and values.
99+
```nu
100+
> [0] | append [1 2] [3] [] 4
101+
╭───┬───╮
102+
│ 0 │ 0 │
103+
│ 1 │ 1 │
104+
│ 2 │ 2 │
105+
│ 3 │ 3 │
106+
│ 4 │ 4 │
107+
╰───┴───╯
108+
109+
```
110+
110111
## Notes
111112
Be aware that this command 'unwraps' lists passed to it. So, if you pass a variable to it,
112113
and you want the variable's contents to be appended without being unwrapped, it's wise to

0 commit comments

Comments
 (0)