Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion commands/docs/abbr.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: abbr
categories: |
platform
version: 0.113.0
version: 0.114.0
platform: |
Abbreviations related commands.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/abbr_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: abbr list
categories: |
platform
version: 0.113.0
version: 0.114.0
platform: |
List all defined abbreviations.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: alias
categories: |
core
version: 0.113.0
version: 0.114.0
core: |
Alias a command (with optional flags) to a new name.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/all.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: all
categories: |
filters
version: 0.113.0
version: 0.114.0
filters: |
Test if every element of the input fulfills a predicate expression.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/ansi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: ansi
categories: |
platform
version: 0.113.0
version: 0.114.0
platform: |
Output ANSI codes to change color and style of text.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/ansi_gradient.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: ansi gradient
categories: |
platform
version: 0.113.0
version: 0.114.0
platform: |
Add a color gradient (using ANSI color codes) to the given string.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/ansi_link.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: ansi link
categories: |
platform
version: 0.113.0
version: 0.114.0
platform: |
Add a link (using OSC 8 escape sequence) to the given string.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/ansi_strip.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: ansi strip
categories: |
platform
version: 0.113.0
version: 0.114.0
platform: |
Strip ANSI escape sequences from a string.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/any.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: any
categories: |
filters
version: 0.113.0
version: 0.114.0
filters: |
Tests if any element of the input fulfills a predicate expression.
usage: |
Expand Down
31 changes: 16 additions & 15 deletions commands/docs/append.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: append
categories: |
filters
version: 0.113.0
version: 0.114.0
filters: |
Append any number of rows to a table.
usage: |
Expand All @@ -18,11 +18,12 @@ contributors: false

## Signature

```> append {flags} (row)```
```> append {flags} (row) ...rest```

## Parameters

- `row`: The row, list, or table to append.
- `...rest`: Additional values to append.


## Input/output types:
Expand Down Expand Up @@ -67,19 +68,6 @@ Append a list of string to a string.

```

Append three int items.
```nu
> [0 1] | append [2 3 4]
╭───┬───╮
│ 0 │ 0 │
│ 1 │ 1 │
│ 2 │ 2 │
│ 3 │ 3 │
│ 4 │ 4 │
╰───┴───╯

```

Append ints and strings.
```nu
> [0 1] | append [2 nu 4 shell]
Expand Down Expand Up @@ -107,6 +95,19 @@ Append a range of ints to a list.

```

Append multiple lists and values.
```nu
> [0] | append [1 2] [3] [] 4
╭───┬───╮
│ 0 │ 0 │
│ 1 │ 1 │
│ 2 │ 2 │
│ 3 │ 3 │
│ 4 │ 4 │
╰───┴───╯

```

## Notes
Be aware that this command 'unwraps' lists passed to it. So, if you pass a variable to it,
and you want the variable's contents to be appended without being unwrapped, it's wise to
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/ast.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: ast
categories: |
debug
version: 0.113.0
version: 0.114.0
debug: |
Print the abstract syntax tree (ast) for a pipeline.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/attr.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: attr
categories: |
core
version: 0.113.0
version: 0.114.0
core: |
Various attributes for custom commands.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/attr_category.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: attr category
categories: |
core
version: 0.113.0
version: 0.114.0
core: |
Attribute for adding a category to custom commands.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/attr_complete.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: attr complete
categories: |
core
version: 0.113.0
version: 0.114.0
core: |
Attribute for using another command as a completion source for all arguments.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/attr_complete_external.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: attr complete external
categories: |
core
version: 0.113.0
version: 0.114.0
core: |
Attribute for enabling use of the external completer for internal commands.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/attr_deprecated.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: attr deprecated
categories: |
core
version: 0.113.0
version: 0.114.0
core: |
Attribute for marking a command or flag as deprecated.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/attr_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: attr example
categories: |
core
version: 0.113.0
version: 0.114.0
core: |
Attribute for adding examples to custom commands.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/attr_search-terms.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: attr search-terms
categories: |
core
version: 0.113.0
version: 0.114.0
core: |
Attribute for adding search terms to custom commands.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/banner.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: banner
categories: |
default
version: 0.113.0
version: 0.114.0
default: |
Print a banner for Nushell with information about the project
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bits.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bits
categories: |
bits
version: 0.113.0
version: 0.114.0
bits: |
Various commands for working with bits.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bits_and.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bits and
categories: |
bits
version: 0.113.0
version: 0.114.0
bits: |
Performs bitwise and for ints or binary values.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bits_not.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bits not
categories: |
bits
version: 0.113.0
version: 0.114.0
bits: |
Performs logical negation on each bit.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bits_or.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bits or
categories: |
bits
version: 0.113.0
version: 0.114.0
bits: |
Performs bitwise or for ints or binary values.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bits_rol.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bits rol
categories: |
bits
version: 0.113.0
version: 0.114.0
bits: |
Bitwise rotate left for ints or binary values.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bits_ror.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bits ror
categories: |
bits
version: 0.113.0
version: 0.114.0
bits: |
Bitwise rotate right for ints or binary values.
usage: |
Expand Down
8 changes: 4 additions & 4 deletions commands/docs/bits_shl.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bits shl
categories: |
bits
version: 0.113.0
version: 0.114.0
bits: |
Bitwise shift left for ints or binary values.
usage: |
Expand All @@ -23,7 +23,7 @@ contributors: false
## Flags

- `--signed, -s`: Always treat input number as a signed number.
- `--number-bytes, -n {int}`: The word size in number of bytes. Must be `1`, `2`, `4`, or `8` (defaults to the smallest of those that fits the input number).
- `--number-bytes, -n {int}`: The word size in number of bytes. Must be `1`, `2`, `4`, or `8` (defaults to `8`).

## Parameters

Expand All @@ -43,7 +43,7 @@ contributors: false
Shift left a number by 7 bits
```nu
> 2 | bits shl 7
0
256
```

Shift left a number with 2 byte by 7 bits
Expand All @@ -54,7 +54,7 @@ Shift left a number with 2 byte by 7 bits

Shift left a signed number by 1 bit
```nu
> 0x7F | bits shl 1 --signed
> 0x7F | bits shl 1 --signed --number-bytes 1
-2
```

Expand Down
4 changes: 2 additions & 2 deletions commands/docs/bits_shr.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bits shr
categories: |
bits
version: 0.113.0
version: 0.114.0
bits: |
Bitwise shift right for ints or binary values.
usage: |
Expand All @@ -23,7 +23,7 @@ contributors: false
## Flags

- `--signed, -s`: Always treat input number as a signed number.
- `--number-bytes, -n {int}`: The word size in number of bytes. Must be `1`, `2`, `4`, or `8` (defaults to the smallest of those that fits the input number).
- `--number-bytes, -n {int}`: The word size in number of bytes. Must be `1`, `2`, `4`, or `8` (defaults to `8`).

## Parameters

Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bits_xor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bits xor
categories: |
bits
version: 0.113.0
version: 0.114.0
bits: |
Performs bitwise xor for ints or binary values.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/break.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: break
categories: |
core
version: 0.113.0
version: 0.114.0
core: |
Break a loop.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bytes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bytes
categories: |
bytes
version: 0.113.0
version: 0.114.0
bytes: |
Various commands for working with byte data.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bytes_add.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bytes add
categories: |
bytes
version: 0.113.0
version: 0.114.0
bytes: |
Add specified bytes to the binary input.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bytes_at.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bytes at
categories: |
bytes
version: 0.113.0
version: 0.114.0
bytes: |
Get bytes from the input defined by a range.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bytes_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bytes build
categories: |
bytes
version: 0.113.0
version: 0.114.0
bytes: |
Create a binary value from the provided arguments.
usage: |
Expand Down
2 changes: 1 addition & 1 deletion commands/docs/bytes_collect.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: bytes collect
categories: |
bytes
version: 0.113.0
version: 0.114.0
bytes: |
Concatenate multiple binary into a single binary, with an optional separator between each.
usage: |
Expand Down
Loading