diff --git a/commands/docs/alias.md b/commands/docs/alias.md index 269ed3fed22..129dcd07912 100644 --- a/commands/docs/alias.md +++ b/commands/docs/alias.md @@ -2,7 +2,7 @@ title: alias categories: | core -version: 0.105.0 +version: 0.106.0 core: | Alias a command (with optional flags) to a new name. usage: | diff --git a/commands/docs/all.md b/commands/docs/all.md index 8af9239d7e2..05a34be5432 100644 --- a/commands/docs/all.md +++ b/commands/docs/all.md @@ -2,7 +2,7 @@ title: all categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Test if every element of the input fulfills a predicate expression. usage: | diff --git a/commands/docs/ansi.md b/commands/docs/ansi.md index a10c53253c5..5a1003ceb74 100644 --- a/commands/docs/ansi.md +++ b/commands/docs/ansi.md @@ -2,7 +2,7 @@ title: ansi categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Output ANSI codes to change color and style of text. usage: | @@ -44,7 +44,7 @@ Change color to green (see how the next example text will be green!) ``` -Reset the color +Reset all styles and colors ```nu > ansi reset @@ -58,16 +58,28 @@ Hello Nu World The same example as above with short names ```nu -> $'(ansi rb)Hello(ansi reset) (ansi gd)Nu(ansi reset) (ansi pi)World(ansi reset)' +> $'(ansi rb)Hello(ansi rst) (ansi gd)Nu(ansi rst) (ansi pi)World(ansi rst)' Hello Nu World ``` +Avoid resetting color when setting/resetting different style codes +```nu +> $'Set color to (ansi g)GREEN then style to (ansi bo)BOLD(ansi rst_bo) or (ansi d)DIMMED(ansi rst_d) or (ansi i)ITALICS(ansi rst_i) or (ansi u)UNDERLINE(ansi rst_u) or (ansi re)REVERSE(ansi rst_re) or (ansi h)HIDDEN(ansi rst_h) or (ansi s)STRIKE(ansi rst_s) then (ansi rst)reset everything' +Set color to GREEN then style to BOLD or DIMMED or ITALICS or UNDERLINE or REVERSE or HIDDEN or STRIKE then reset everything +``` + Use escape codes, without the '\x1b[' ```nu > $"(ansi --escape '3;93;41m')Hello(ansi reset)" # italic bright yellow on red background Hello ``` +Use simple hex string +```nu +> $"(ansi '#4169E1')Hello(ansi reset)" # royal blue foreground color +Hello +``` + Use structured escape codes ```nu > let bold_blue_on_red = { # `fg`, `bg`, `attr` are the acceptable keys, all other keys are considered invalid and will throw errors. @@ -110,21 +122,30 @@ Escape sequences usual values: │ 17 │ background │ 49 │ │ default │ ╰────┴────────────┴────────┴────────┴─────────╯ -Escape sequences attributes: -╭───┬────┬──────────────┬──────────────────────────────╮ -│ # │ id │ abbreviation │ description │ -├───┼────┼──────────────┼──────────────────────────────┤ -│ 0 │ 0 │ │ reset / normal display │ -│ 1 │ 1 │ b │ bold or increased intensity │ -│ 2 │ 2 │ d │ faint or decreased intensity │ -│ 3 │ 3 │ i │ italic on (non-mono font) │ -│ 4 │ 4 │ u │ underline on │ -│ 5 │ 5 │ l │ slow blink on │ -│ 6 │ 6 │ │ fast blink on │ -│ 7 │ 7 │ r │ reverse video on │ -│ 8 │ 8 │ h │ nondisplayed (invisible) on │ -│ 9 │ 9 │ s │ strike-through on │ -╰───┴────┴──────────────┴──────────────────────────────╯ +Escape sequences style attributes: +╭────┬────┬──────────────┬─────────────────────────────────────────╮ +│ # │ id │ abbreviation │ description │ +├────┼────┼──────────────┼─────────────────────────────────────────┤ +│ 0 │ 0 │ rst │ reset / normal display │ +│ 1 │ 1 │ bo │ bold on │ +│ 2 │ 2 │ d │ dimmed on │ +│ 3 │ 3 │ i │ italic on (non-mono font) │ +│ 4 │ 4 │ u │ underline on │ +│ 5 │ 5 │ bl │ blink on │ +│ 6 │ 6 │ bf │ fast blink on │ +│ 7 │ 7 │ r │ reverse video on │ +│ 8 │ 8 │ h │ hidden (invisible) on │ +│ 9 │ 9 │ s │ strike-through on │ +│ 10 │ 21 │ rst_bo │ bold or dimmed off │ +│ 11 │ 22 │ du │ double underline (not widely supported) │ +│ 12 │ 23 │ rst_i │ italic off (non-mono font) │ +│ 13 │ 24 │ rst_u │ underline off │ +│ 14 │ 25 │ rst_bl │ blink off │ +│ 15 │ 26 │ │ │ +│ 16 │ 27 │ rst_r │ reverse video off │ +│ 17 │ 28 │ rst_h │ hidden (invisible) off │ +│ 18 │ 29 │ rst_s │ strike-through off │ +╰────┴────┴──────────────┴─────────────────────────────────────────╯ Operating system commands: ╭───┬─────┬───────────────────────────────────────╮ diff --git a/commands/docs/ansi_gradient.md b/commands/docs/ansi_gradient.md index 43b9ce3e700..49a203d4656 100644 --- a/commands/docs/ansi_gradient.md +++ b/commands/docs/ansi_gradient.md @@ -2,7 +2,7 @@ title: ansi gradient categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Add a color gradient (using ANSI color codes) to the given string. usage: | diff --git a/commands/docs/ansi_link.md b/commands/docs/ansi_link.md index 988e63e16e4..52d00de5c5e 100644 --- a/commands/docs/ansi_link.md +++ b/commands/docs/ansi_link.md @@ -2,7 +2,7 @@ title: ansi link categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Add a link (using OSC 8 escape sequence) to the given string. usage: | diff --git a/commands/docs/ansi_strip.md b/commands/docs/ansi_strip.md index 55642124061..8d019e519db 100644 --- a/commands/docs/ansi_strip.md +++ b/commands/docs/ansi_strip.md @@ -2,7 +2,7 @@ title: ansi strip categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Strip ANSI escape sequences from a string. usage: | diff --git a/commands/docs/any.md b/commands/docs/any.md index ed20073f18d..58e1b4c3969 100644 --- a/commands/docs/any.md +++ b/commands/docs/any.md @@ -2,7 +2,7 @@ title: any categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Tests if any element of the input fulfills a predicate expression. usage: | diff --git a/commands/docs/append.md b/commands/docs/append.md index 23b039c0f42..57fb8c0d64d 100644 --- a/commands/docs/append.md +++ b/commands/docs/append.md @@ -2,7 +2,7 @@ title: append categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Append any number of rows to a table. usage: | diff --git a/commands/docs/ast.md b/commands/docs/ast.md index 8c8dd00b3aa..34a8325a5cc 100644 --- a/commands/docs/ast.md +++ b/commands/docs/ast.md @@ -2,7 +2,7 @@ title: ast categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Print the abstract syntax tree (ast) for a pipeline. usage: | diff --git a/commands/docs/attr_category.md b/commands/docs/attr_category.md index e75a2734a48..5b55641f4c8 100644 --- a/commands/docs/attr_category.md +++ b/commands/docs/attr_category.md @@ -2,7 +2,7 @@ title: attr category categories: | core -version: 0.105.0 +version: 0.106.0 core: | Attribute for adding a category to custom commands. usage: | diff --git a/commands/docs/attr_deprecated.md b/commands/docs/attr_deprecated.md index 8426fcc37e4..8e3690d3fc4 100644 --- a/commands/docs/attr_deprecated.md +++ b/commands/docs/attr_deprecated.md @@ -2,7 +2,7 @@ title: attr deprecated categories: | core -version: 0.105.0 +version: 0.106.0 core: | Attribute for marking a command or flag as deprecated. usage: | diff --git a/commands/docs/attr_example.md b/commands/docs/attr_example.md index 0f9de6fbbd6..c168257e78e 100644 --- a/commands/docs/attr_example.md +++ b/commands/docs/attr_example.md @@ -2,7 +2,7 @@ title: attr example categories: | core -version: 0.105.0 +version: 0.106.0 core: | Attribute for adding examples to custom commands. usage: | diff --git a/commands/docs/attr_search-terms.md b/commands/docs/attr_search-terms.md index 26ed119a0e1..9911726f453 100644 --- a/commands/docs/attr_search-terms.md +++ b/commands/docs/attr_search-terms.md @@ -2,7 +2,7 @@ title: attr search-terms categories: | core -version: 0.105.0 +version: 0.106.0 core: | Attribute for adding search terms to custom commands. usage: | diff --git a/commands/docs/banner.md b/commands/docs/banner.md index d56b15ccff5..9da356224fe 100644 --- a/commands/docs/banner.md +++ b/commands/docs/banner.md @@ -2,7 +2,7 @@ title: banner categories: | default -version: 0.105.0 +version: 0.106.0 default: | Print a banner for Nushell with information about the project usage: | diff --git a/commands/docs/bits.md b/commands/docs/bits.md index ed94971ad60..dfe3cb713ab 100644 --- a/commands/docs/bits.md +++ b/commands/docs/bits.md @@ -2,7 +2,7 @@ title: bits categories: | bits -version: 0.105.0 +version: 0.106.0 bits: | Various commands for working with bits. usage: | diff --git a/commands/docs/bits_and.md b/commands/docs/bits_and.md index 0b66ad458a1..8a31b7f09cb 100644 --- a/commands/docs/bits_and.md +++ b/commands/docs/bits_and.md @@ -2,7 +2,7 @@ title: bits and categories: | bits -version: 0.105.0 +version: 0.106.0 bits: | Performs bitwise and for ints or binary values. usage: | diff --git a/commands/docs/bits_not.md b/commands/docs/bits_not.md index 2d9cb47e2cc..e98814e9c5d 100644 --- a/commands/docs/bits_not.md +++ b/commands/docs/bits_not.md @@ -2,7 +2,7 @@ title: bits not categories: | bits -version: 0.105.0 +version: 0.106.0 bits: | Performs logical negation on each bit. usage: | diff --git a/commands/docs/bits_or.md b/commands/docs/bits_or.md index 13a6c04665d..530ad8117e8 100644 --- a/commands/docs/bits_or.md +++ b/commands/docs/bits_or.md @@ -2,7 +2,7 @@ title: bits or categories: | bits -version: 0.105.0 +version: 0.106.0 bits: | Performs bitwise or for ints or binary values. usage: | diff --git a/commands/docs/bits_rol.md b/commands/docs/bits_rol.md index 5253498e0dc..9bdfba204f0 100644 --- a/commands/docs/bits_rol.md +++ b/commands/docs/bits_rol.md @@ -2,7 +2,7 @@ title: bits rol categories: | bits -version: 0.105.0 +version: 0.106.0 bits: | Bitwise rotate left for ints or binary values. usage: | diff --git a/commands/docs/bits_ror.md b/commands/docs/bits_ror.md index f3273c64ce5..611f3a8b413 100644 --- a/commands/docs/bits_ror.md +++ b/commands/docs/bits_ror.md @@ -2,7 +2,7 @@ title: bits ror categories: | bits -version: 0.105.0 +version: 0.106.0 bits: | Bitwise rotate right for ints or binary values. usage: | diff --git a/commands/docs/bits_shl.md b/commands/docs/bits_shl.md index 740377cf3e5..fafacc2f4f0 100644 --- a/commands/docs/bits_shl.md +++ b/commands/docs/bits_shl.md @@ -2,7 +2,7 @@ title: bits shl categories: | bits -version: 0.105.0 +version: 0.106.0 bits: | Bitwise shift left for ints or binary values. usage: | diff --git a/commands/docs/bits_shr.md b/commands/docs/bits_shr.md index 82117335333..a09a1961dfa 100644 --- a/commands/docs/bits_shr.md +++ b/commands/docs/bits_shr.md @@ -2,7 +2,7 @@ title: bits shr categories: | bits -version: 0.105.0 +version: 0.106.0 bits: | Bitwise shift right for ints or binary values. usage: | diff --git a/commands/docs/bits_xor.md b/commands/docs/bits_xor.md index f21335416b1..3b87f40c898 100644 --- a/commands/docs/bits_xor.md +++ b/commands/docs/bits_xor.md @@ -2,7 +2,7 @@ title: bits xor categories: | bits -version: 0.105.0 +version: 0.106.0 bits: | Performs bitwise xor for ints or binary values. usage: | diff --git a/commands/docs/break.md b/commands/docs/break.md index 5e8e881dc9e..24b526f97c8 100644 --- a/commands/docs/break.md +++ b/commands/docs/break.md @@ -2,7 +2,7 @@ title: break categories: | core -version: 0.105.0 +version: 0.106.0 core: | Break a loop. usage: | diff --git a/commands/docs/bytes.md b/commands/docs/bytes.md index 9650ecdcc5c..92af563380a 100644 --- a/commands/docs/bytes.md +++ b/commands/docs/bytes.md @@ -2,7 +2,7 @@ title: bytes categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Various commands for working with byte data. usage: | diff --git a/commands/docs/bytes_add.md b/commands/docs/bytes_add.md index b04c57cfc23..7cb14a828fd 100644 --- a/commands/docs/bytes_add.md +++ b/commands/docs/bytes_add.md @@ -2,7 +2,7 @@ title: bytes add categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Add specified bytes to the input. usage: | diff --git a/commands/docs/bytes_at.md b/commands/docs/bytes_at.md index f941c032e99..737de452c8c 100644 --- a/commands/docs/bytes_at.md +++ b/commands/docs/bytes_at.md @@ -2,7 +2,7 @@ title: bytes at categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Get bytes defined by a range. usage: | diff --git a/commands/docs/bytes_build.md b/commands/docs/bytes_build.md index 8f79dffab5a..d428160580b 100644 --- a/commands/docs/bytes_build.md +++ b/commands/docs/bytes_build.md @@ -2,7 +2,7 @@ title: bytes build categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Create bytes from the arguments. usage: | diff --git a/commands/docs/bytes_collect.md b/commands/docs/bytes_collect.md index 8fe5425f525..be571a1a486 100644 --- a/commands/docs/bytes_collect.md +++ b/commands/docs/bytes_collect.md @@ -2,7 +2,7 @@ title: bytes collect categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Concatenate multiple binary into a single binary, with an optional separator between each. usage: | diff --git a/commands/docs/bytes_ends-with.md b/commands/docs/bytes_ends-with.md index 48d2d3e18ab..4b52868ff9e 100644 --- a/commands/docs/bytes_ends-with.md +++ b/commands/docs/bytes_ends-with.md @@ -2,7 +2,7 @@ title: bytes ends-with categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Check if bytes ends with a pattern. usage: | diff --git a/commands/docs/bytes_index-of.md b/commands/docs/bytes_index-of.md index 09867efa643..706990798d2 100644 --- a/commands/docs/bytes_index-of.md +++ b/commands/docs/bytes_index-of.md @@ -2,7 +2,7 @@ title: bytes index-of categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Returns start index of first occurrence of pattern in bytes, or -1 if no match. usage: | diff --git a/commands/docs/bytes_length.md b/commands/docs/bytes_length.md index 6701c4afe52..723b7bc9cac 100644 --- a/commands/docs/bytes_length.md +++ b/commands/docs/bytes_length.md @@ -2,7 +2,7 @@ title: bytes length categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Output the length of any bytes in the pipeline. usage: | diff --git a/commands/docs/bytes_remove.md b/commands/docs/bytes_remove.md index febaaa8468c..bdbb882cfe1 100644 --- a/commands/docs/bytes_remove.md +++ b/commands/docs/bytes_remove.md @@ -2,7 +2,7 @@ title: bytes remove categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Remove bytes. usage: | diff --git a/commands/docs/bytes_replace.md b/commands/docs/bytes_replace.md index 27c67d66af5..5324b492ea1 100644 --- a/commands/docs/bytes_replace.md +++ b/commands/docs/bytes_replace.md @@ -2,7 +2,7 @@ title: bytes replace categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Find and replace binary. usage: | diff --git a/commands/docs/bytes_reverse.md b/commands/docs/bytes_reverse.md index 020fb69e2a9..0746097b835 100644 --- a/commands/docs/bytes_reverse.md +++ b/commands/docs/bytes_reverse.md @@ -2,7 +2,7 @@ title: bytes reverse categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Reverse the bytes in the pipeline. usage: | diff --git a/commands/docs/bytes_split.md b/commands/docs/bytes_split.md index 8a5ab95bf16..fbf0b2dc6d0 100644 --- a/commands/docs/bytes_split.md +++ b/commands/docs/bytes_split.md @@ -2,7 +2,7 @@ title: bytes split categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Split input into multiple items using a separator. usage: | diff --git a/commands/docs/bytes_starts-with.md b/commands/docs/bytes_starts-with.md index 77f86528104..10507346ec5 100644 --- a/commands/docs/bytes_starts-with.md +++ b/commands/docs/bytes_starts-with.md @@ -2,7 +2,7 @@ title: bytes starts-with categories: | bytes -version: 0.105.0 +version: 0.106.0 bytes: | Check if bytes starts with a pattern. usage: | diff --git a/commands/docs/cal.md b/commands/docs/cal.md index 952cf0bf57a..ffebff205e1 100644 --- a/commands/docs/cal.md +++ b/commands/docs/cal.md @@ -2,7 +2,7 @@ title: cal categories: | generators -version: 0.105.0 +version: 0.106.0 generators: | Display a calendar. usage: | diff --git a/commands/docs/cd.md b/commands/docs/cd.md index c1fa7f0653b..5972972592f 100644 --- a/commands/docs/cd.md +++ b/commands/docs/cd.md @@ -2,7 +2,7 @@ title: cd categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Change directory. usage: | diff --git a/commands/docs/char.md b/commands/docs/char.md index 22a3c3c4897..760b0f740ae 100644 --- a/commands/docs/char.md +++ b/commands/docs/char.md @@ -2,7 +2,7 @@ title: char categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Output special characters (e.g., 'newline'). usage: | diff --git a/commands/docs/chunk-by.md b/commands/docs/chunk-by.md index f6687f34b38..139e08586b7 100644 --- a/commands/docs/chunk-by.md +++ b/commands/docs/chunk-by.md @@ -2,7 +2,7 @@ title: chunk-by categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Divides a sequence into sub-sequences based on a closure. usage: | diff --git a/commands/docs/chunks.md b/commands/docs/chunks.md index f51634a7ec5..cc821fd8c24 100644 --- a/commands/docs/chunks.md +++ b/commands/docs/chunks.md @@ -2,7 +2,7 @@ title: chunks categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Divide a list, table or binary input into chunks of `chunk_size`. usage: | diff --git a/commands/docs/clear.md b/commands/docs/clear.md index dc0dce843ef..3cdd19f38bd 100644 --- a/commands/docs/clear.md +++ b/commands/docs/clear.md @@ -2,7 +2,7 @@ title: clear categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Clear the terminal. usage: | diff --git a/commands/docs/collect.md b/commands/docs/collect.md index 5634a216ce7..b80dfde93fe 100644 --- a/commands/docs/collect.md +++ b/commands/docs/collect.md @@ -2,7 +2,7 @@ title: collect categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Collect a stream into a value. usage: | diff --git a/commands/docs/columns.md b/commands/docs/columns.md index b5fe35f77b9..92524dce985 100644 --- a/commands/docs/columns.md +++ b/commands/docs/columns.md @@ -2,7 +2,7 @@ title: columns categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Given a record or table, produce a list of its columns' names. usage: | diff --git a/commands/docs/commandline.md b/commands/docs/commandline.md index 3f90fe75a57..95e8760dfc7 100644 --- a/commands/docs/commandline.md +++ b/commands/docs/commandline.md @@ -2,7 +2,7 @@ title: commandline categories: | core -version: 0.105.0 +version: 0.106.0 core: | View the current command line input buffer. usage: | diff --git a/commands/docs/commandline_edit.md b/commands/docs/commandline_edit.md index e8ee95c7afa..4b9bc812b2b 100644 --- a/commands/docs/commandline_edit.md +++ b/commands/docs/commandline_edit.md @@ -2,7 +2,7 @@ title: commandline edit categories: | core -version: 0.105.0 +version: 0.106.0 core: | Modify the current command line input buffer. usage: | diff --git a/commands/docs/commandline_get-cursor.md b/commands/docs/commandline_get-cursor.md index 2c4a810b2ff..2e74ca87204 100644 --- a/commands/docs/commandline_get-cursor.md +++ b/commands/docs/commandline_get-cursor.md @@ -2,7 +2,7 @@ title: commandline get-cursor categories: | core -version: 0.105.0 +version: 0.106.0 core: | Get the current cursor position. usage: | diff --git a/commands/docs/commandline_set-cursor.md b/commands/docs/commandline_set-cursor.md index af996a8ec5f..a5e36f485c0 100644 --- a/commands/docs/commandline_set-cursor.md +++ b/commands/docs/commandline_set-cursor.md @@ -2,7 +2,7 @@ title: commandline set-cursor categories: | core -version: 0.105.0 +version: 0.106.0 core: | Set the current cursor position. usage: | diff --git a/commands/docs/compact.md b/commands/docs/compact.md index 61e0c32a2de..c7ebfa9d651 100644 --- a/commands/docs/compact.md +++ b/commands/docs/compact.md @@ -2,7 +2,7 @@ title: compact categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Creates a table with non-empty rows. usage: | diff --git a/commands/docs/complete.md b/commands/docs/complete.md index f17b35aacb3..7245c72d86b 100644 --- a/commands/docs/complete.md +++ b/commands/docs/complete.md @@ -2,7 +2,7 @@ title: complete categories: | system -version: 0.105.0 +version: 0.106.0 system: | Capture the outputs and exit code from an external piped in command in a nushell table. usage: | diff --git a/commands/docs/config.md b/commands/docs/config.md index 351e5f0af6f..62541bf6672 100644 --- a/commands/docs/config.md +++ b/commands/docs/config.md @@ -2,7 +2,7 @@ title: config categories: | env -version: 0.105.0 +version: 0.106.0 env: | Edit nushell configuration files. usage: | diff --git a/commands/docs/config_env.md b/commands/docs/config_env.md index 1f87bf8bebb..e9bb4a1c1b4 100644 --- a/commands/docs/config_env.md +++ b/commands/docs/config_env.md @@ -2,7 +2,7 @@ title: config env categories: | env -version: 0.105.0 +version: 0.106.0 env: | Edit nu environment configurations. usage: | diff --git a/commands/docs/config_flatten.md b/commands/docs/config_flatten.md index 83d03f07258..89861cf0f83 100644 --- a/commands/docs/config_flatten.md +++ b/commands/docs/config_flatten.md @@ -2,7 +2,7 @@ title: config flatten categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Show the current configuration in a flattened form. usage: | diff --git a/commands/docs/config_nu.md b/commands/docs/config_nu.md index 8a10b0fa09e..9644ebc85f2 100644 --- a/commands/docs/config_nu.md +++ b/commands/docs/config_nu.md @@ -2,7 +2,7 @@ title: config nu categories: | env -version: 0.105.0 +version: 0.106.0 env: | Edit nu configurations. usage: | diff --git a/commands/docs/config_reset.md b/commands/docs/config_reset.md index cfba7230b9b..40ec52be55c 100644 --- a/commands/docs/config_reset.md +++ b/commands/docs/config_reset.md @@ -2,7 +2,7 @@ title: config reset categories: | env -version: 0.105.0 +version: 0.106.0 env: | Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu. usage: | diff --git a/commands/docs/config_use-colors.md b/commands/docs/config_use-colors.md index 42c071d86cd..1250a9d36ae 100644 --- a/commands/docs/config_use-colors.md +++ b/commands/docs/config_use-colors.md @@ -2,7 +2,7 @@ title: config use-colors categories: | env -version: 0.105.0 +version: 0.106.0 env: | Get the configuration for color output. usage: | diff --git a/commands/docs/const.md b/commands/docs/const.md index d9b652c9e02..e9b05c078b6 100644 --- a/commands/docs/const.md +++ b/commands/docs/const.md @@ -2,7 +2,7 @@ title: const categories: | core -version: 0.105.0 +version: 0.106.0 core: | Create a parse-time constant. usage: | diff --git a/commands/docs/continue.md b/commands/docs/continue.md index aaf8584898b..3d5f23ba563 100644 --- a/commands/docs/continue.md +++ b/commands/docs/continue.md @@ -2,7 +2,7 @@ title: continue categories: | core -version: 0.105.0 +version: 0.106.0 core: | Continue a loop from the next iteration. usage: | diff --git a/commands/docs/cp.md b/commands/docs/cp.md index ab4a57de407..b8bc6cbd739 100644 --- a/commands/docs/cp.md +++ b/commands/docs/cp.md @@ -2,7 +2,7 @@ title: cp categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Copy files using uutils/coreutils cp. usage: | diff --git a/commands/docs/date.md b/commands/docs/date.md index 275916b2375..13fd5924caa 100644 --- a/commands/docs/date.md +++ b/commands/docs/date.md @@ -2,7 +2,7 @@ title: date categories: | date -version: 0.105.0 +version: 0.106.0 date: | Date-related commands. usage: | diff --git a/commands/docs/date_format.md b/commands/docs/date_format.md index 86a11a956e5..1a445bf8cad 100644 --- a/commands/docs/date_format.md +++ b/commands/docs/date_format.md @@ -2,7 +2,7 @@ title: date format categories: | removed -version: 0.105.0 +version: 0.106.0 removed: | Removed command: use `format date` instead. usage: | diff --git a/commands/docs/date_from-human.md b/commands/docs/date_from-human.md index c006bf5ee96..6ec1e771b2c 100644 --- a/commands/docs/date_from-human.md +++ b/commands/docs/date_from-human.md @@ -2,7 +2,7 @@ title: date from-human categories: | date -version: 0.105.0 +version: 0.106.0 date: | Convert a human readable datetime string to a datetime. usage: | diff --git a/commands/docs/date_humanize.md b/commands/docs/date_humanize.md index 5ac7fb9bf89..6f202e9e902 100644 --- a/commands/docs/date_humanize.md +++ b/commands/docs/date_humanize.md @@ -2,7 +2,7 @@ title: date humanize categories: | date -version: 0.105.0 +version: 0.106.0 date: | Print a 'humanized' format for the date, relative to now. usage: | diff --git a/commands/docs/date_list-timezone.md b/commands/docs/date_list-timezone.md index fc54b49b6ef..df57b52b58b 100644 --- a/commands/docs/date_list-timezone.md +++ b/commands/docs/date_list-timezone.md @@ -2,7 +2,7 @@ title: date list-timezone categories: | date -version: 0.105.0 +version: 0.106.0 date: | List supported time zones. usage: | diff --git a/commands/docs/date_now.md b/commands/docs/date_now.md index 4af2e1de19b..0c8449498e5 100644 --- a/commands/docs/date_now.md +++ b/commands/docs/date_now.md @@ -2,7 +2,7 @@ title: date now categories: | date -version: 0.105.0 +version: 0.106.0 date: | Get the current date. usage: | diff --git a/commands/docs/date_to-timezone.md b/commands/docs/date_to-timezone.md index bf490bfde05..2ae09214996 100644 --- a/commands/docs/date_to-timezone.md +++ b/commands/docs/date_to-timezone.md @@ -2,7 +2,7 @@ title: date to-timezone categories: | date -version: 0.105.0 +version: 0.106.0 date: | Convert a date to a given time zone. usage: | diff --git a/commands/docs/debug.md b/commands/docs/debug.md index 7b87fcdb9bd..9f9d7eb0052 100644 --- a/commands/docs/debug.md +++ b/commands/docs/debug.md @@ -2,7 +2,7 @@ title: debug categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Debug print the value(s) piped in. usage: | @@ -69,8 +69,9 @@ Debug print an ansi escape encoded string and get the raw value ## Subcommands: -| name | description | type | -| -------------------------------------------------- | ------------------------------------------------------------- | -------- | -| [`debug env`](/commands/docs/debug_env.md) | Show environment variables as external commands would get it. | built-in | -| [`debug info`](/commands/docs/debug_info.md) | View process memory info. | built-in | -| [`debug profile`](/commands/docs/debug_profile.md) | Profile pipeline elements in a closure. | built-in | \ No newline at end of file +| name | description | type | +| ---------------------------------------------------------------------------- | ------------------------------------------------------------- | -------- | +| [`debug env`](/commands/docs/debug_env.md) | Show environment variables as external commands would get it. | built-in | +| [`debug experimental-options`](/commands/docs/debug_experimental-options.md) | Show all experimental options. | built-in | +| [`debug info`](/commands/docs/debug_info.md) | View process memory info. | built-in | +| [`debug profile`](/commands/docs/debug_profile.md) | Profile pipeline elements in a closure. | built-in | \ No newline at end of file diff --git a/commands/docs/debug_env.md b/commands/docs/debug_env.md index c0a6bd0fa0f..d67d19b1eae 100644 --- a/commands/docs/debug_env.md +++ b/commands/docs/debug_env.md @@ -2,7 +2,7 @@ title: debug env categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Show environment variables as external commands would get it. usage: | diff --git a/commands/docs/debug_experimental-options.md b/commands/docs/debug_experimental-options.md new file mode 100644 index 00000000000..4b8355f8773 --- /dev/null +++ b/commands/docs/debug_experimental-options.md @@ -0,0 +1,28 @@ +--- +title: debug experimental-options +categories: | + debug +version: 0.106.0 +debug: | + Show all experimental options. +usage: | + Show all experimental options. +editLink: false +contributors: false +--- + + +# `debug experimental-options` for [debug](/commands/categories/debug.md) + +
Show all experimental options.
+ +## Signature + +```> debug experimental-options {flags} ``` + + +## Input/output types: + +| input | output | +| ------- | ----------------------------------------------------------------------------- | +| nothing | table<identifier: string, enabled: bool, status: string, description: string> | \ No newline at end of file diff --git a/commands/docs/debug_info.md b/commands/docs/debug_info.md index 526b27436c0..30ec1010e1f 100644 --- a/commands/docs/debug_info.md +++ b/commands/docs/debug_info.md @@ -2,7 +2,7 @@ title: debug info categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | View process memory info. usage: | diff --git a/commands/docs/debug_profile.md b/commands/docs/debug_profile.md index 84a07c580d3..fdb21d3bbda 100644 --- a/commands/docs/debug_profile.md +++ b/commands/docs/debug_profile.md @@ -2,7 +2,7 @@ title: debug profile categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Profile pipeline elements in a closure. usage: | diff --git a/commands/docs/decode.md b/commands/docs/decode.md index d0da7bed9ef..20facda2ee9 100644 --- a/commands/docs/decode.md +++ b/commands/docs/decode.md @@ -2,7 +2,7 @@ title: decode categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Decode bytes into a string. usage: | diff --git a/commands/docs/decode_base32.md b/commands/docs/decode_base32.md index c8a8190117b..8753491e54a 100644 --- a/commands/docs/decode_base32.md +++ b/commands/docs/decode_base32.md @@ -2,7 +2,7 @@ title: decode base32 categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Decode a Base32 value. usage: | diff --git a/commands/docs/decode_base32hex.md b/commands/docs/decode_base32hex.md index bfc46c4cb0e..e3056b17ef3 100644 --- a/commands/docs/decode_base32hex.md +++ b/commands/docs/decode_base32hex.md @@ -2,7 +2,7 @@ title: decode base32hex categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Encode a base32hex value. usage: | diff --git a/commands/docs/decode_base64.md b/commands/docs/decode_base64.md index d54a4007a32..b528e5282a5 100644 --- a/commands/docs/decode_base64.md +++ b/commands/docs/decode_base64.md @@ -2,7 +2,7 @@ title: decode base64 categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Decode a Base64 value. usage: | diff --git a/commands/docs/decode_hex.md b/commands/docs/decode_hex.md index 3fe628c8bec..c4f12eb289d 100644 --- a/commands/docs/decode_hex.md +++ b/commands/docs/decode_hex.md @@ -2,7 +2,7 @@ title: decode hex categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Hex decode a value. usage: | diff --git a/commands/docs/def.md b/commands/docs/def.md index a8c45226c67..d74cb5569b5 100644 --- a/commands/docs/def.md +++ b/commands/docs/def.md @@ -2,7 +2,7 @@ title: def categories: | core -version: 0.105.0 +version: 0.106.0 core: | Define a custom command. usage: | diff --git a/commands/docs/default.md b/commands/docs/default.md index 0ef94ab56b6..3207b296b01 100644 --- a/commands/docs/default.md +++ b/commands/docs/default.md @@ -2,7 +2,7 @@ title: default categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Sets a default value if a row's column is missing or null. usage: | @@ -45,7 +45,7 @@ Give a default 'target' column to all file entries Get the env value of `MY_ENV` with a default value 'abc' if not present ```nu -> $env | get --ignore-errors MY_ENV | default 'abc' +> $env | get --optional MY_ENV | default 'abc' abc ``` diff --git a/commands/docs/describe.md b/commands/docs/describe.md index f0c040ea06d..0d3d2b3053a 100644 --- a/commands/docs/describe.md +++ b/commands/docs/describe.md @@ -2,7 +2,7 @@ title: describe categories: | core -version: 0.105.0 +version: 0.106.0 core: | Describe the type and structure of the value(s) piped in. usage: | @@ -42,91 +42,88 @@ string Describe the type of a record in a detailed way ```nu > {shell:'true', uwu:true, features: {bugs:false, multiplatform:true, speed: 10}, fib: [1 1 2 3 5 8], on_save: {|x| $'Saving ($x)'}, first_commit: 2019-05-10, my_duration: (4min + 20sec)} | describe -d -╭───────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────╮ -│ type │ record │ -│ detailed_type │ record, │ -│ │ fib: list, on_save: closure, first_commit: datetime, my_duration: duration> │ -│ │ ╭──────────────┬──────────────────────────────────────────────────────────────────────────────────╮ │ -│ columns │ │ │ ╭───────────────┬────────────────────────╮ │ │ -│ │ │ shell │ │ type │ string │ │ │ -│ │ │ │ │ detailed_type │ string │ │ │ -│ │ │ │ │ rust_type │ &alloc::string::String │ │ │ -│ │ │ │ │ value │ true │ │ │ -│ │ │ │ ╰───────────────┴────────────────────────╯ │ │ -│ │ │ │ ╭───────────────┬──────╮ │ │ -│ │ │ uwu │ │ type │ bool │ │ │ -│ │ │ │ │ detailed_type │ bool │ │ │ -│ │ │ │ │ rust_type │ bool │ │ │ -│ │ │ │ │ value │ true │ │ │ -│ │ │ │ ╰───────────────┴──────╯ │ │ -│ │ │ │ ╭───────────────┬──────────────────────────────────────────────────────────────╮ │ │ -│ │ │ features │ │ type │ record │ │ │ -│ │ │ │ │ detailed_type │ record │ │ │ -│ │ │ │ │ │ ╭───────────────┬───────────────────────────╮ │ │ │ -│ │ │ │ │ columns │ │ │ ╭───────────────┬───────╮ │ │ │ │ -│ │ │ │ │ │ │ bugs │ │ type │ bool │ │ │ │ │ -│ │ │ │ │ │ │ │ │ detailed_type │ bool │ │ │ │ │ -│ │ │ │ │ │ │ │ │ rust_type │ bool │ │ │ │ │ -│ │ │ │ │ │ │ │ │ value │ false │ │ │ │ │ -│ │ │ │ │ │ │ │ ╰───────────────┴───────╯ │ │ │ │ -│ │ │ │ │ │ │ │ ╭───────────────┬──────╮ │ │ │ │ -│ │ │ │ │ │ │ multiplatform │ │ type │ bool │ │ │ │ │ -│ │ │ │ │ │ │ │ │ detailed_type │ bool │ │ │ │ │ -│ │ │ │ │ │ │ │ │ rust_type │ bool │ │ │ │ │ -│ │ │ │ │ │ │ │ │ value │ true │ │ │ │ │ -│ │ │ │ │ │ │ │ ╰───────────────┴──────╯ │ │ │ │ -│ │ │ │ │ │ │ │ ╭───────────────┬─────╮ │ │ │ │ -│ │ │ │ │ │ │ speed │ │ type │ int │ │ │ │ │ -│ │ │ │ │ │ │ │ │ detailed_type │ int │ │ │ │ │ -│ │ │ │ │ │ │ │ │ rust_type │ i64 │ │ │ │ │ -│ │ │ │ │ │ │ │ │ value │ 10 │ │ │ │ │ -│ │ │ │ │ │ │ │ ╰───────────────┴─────╯ │ │ │ │ -│ │ │ │ │ │ ╰───────────────┴───────────────────────────╯ │ │ │ -│ │ │ │ │ rust_type │ &nu_utils::shared_cow::SharedCow │ │ │ -│ │ │ │ ╰───────────────┴──────────────────────────────────────────────────────────────╯ │ │ -│ │ │ │ ╭─────────────────────┬────────────────────────────────────────────────────────╮ │ │ -│ │ │ fib │ │ type │ list │ │ │ -│ │ │ │ │ detailed_type │ list │ │ │ -│ │ │ │ │ length │ 6 │ │ │ -│ │ │ │ │ rust_type │ &mut alloc::vec::Vec │ │ │ -│ │ │ │ │ │ ╭───┬──────┬───────────────┬───────────┬───────╮ │ │ │ -│ │ │ │ │ value │ │ # │ type │ detailed_type │ rust_type │ value │ │ │ │ -│ │ │ │ │ │ ├───┼──────┼───────────────┼───────────┼───────┤ │ │ │ -│ │ │ │ │ │ │ 0 │ int │ int │ i64 │ 1 │ │ │ │ -│ │ │ │ │ │ │ 1 │ int │ int │ i64 │ 1 │ │ │ │ -│ │ │ │ │ │ │ 2 │ int │ int │ i64 │ 2 │ │ │ │ -│ │ │ │ │ │ │ 3 │ int │ int │ i64 │ 3 │ │ │ │ -│ │ │ │ │ │ │ 4 │ int │ int │ i64 │ 5 │ │ │ │ -│ │ │ │ │ │ │ 5 │ int │ int │ i64 │ 8 │ │ │ │ -│ │ │ │ │ │ ╰───┴──────┴───────────────┴───────────┴───────╯ │ │ │ -│ │ │ │ ╰─────────────────────┴────────────────────────────────────────────────────────╯ │ │ -│ │ │ │ ╭─────────────────┬────────────────────────────────────────────────────────────╮ │ │ -│ │ │ on_save │ │ type │ closure │ │ │ -│ │ │ │ │ detailed_type │ closure │ │ │ -│ │ │ │ │ rust_type │ &alloc::boxed::Box │ │ │ -│ │ │ │ │ value │ closure_1 │ │ │ -│ │ │ │ │ │ ╭──────────┬─────────╮ │ │ │ -│ │ │ │ │ signature │ │ name │ │ │ │ │ -│ │ │ │ │ │ │ category │ default │ │ │ │ -│ │ │ │ │ │ ╰──────────┴─────────╯ │ │ │ -│ │ │ │ ╰─────────────────┴────────────────────────────────────────────────────────────╯ │ │ -│ │ │ │ ╭───────────────┬──────────────────────────────────────────────────────────────╮ │ │ -│ │ │ first_commit │ │ type │ datetime │ │ │ -│ │ │ │ │ detailed_type │ datetime │ │ │ -│ │ │ │ │ rust_type │ chrono::datetime::DateTime │ │ │ -│ │ │ │ │ value │ 6 years ago │ │ │ -│ │ │ │ ╰───────────────┴──────────────────────────────────────────────────────────────╯ │ │ -│ │ │ │ ╭───────────────┬────────────╮ │ │ -│ │ │ my_duration │ │ type │ duration │ │ │ -│ │ │ │ │ detailed_type │ duration │ │ │ -│ │ │ │ │ rust_type │ i64 │ │ │ -│ │ │ │ │ value │ 4min 20sec │ │ │ -│ │ │ │ ╰───────────────┴────────────╯ │ │ -│ │ ╰──────────────┴──────────────────────────────────────────────────────────────────────────────────╯ │ -│ rust_type │ &nu_utils::shared_cow::SharedCow │ -╰───────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭───────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ type │ record │ +│ detailed_type │ record, fib: list, on_save: closure, first_commit: datetime, my_duration: duration> │ +│ │ ╭──────────────┬──────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ columns │ │ │ ╭───────────────┬────────────────────────╮ │ │ +│ │ │ shell │ │ type │ string │ │ │ +│ │ │ │ │ detailed_type │ string │ │ │ +│ │ │ │ │ rust_type │ &alloc::string::String │ │ │ +│ │ │ │ │ value │ true │ │ │ +│ │ │ │ ╰───────────────┴────────────────────────╯ │ │ +│ │ │ │ ╭───────────────┬──────╮ │ │ +│ │ │ uwu │ │ type │ bool │ │ │ +│ │ │ │ │ detailed_type │ bool │ │ │ +│ │ │ │ │ rust_type │ bool │ │ │ +│ │ │ │ │ value │ true │ │ │ +│ │ │ │ ╰───────────────┴──────╯ │ │ +│ │ │ │ ╭───────────────┬──────────────────────────────────────────────────────────────────────╮ │ │ +│ │ │ features │ │ type │ record │ │ │ +│ │ │ │ │ detailed_type │ record │ │ │ +│ │ │ │ │ │ ╭───────────────┬───────────────────────────╮ │ │ │ +│ │ │ │ │ columns │ │ │ ╭───────────────┬───────╮ │ │ │ │ +│ │ │ │ │ │ │ bugs │ │ type │ bool │ │ │ │ │ +│ │ │ │ │ │ │ │ │ detailed_type │ bool │ │ │ │ │ +│ │ │ │ │ │ │ │ │ rust_type │ bool │ │ │ │ │ +│ │ │ │ │ │ │ │ │ value │ false │ │ │ │ │ +│ │ │ │ │ │ │ │ ╰───────────────┴───────╯ │ │ │ │ +│ │ │ │ │ │ │ │ ╭───────────────┬──────╮ │ │ │ │ +│ │ │ │ │ │ │ multiplatform │ │ type │ bool │ │ │ │ │ +│ │ │ │ │ │ │ │ │ detailed_type │ bool │ │ │ │ │ +│ │ │ │ │ │ │ │ │ rust_type │ bool │ │ │ │ │ +│ │ │ │ │ │ │ │ │ value │ true │ │ │ │ │ +│ │ │ │ │ │ │ │ ╰───────────────┴──────╯ │ │ │ │ +│ │ │ │ │ │ │ │ ╭───────────────┬─────╮ │ │ │ │ +│ │ │ │ │ │ │ speed │ │ type │ int │ │ │ │ │ +│ │ │ │ │ │ │ │ │ detailed_type │ int │ │ │ │ │ +│ │ │ │ │ │ │ │ │ rust_type │ i64 │ │ │ │ │ +│ │ │ │ │ │ │ │ │ value │ 10 │ │ │ │ │ +│ │ │ │ │ │ │ │ ╰───────────────┴─────╯ │ │ │ │ +│ │ │ │ │ │ ╰───────────────┴───────────────────────────╯ │ │ │ +│ │ │ │ │ rust_type │ &nu_utils::shared_cow::SharedCow │ │ │ +│ │ │ │ ╰───────────────┴──────────────────────────────────────────────────────────────────────╯ │ │ +│ │ │ │ ╭───────────────┬──────────────────────────────────────────────────╮ │ │ +│ │ │ fib │ │ type │ list │ │ │ +│ │ │ │ │ detailed_type │ list │ │ │ +│ │ │ │ │ length │ 6 │ │ │ +│ │ │ │ │ rust_type │ &mut alloc::vec::Vec │ │ │ +│ │ │ │ │ │ ╭───┬──────┬───────────────┬───────────┬───────╮ │ │ │ +│ │ │ │ │ value │ │ # │ type │ detailed_type │ rust_type │ value │ │ │ │ +│ │ │ │ │ │ ├───┼──────┼───────────────┼───────────┼───────┤ │ │ │ +│ │ │ │ │ │ │ 0 │ int │ int │ i64 │ 1 │ │ │ │ +│ │ │ │ │ │ │ 1 │ int │ int │ i64 │ 1 │ │ │ │ +│ │ │ │ │ │ │ 2 │ int │ int │ i64 │ 2 │ │ │ │ +│ │ │ │ │ │ │ 3 │ int │ int │ i64 │ 3 │ │ │ │ +│ │ │ │ │ │ │ 4 │ int │ int │ i64 │ 5 │ │ │ │ +│ │ │ │ │ │ │ 5 │ int │ int │ i64 │ 8 │ │ │ │ +│ │ │ │ │ │ ╰───┴──────┴───────────────┴───────────┴───────╯ │ │ │ +│ │ │ │ ╰───────────────┴──────────────────────────────────────────────────╯ │ │ +│ │ │ │ ╭───────────────┬───────────────────────────────────────────────────────────╮ │ │ +│ │ │ on_save │ │ type │ closure │ │ │ +│ │ │ │ │ detailed_type │ closure │ │ │ +│ │ │ │ │ rust_type │ &alloc::boxed::Box │ │ │ +│ │ │ │ │ value │ closure_1 │ │ │ +│ │ │ │ │ │ ╭──────────┬─────────╮ │ │ │ +│ │ │ │ │ signature │ │ name │ │ │ │ │ +│ │ │ │ │ │ │ category │ default │ │ │ │ +│ │ │ │ │ │ ╰──────────┴─────────╯ │ │ │ +│ │ │ │ ╰───────────────┴───────────────────────────────────────────────────────────╯ │ │ +│ │ │ │ ╭───────────────┬────────────────────────────────────────────────────────────────╮ │ │ +│ │ │ first_commit │ │ type │ datetime │ │ │ +│ │ │ │ │ detailed_type │ datetime │ │ │ +│ │ │ │ │ rust_type │ chrono::datetime::DateTime │ │ │ +│ │ │ │ │ value │ 6 years ago │ │ │ +│ │ │ │ ╰───────────────┴────────────────────────────────────────────────────────────────╯ │ │ +│ │ │ │ ╭───────────────┬────────────╮ │ │ +│ │ │ my_duration │ │ type │ duration │ │ │ +│ │ │ │ │ detailed_type │ duration │ │ │ +│ │ │ │ │ rust_type │ i64 │ │ │ +│ │ │ │ │ value │ 4min 20sec │ │ │ +│ │ │ │ ╰───────────────┴────────────╯ │ │ +│ │ ╰──────────────┴──────────────────────────────────────────────────────────────────────────────────────────╯ │ +│ rust_type │ &nu_utils::shared_cow::SharedCow │ +╰───────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ``` Describe the type of a stream with detailed information diff --git a/commands/docs/detect_columns.md b/commands/docs/detect_columns.md index 35f9f0a44b5..def71b32e8d 100644 --- a/commands/docs/detect_columns.md +++ b/commands/docs/detect_columns.md @@ -2,7 +2,7 @@ title: detect columns categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Attempt to automatically split text into multiple columns. usage: | diff --git a/commands/docs/do.md b/commands/docs/do.md index 87305c009ae..3c40a19b98d 100644 --- a/commands/docs/do.md +++ b/commands/docs/do.md @@ -2,7 +2,7 @@ title: do categories: | core -version: 0.105.0 +version: 0.106.0 core: | Run a closure, providing it with the pipeline input. usage: | diff --git a/commands/docs/drop.md b/commands/docs/drop.md index 96ee0cc9ca2..323ff65d9e5 100644 --- a/commands/docs/drop.md +++ b/commands/docs/drop.md @@ -2,7 +2,7 @@ title: drop categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Remove items/rows from the end of the input list/table. Counterpart of `skip`. Opposite of `last`. usage: | diff --git a/commands/docs/drop_column.md b/commands/docs/drop_column.md index 5b69b22cc52..c12a0f70863 100644 --- a/commands/docs/drop_column.md +++ b/commands/docs/drop_column.md @@ -2,7 +2,7 @@ title: drop column categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Remove N columns at the right-hand end of the input table. To remove columns by name, use `reject`. usage: | diff --git a/commands/docs/drop_nth.md b/commands/docs/drop_nth.md index 904ffa88cc5..8798417c623 100644 --- a/commands/docs/drop_nth.md +++ b/commands/docs/drop_nth.md @@ -2,7 +2,7 @@ title: drop nth categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Drop the selected rows. usage: | @@ -18,12 +18,11 @@ contributors: false ## Signature -```> drop nth {flags} (row number or row range) ...rest``` +```> drop nth {flags} ...rest``` ## Parameters - - `row number or row range`: The number of the row to drop or a range to drop consecutive rows. - - `...rest`: The number of the row to drop. + - `...rest`: The row numbers or ranges to drop. ## Input/output types: diff --git a/commands/docs/du.md b/commands/docs/du.md index 65de348fb8f..b935aa2488d 100644 --- a/commands/docs/du.md +++ b/commands/docs/du.md @@ -2,7 +2,7 @@ title: du categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Find disk usage sizes of specified items. usage: | diff --git a/commands/docs/each.md b/commands/docs/each.md index 5cae68178b1..194dbdd3bf4 100644 --- a/commands/docs/each.md +++ b/commands/docs/each.md @@ -2,7 +2,7 @@ title: each categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Run a closure on each row of the input list, creating a new list with the results. usage: | diff --git a/commands/docs/each_while.md b/commands/docs/each_while.md index 8e4d4075b25..88914dd96ea 100644 --- a/commands/docs/each_while.md +++ b/commands/docs/each_while.md @@ -2,7 +2,7 @@ title: each while categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Run a closure on each row of the input list until a null is found, then create a new list with the results. usage: | diff --git a/commands/docs/echo.md b/commands/docs/echo.md index 63aa0dad780..61fe2dae0b3 100644 --- a/commands/docs/echo.md +++ b/commands/docs/echo.md @@ -2,7 +2,7 @@ title: echo categories: | core -version: 0.105.0 +version: 0.106.0 core: | Returns its arguments, ignoring the piped-in value. usage: | diff --git a/commands/docs/encode.md b/commands/docs/encode.md index 671e3932491..b2342522726 100644 --- a/commands/docs/encode.md +++ b/commands/docs/encode.md @@ -2,7 +2,7 @@ title: encode categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Encode a string into bytes. usage: | diff --git a/commands/docs/encode_base32.md b/commands/docs/encode_base32.md index 05b95f0916c..7b816692189 100644 --- a/commands/docs/encode_base32.md +++ b/commands/docs/encode_base32.md @@ -2,7 +2,7 @@ title: encode base32 categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Encode a string or binary value using Base32. usage: | diff --git a/commands/docs/encode_base32hex.md b/commands/docs/encode_base32hex.md index e7d24a1316d..773e3e0a983 100644 --- a/commands/docs/encode_base32hex.md +++ b/commands/docs/encode_base32hex.md @@ -2,7 +2,7 @@ title: encode base32hex categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Encode a binary value or a string using base32hex. usage: | diff --git a/commands/docs/encode_base64.md b/commands/docs/encode_base64.md index dacb656f0ce..7432cb52f30 100644 --- a/commands/docs/encode_base64.md +++ b/commands/docs/encode_base64.md @@ -2,7 +2,7 @@ title: encode base64 categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Encode a string or binary value using Base64. usage: | diff --git a/commands/docs/encode_hex.md b/commands/docs/encode_hex.md index 4125c8d39ce..7a790eb0b09 100644 --- a/commands/docs/encode_hex.md +++ b/commands/docs/encode_hex.md @@ -2,7 +2,7 @@ title: encode hex categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Hex encode a binary value or a string. usage: | diff --git a/commands/docs/enumerate.md b/commands/docs/enumerate.md index b0ed7a57bd4..fb12188029b 100644 --- a/commands/docs/enumerate.md +++ b/commands/docs/enumerate.md @@ -2,7 +2,7 @@ title: enumerate categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Enumerate the elements in a stream. usage: | diff --git a/commands/docs/error_make.md b/commands/docs/error_make.md index 33632741d4b..7741570a739 100644 --- a/commands/docs/error_make.md +++ b/commands/docs/error_make.md @@ -2,7 +2,7 @@ title: error make categories: | core -version: 0.105.0 +version: 0.106.0 core: | Create an error. usage: | diff --git a/commands/docs/every.md b/commands/docs/every.md index 9a45d18e912..dcfe4eb17eb 100644 --- a/commands/docs/every.md +++ b/commands/docs/every.md @@ -2,7 +2,7 @@ title: every categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Show (or skip) every n-th row, starting from the first one. usage: | diff --git a/commands/docs/exec.md b/commands/docs/exec.md index 83ffed24cda..7ae78ce2e61 100644 --- a/commands/docs/exec.md +++ b/commands/docs/exec.md @@ -2,7 +2,7 @@ title: exec categories: | system -version: 0.105.0 +version: 0.106.0 system: | Execute a command, replacing or exiting the current process, depending on platform. usage: | diff --git a/commands/docs/exit.md b/commands/docs/exit.md index 03a178b9443..583861b4e82 100644 --- a/commands/docs/exit.md +++ b/commands/docs/exit.md @@ -2,7 +2,7 @@ title: exit categories: | shells -version: 0.105.0 +version: 0.106.0 shells: | Exit Nu. usage: | diff --git a/commands/docs/explain.md b/commands/docs/explain.md index d85f9a52eb1..eacf58bc1bb 100644 --- a/commands/docs/explain.md +++ b/commands/docs/explain.md @@ -2,7 +2,7 @@ title: explain categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Explain closure contents. usage: | diff --git a/commands/docs/explore.md b/commands/docs/explore.md index 1182df492b5..6079f90215e 100644 --- a/commands/docs/explore.md +++ b/commands/docs/explore.md @@ -2,7 +2,7 @@ title: explore categories: | viewers -version: 0.105.0 +version: 0.106.0 viewers: | Explore acts as a table pager, just like `less` does for text. usage: | diff --git a/commands/docs/export-env.md b/commands/docs/export-env.md index bde3bf1c500..be0d172a873 100644 --- a/commands/docs/export-env.md +++ b/commands/docs/export-env.md @@ -2,7 +2,7 @@ title: export-env categories: | env -version: 0.105.0 +version: 0.106.0 env: | Run a block and preserve its environment in a current scope. usage: | diff --git a/commands/docs/export.md b/commands/docs/export.md index a7ee5e113ab..a6f1796f40d 100644 --- a/commands/docs/export.md +++ b/commands/docs/export.md @@ -2,7 +2,7 @@ title: export categories: | core -version: 0.105.0 +version: 0.106.0 core: | Export definitions or environment variables from a module. usage: | diff --git a/commands/docs/export_alias.md b/commands/docs/export_alias.md index a63f9292f1f..6913adca705 100644 --- a/commands/docs/export_alias.md +++ b/commands/docs/export_alias.md @@ -2,7 +2,7 @@ title: export alias categories: | core -version: 0.105.0 +version: 0.106.0 core: | Alias a command (with optional flags) to a new name and export it from a module. usage: | diff --git a/commands/docs/export_const.md b/commands/docs/export_const.md index fbf4be734c4..2ea7dd60865 100644 --- a/commands/docs/export_const.md +++ b/commands/docs/export_const.md @@ -2,7 +2,7 @@ title: export const categories: | core -version: 0.105.0 +version: 0.106.0 core: | Use parse-time constant from a module and export them from this module. usage: | diff --git a/commands/docs/export_def.md b/commands/docs/export_def.md index b46e951cafd..cb4e842b3d6 100644 --- a/commands/docs/export_def.md +++ b/commands/docs/export_def.md @@ -2,7 +2,7 @@ title: export def categories: | core -version: 0.105.0 +version: 0.106.0 core: | Define a custom command and export it from a module. usage: | diff --git a/commands/docs/export_extern.md b/commands/docs/export_extern.md index 410ffd610c2..38ba333ef9c 100644 --- a/commands/docs/export_extern.md +++ b/commands/docs/export_extern.md @@ -2,7 +2,7 @@ title: export extern categories: | core -version: 0.105.0 +version: 0.106.0 core: | Define an extern and export it from a module. usage: | diff --git a/commands/docs/export_module.md b/commands/docs/export_module.md index 4f6de86b67d..b61f0fdb4d0 100644 --- a/commands/docs/export_module.md +++ b/commands/docs/export_module.md @@ -2,7 +2,7 @@ title: export module categories: | core -version: 0.105.0 +version: 0.106.0 core: | Export a custom module from a module. usage: | diff --git a/commands/docs/export_use.md b/commands/docs/export_use.md index 684128de7cf..629525021df 100644 --- a/commands/docs/export_use.md +++ b/commands/docs/export_use.md @@ -2,7 +2,7 @@ title: export use categories: | core -version: 0.105.0 +version: 0.106.0 core: | Use definitions from a module and export them from this module. usage: | diff --git a/commands/docs/extern.md b/commands/docs/extern.md index 55606d9e349..a182c2bbed0 100644 --- a/commands/docs/extern.md +++ b/commands/docs/extern.md @@ -2,7 +2,7 @@ title: extern categories: | core -version: 0.105.0 +version: 0.106.0 core: | Define a signature for an external command. usage: | diff --git a/commands/docs/fill.md b/commands/docs/fill.md index 8af0ce2dca6..4232ae8afda 100644 --- a/commands/docs/fill.md +++ b/commands/docs/fill.md @@ -2,7 +2,7 @@ title: fill categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Fill and Align. usage: | diff --git a/commands/docs/filter.md b/commands/docs/filter.md index 315fcbc4cce..676f8934708 100644 --- a/commands/docs/filter.md +++ b/commands/docs/filter.md @@ -2,7 +2,7 @@ title: filter categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Filter values based on a predicate closure. usage: | diff --git a/commands/docs/find.md b/commands/docs/find.md index bb50a700c1e..03d3a6d1561 100644 --- a/commands/docs/find.md +++ b/commands/docs/find.md @@ -2,7 +2,7 @@ title: find categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Searches terms in the input. usage: | @@ -26,7 +26,7 @@ contributors: false - `--ignore-case, -i`: case-insensitive regex mode; equivalent to (?i) - `--multiline, -m`: multi-line regex mode: ^ and $ match begin/end of line; equivalent to (?m) - `--dotall, -s`: dotall regex mode: allow a dot . to match newlines \n; equivalent to (?s) - - `--columns, -c {list}`: column names to be searched (with rest parameter, not regex yet) + - `--columns, -c {list}`: column names to be searched - `--no-highlight, -n`: no-highlight mode: find without marking with ansi code - `--invert, -v`: invert the match diff --git a/commands/docs/first.md b/commands/docs/first.md index 7da88d575cb..be3e6a60d61 100644 --- a/commands/docs/first.md +++ b/commands/docs/first.md @@ -2,7 +2,7 @@ title: first categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Return only the first several rows of the input. Counterpart of `last`. Opposite of `skip`. usage: | diff --git a/commands/docs/flatten.md b/commands/docs/flatten.md index e30ffce2d4a..2b16b96f89e 100644 --- a/commands/docs/flatten.md +++ b/commands/docs/flatten.md @@ -2,7 +2,7 @@ title: flatten categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Flatten the table. usage: | diff --git a/commands/docs/for.md b/commands/docs/for.md index 56e2e8b87c1..2ce7409ce6d 100644 --- a/commands/docs/for.md +++ b/commands/docs/for.md @@ -2,7 +2,7 @@ title: for categories: | core -version: 0.105.0 +version: 0.106.0 core: | Loop over a range. usage: | diff --git a/commands/docs/format.md b/commands/docs/format.md index 05e726b0964..9f229dadfd9 100644 --- a/commands/docs/format.md +++ b/commands/docs/format.md @@ -2,7 +2,7 @@ title: format categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Various commands for formatting data. usage: | diff --git a/commands/docs/format_bits.md b/commands/docs/format_bits.md index b99684f249f..dccc5b93b78 100644 --- a/commands/docs/format_bits.md +++ b/commands/docs/format_bits.md @@ -2,7 +2,7 @@ title: format bits categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert value to a string of binary data represented by 0 and 1. usage: | diff --git a/commands/docs/format_date.md b/commands/docs/format_date.md index 11d106e60a3..596a868db11 100644 --- a/commands/docs/format_date.md +++ b/commands/docs/format_date.md @@ -2,7 +2,7 @@ title: format date categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Format a given date using a format string. usage: | diff --git a/commands/docs/format_duration.md b/commands/docs/format_duration.md index 7a7bf259dc3..b5ba57e78ee 100644 --- a/commands/docs/format_duration.md +++ b/commands/docs/format_duration.md @@ -2,7 +2,7 @@ title: format duration categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Outputs duration with a specified unit of time. usage: | diff --git a/commands/docs/format_filesize.md b/commands/docs/format_filesize.md index e8f00849ffb..fb07b68edfb 100644 --- a/commands/docs/format_filesize.md +++ b/commands/docs/format_filesize.md @@ -2,7 +2,7 @@ title: format filesize categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Converts a column of filesizes to some specified format. usage: | diff --git a/commands/docs/format_number.md b/commands/docs/format_number.md index 95e67e185cf..d46693bac72 100644 --- a/commands/docs/format_number.md +++ b/commands/docs/format_number.md @@ -2,7 +2,7 @@ title: format number categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Format a number. usage: | @@ -20,6 +20,10 @@ contributors: false ```> format number {flags} ``` +## Flags + + - `--no-prefix, -n`: don't include the binary, hex or octal prefixes + ## Input/output types: @@ -32,13 +36,28 @@ Get a record containing multiple formats for the number 42 ```nu > 42 | format number ╭──────────┬──────────╮ -│ binary │ 0b101010 │ │ debug │ 42 │ │ display │ 42 │ +│ binary │ 0b101010 │ │ lowerexp │ 4.2e1 │ -│ lowerhex │ 0x2a │ -│ octal │ 0o52 │ │ upperexp │ 4.2E1 │ +│ lowerhex │ 0x2a │ │ upperhex │ 0x2A │ +│ octal │ 0o52 │ ╰──────────┴──────────╯ ``` + +Format float without prefixes +```nu +> 3.14 | format number --no-prefix +╭──────────┬─────────────────────────────────────────────────────────────────╮ +│ debug │ 3.14 │ +│ display │ 3.14 │ +│ binary │ 100000000001001000111101011100001010001111010111000010100011111 │ +│ lowerexp │ 3.14e0 │ +│ upperexp │ 3.14E0 │ +│ lowerhex │ 40091eb851eb851f │ +│ upperhex │ 40091EB851EB851F │ +│ octal │ 400110753412172702437 │ +╰──────────┴─────────────────────────────────────────────────────────────────╯ +``` diff --git a/commands/docs/format_pattern.md b/commands/docs/format_pattern.md index e920cac7aba..0a4cecc2be7 100644 --- a/commands/docs/format_pattern.md +++ b/commands/docs/format_pattern.md @@ -2,7 +2,7 @@ title: format pattern categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Format columns into a string using a simple pattern. usage: | diff --git a/commands/docs/from.md b/commands/docs/from.md index 891ef48febf..7d67441fc86 100644 --- a/commands/docs/from.md +++ b/commands/docs/from.md @@ -2,7 +2,7 @@ title: from categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse a string or binary data into structured data. usage: | diff --git a/commands/docs/from_csv.md b/commands/docs/from_csv.md index 630452624a3..79377674120 100644 --- a/commands/docs/from_csv.md +++ b/commands/docs/from_csv.md @@ -2,7 +2,7 @@ title: from csv categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as .csv and create table. usage: | diff --git a/commands/docs/from_eml.md b/commands/docs/from_eml.md index 4449a461ea8..327489c8ad7 100644 --- a/commands/docs/from_eml.md +++ b/commands/docs/from_eml.md @@ -2,7 +2,7 @@ title: from eml categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as .eml and create record. usage: | diff --git a/commands/docs/from_ics.md b/commands/docs/from_ics.md index f019aec39ad..7d6111f989b 100644 --- a/commands/docs/from_ics.md +++ b/commands/docs/from_ics.md @@ -2,7 +2,7 @@ title: from ics categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as .ics and create table. usage: | @@ -39,11 +39,10 @@ Converts ics formatted string to table ```nu > 'BEGIN:VCALENDAR END:VCALENDAR' | from ics -╭───┬────────────────┬────────────────┬────────────────┬────────────────┬────────────────┬────────────────┬───────────╮ -│ # │ properties │ events │ alarms │ to-Dos │ journals │ free-busys │ timezones │ -├───┼────────────────┼────────────────┼────────────────┼────────────────┼────────────────┼────────────────┼───────────┤ -│ 0 │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0 │ -│ │ │ │ │ │ │ │ items] │ -╰───┴────────────────┴────────────────┴────────────────┴────────────────┴────────────────┴────────────────┴───────────╯ +╭───┬────────────────┬────────────────┬────────────────┬────────────────┬────────────────┬────────────────┬────────────────╮ +│ # │ properties │ events │ alarms │ to-Dos │ journals │ free-busys │ timezones │ +├───┼────────────────┼────────────────┼────────────────┼────────────────┼────────────────┼────────────────┼────────────────┤ +│ 0 │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0 items] │ +╰───┴────────────────┴────────────────┴────────────────┴────────────────┴────────────────┴────────────────┴────────────────╯ ``` diff --git a/commands/docs/from_ini.md b/commands/docs/from_ini.md index d1e2bb61efa..3d166a3bdfa 100644 --- a/commands/docs/from_ini.md +++ b/commands/docs/from_ini.md @@ -2,7 +2,7 @@ title: from ini categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as .ini and create table. usage: | diff --git a/commands/docs/from_json.md b/commands/docs/from_json.md index 1e53839d50b..b2cb298855a 100644 --- a/commands/docs/from_json.md +++ b/commands/docs/from_json.md @@ -2,7 +2,7 @@ title: from json categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert from json to structured data. usage: | diff --git a/commands/docs/from_msgpack.md b/commands/docs/from_msgpack.md index a8228f6026a..485103780dc 100644 --- a/commands/docs/from_msgpack.md +++ b/commands/docs/from_msgpack.md @@ -2,7 +2,7 @@ title: from msgpack categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert MessagePack data into Nu values. usage: | @@ -61,7 +61,7 @@ Read a table from MessagePack ╭───┬──────────────────────┬──────────────╮ │ # │ event_name │ time │ ├───┼──────────────────────┼──────────────┤ -│ 0 │ Apollo 11 Landing │ 55 years ago │ +│ 0 │ Apollo 11 Landing │ 56 years ago │ │ 1 │ Nushell first commit │ 6 years ago │ ╰───┴──────────────────────┴──────────────╯ diff --git a/commands/docs/from_msgpackz.md b/commands/docs/from_msgpackz.md index 82773a302b0..2f66f3feabd 100644 --- a/commands/docs/from_msgpackz.md +++ b/commands/docs/from_msgpackz.md @@ -2,7 +2,7 @@ title: from msgpackz categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert brotli-compressed MessagePack data into Nu values. usage: | diff --git a/commands/docs/from_nuon.md b/commands/docs/from_nuon.md index 736cf5b4076..db06b29600e 100644 --- a/commands/docs/from_nuon.md +++ b/commands/docs/from_nuon.md @@ -2,7 +2,7 @@ title: from nuon categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert from nuon to structured data. usage: | diff --git a/commands/docs/from_ods.md b/commands/docs/from_ods.md index 62ecd9d9629..17edf4f98ab 100644 --- a/commands/docs/from_ods.md +++ b/commands/docs/from_ods.md @@ -2,7 +2,7 @@ title: from ods categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse OpenDocument Spreadsheet(.ods) data and create table. usage: | diff --git a/commands/docs/from_plist.md b/commands/docs/from_plist.md index 865bcd6893a..60e987bce64 100644 --- a/commands/docs/from_plist.md +++ b/commands/docs/from_plist.md @@ -2,7 +2,7 @@ title: from plist categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert plist to Nushell values usage: | diff --git a/commands/docs/from_ssv.md b/commands/docs/from_ssv.md index ce9360a13d6..913adeb3364 100644 --- a/commands/docs/from_ssv.md +++ b/commands/docs/from_ssv.md @@ -2,7 +2,7 @@ title: from ssv categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as space-separated values and create a table. The default minimum number of spaces counted as a separator is 2. usage: | diff --git a/commands/docs/from_toml.md b/commands/docs/from_toml.md index 2706ff380c2..c7202cfb791 100644 --- a/commands/docs/from_toml.md +++ b/commands/docs/from_toml.md @@ -2,7 +2,7 @@ title: from toml categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as .toml and create record. usage: | diff --git a/commands/docs/from_tsv.md b/commands/docs/from_tsv.md index 22cf6d29bef..6ebd69370b2 100644 --- a/commands/docs/from_tsv.md +++ b/commands/docs/from_tsv.md @@ -2,7 +2,7 @@ title: from tsv categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as .tsv and create table. usage: | diff --git a/commands/docs/from_url.md b/commands/docs/from_url.md index 2552275d08f..925ea6b5da6 100644 --- a/commands/docs/from_url.md +++ b/commands/docs/from_url.md @@ -2,7 +2,7 @@ title: from url categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse url-encoded string as a record. usage: | diff --git a/commands/docs/from_vcf.md b/commands/docs/from_vcf.md index 598ec69e327..ded8704f949 100644 --- a/commands/docs/from_vcf.md +++ b/commands/docs/from_vcf.md @@ -2,7 +2,7 @@ title: from vcf categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as .vcf and create table. usage: | diff --git a/commands/docs/from_xlsx.md b/commands/docs/from_xlsx.md index 803b87845d2..8f76293244a 100644 --- a/commands/docs/from_xlsx.md +++ b/commands/docs/from_xlsx.md @@ -2,7 +2,7 @@ title: from xlsx categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse binary Excel(.xlsx) data and create table. usage: | diff --git a/commands/docs/from_xml.md b/commands/docs/from_xml.md index ad31bd990cd..e6d778810c9 100644 --- a/commands/docs/from_xml.md +++ b/commands/docs/from_xml.md @@ -2,7 +2,7 @@ title: from xml categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as .xml and create record. usage: | diff --git a/commands/docs/from_yaml.md b/commands/docs/from_yaml.md index d4468dffdea..c8dee2d5a62 100644 --- a/commands/docs/from_yaml.md +++ b/commands/docs/from_yaml.md @@ -2,7 +2,7 @@ title: from yaml categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as .yaml/.yml and create table. usage: | diff --git a/commands/docs/from_yml.md b/commands/docs/from_yml.md index 502e093c87d..b1fe620e4f3 100644 --- a/commands/docs/from_yml.md +++ b/commands/docs/from_yml.md @@ -2,7 +2,7 @@ title: from yml categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Parse text as .yaml/.yml and create table. usage: | diff --git a/commands/docs/generate.md b/commands/docs/generate.md index df1104aba34..e1e081d6fef 100644 --- a/commands/docs/generate.md +++ b/commands/docs/generate.md @@ -2,7 +2,7 @@ title: generate categories: | generators -version: 0.105.0 +version: 0.106.0 generators: | Generate a list of values by successively invoking a closure. usage: | diff --git a/commands/docs/get.md b/commands/docs/get.md index aa04eae62f9..87dad84fc87 100644 --- a/commands/docs/get.md +++ b/commands/docs/get.md @@ -2,7 +2,7 @@ title: get categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Extract data using a cell path. usage: | @@ -22,7 +22,8 @@ contributors: false ## Flags - - `--ignore-errors, -i`: ignore missing data (make all cell path members optional) + - `--optional, -o`: make all cell path members optional (returns `null` for missing values) + - `--ignore-errors, -i`: ignore missing data (make all cell path members optional) (deprecated) - `--sensitive, -s`: get path in a case sensitive manner (deprecated) ## Parameters diff --git a/commands/docs/glob.md b/commands/docs/glob.md index d9867830e27..0133f8f14f9 100644 --- a/commands/docs/glob.md +++ b/commands/docs/glob.md @@ -2,7 +2,7 @@ title: glob categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Creates a list of files and/or folders based on the glob pattern provided. usage: | @@ -71,7 +71,7 @@ A case-insensitive search for files and folders that begin with c ``` -Search for files for folders that do not begin with c, C, b, M, or s +Search for files or folders that do not begin with c, C, b, M, or s ```nu > glob "[!cCbMs]*" diff --git a/commands/docs/grid.md b/commands/docs/grid.md index bf8608359ec..bfa78d6c8a2 100644 --- a/commands/docs/grid.md +++ b/commands/docs/grid.md @@ -2,7 +2,7 @@ title: grid categories: | viewers -version: 0.105.0 +version: 0.106.0 viewers: | Renders the output to a textual terminal grid. usage: | diff --git a/commands/docs/group-by.md b/commands/docs/group-by.md index 79f5c0710f6..ffa13f899e1 100644 --- a/commands/docs/group-by.md +++ b/commands/docs/group-by.md @@ -2,7 +2,7 @@ title: group-by categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Splits a list or table into groups, and returns a record containing those groups. usage: | diff --git a/commands/docs/gstat.md b/commands/docs/gstat.md index 78434a73491..fa7d4a7fb0e 100644 --- a/commands/docs/gstat.md +++ b/commands/docs/gstat.md @@ -2,7 +2,7 @@ title: gstat categories: | prompt -version: 0.105.0 +version: 0.106.0 prompt: | Get the git status of a repo usage: | diff --git a/commands/docs/hash.md b/commands/docs/hash.md index 243d09e0b42..092f5cefd07 100644 --- a/commands/docs/hash.md +++ b/commands/docs/hash.md @@ -2,7 +2,7 @@ title: hash categories: | hash -version: 0.105.0 +version: 0.106.0 hash: | Apply hash function. usage: | diff --git a/commands/docs/hash_md5.md b/commands/docs/hash_md5.md index 3928285084d..6cb36124c84 100644 --- a/commands/docs/hash_md5.md +++ b/commands/docs/hash_md5.md @@ -2,7 +2,7 @@ title: hash md5 categories: | hash -version: 0.105.0 +version: 0.106.0 hash: | Hash a value using the md5 hash algorithm. usage: | diff --git a/commands/docs/hash_sha256.md b/commands/docs/hash_sha256.md index cf2b66b7b3e..96e103559e6 100644 --- a/commands/docs/hash_sha256.md +++ b/commands/docs/hash_sha256.md @@ -2,7 +2,7 @@ title: hash sha256 categories: | hash -version: 0.105.0 +version: 0.106.0 hash: | Hash a value using the sha256 hash algorithm. usage: | diff --git a/commands/docs/headers.md b/commands/docs/headers.md index c0cf0d329f2..b174d5b9f7c 100644 --- a/commands/docs/headers.md +++ b/commands/docs/headers.md @@ -2,7 +2,7 @@ title: headers categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Use the first row of the table as column names. usage: | diff --git a/commands/docs/help.md b/commands/docs/help.md index d510f695869..9d4ab1e3850 100644 --- a/commands/docs/help.md +++ b/commands/docs/help.md @@ -2,7 +2,7 @@ title: help categories: | core -version: 0.105.0 +version: 0.106.0 core: | Display help information about different parts of Nushell. usage: | diff --git a/commands/docs/help_aliases.md b/commands/docs/help_aliases.md index 0744ab07b57..3ab95930673 100644 --- a/commands/docs/help_aliases.md +++ b/commands/docs/help_aliases.md @@ -2,7 +2,7 @@ title: help aliases categories: | core -version: 0.105.0 +version: 0.106.0 core: | Show help on nushell aliases. usage: | diff --git a/commands/docs/help_commands.md b/commands/docs/help_commands.md index 5f8d518a85f..15e20b20db4 100644 --- a/commands/docs/help_commands.md +++ b/commands/docs/help_commands.md @@ -2,7 +2,7 @@ title: help commands categories: | core -version: 0.105.0 +version: 0.106.0 core: | Show help on nushell commands. usage: | diff --git a/commands/docs/help_escapes.md b/commands/docs/help_escapes.md index 711808d5daf..4ebec82f6a7 100644 --- a/commands/docs/help_escapes.md +++ b/commands/docs/help_escapes.md @@ -2,7 +2,7 @@ title: help escapes categories: | core -version: 0.105.0 +version: 0.106.0 core: | Show help on nushell string escapes. usage: | diff --git a/commands/docs/help_externs.md b/commands/docs/help_externs.md index 8dd87001074..8e108a2f984 100644 --- a/commands/docs/help_externs.md +++ b/commands/docs/help_externs.md @@ -2,7 +2,7 @@ title: help externs categories: | core -version: 0.105.0 +version: 0.106.0 core: | Show help on nushell externs. usage: | diff --git a/commands/docs/help_modules.md b/commands/docs/help_modules.md index b76810b67f6..e91aae269a4 100644 --- a/commands/docs/help_modules.md +++ b/commands/docs/help_modules.md @@ -2,7 +2,7 @@ title: help modules categories: | core -version: 0.105.0 +version: 0.106.0 core: | Show help on nushell modules. usage: | diff --git a/commands/docs/help_operators.md b/commands/docs/help_operators.md index 62e6f350133..cbd640e4d8b 100644 --- a/commands/docs/help_operators.md +++ b/commands/docs/help_operators.md @@ -2,7 +2,7 @@ title: help operators categories: | core -version: 0.105.0 +version: 0.106.0 core: | Show help on nushell operators. usage: | diff --git a/commands/docs/help_pipe-and-redirect.md b/commands/docs/help_pipe-and-redirect.md index e4a6fdbfc03..06fb6b9ab53 100644 --- a/commands/docs/help_pipe-and-redirect.md +++ b/commands/docs/help_pipe-and-redirect.md @@ -2,7 +2,7 @@ title: help pipe-and-redirect categories: | core -version: 0.105.0 +version: 0.106.0 core: | Show help on nushell pipes and redirects. usage: | diff --git a/commands/docs/hide-env.md b/commands/docs/hide-env.md index 96b69b89512..e562f50531b 100644 --- a/commands/docs/hide-env.md +++ b/commands/docs/hide-env.md @@ -2,7 +2,7 @@ title: hide-env categories: | core -version: 0.105.0 +version: 0.106.0 core: | Hide environment variables in the current scope. usage: | diff --git a/commands/docs/hide.md b/commands/docs/hide.md index bf16b2ef47d..f7481252332 100644 --- a/commands/docs/hide.md +++ b/commands/docs/hide.md @@ -2,7 +2,7 @@ title: hide categories: | core -version: 0.105.0 +version: 0.106.0 core: | Hide definitions in the current scope. usage: | diff --git a/commands/docs/histogram.md b/commands/docs/histogram.md index 500ac85e5be..dca447e5870 100644 --- a/commands/docs/histogram.md +++ b/commands/docs/histogram.md @@ -2,7 +2,7 @@ title: histogram categories: | chart -version: 0.105.0 +version: 0.106.0 chart: | Creates a new table with a histogram based on the column name passed in. usage: | @@ -52,12 +52,12 @@ Compute a histogram for the types of files, with frequency column named freq Compute a histogram for a list of numbers ```nu > [1 2 1] | histogram -╭────┬────────┬────────┬───────────┬─────────────┬────────────────────────────────────────────────────────────────────╮ -│ # │ value │ count │ quantile │ percentage │ frequency │ -├────┼────────┼────────┼───────────┼─────────────┼────────────────────────────────────────────────────────────────────┤ -│ 0 │ 1 │ 2 │ 0.67 │ 66.67% │ ****************************************************************** │ -│ 1 │ 2 │ 1 │ 0.33 │ 33.33% │ ********************************* │ -╰────┴────────┴────────┴───────────┴─────────────┴────────────────────────────────────────────────────────────────────╯ +╭───┬───────┬───────┬──────────┬────────────┬────────────────────────────────────────────────────────────────────╮ +│ # │ value │ count │ quantile │ percentage │ frequency │ +├───┼───────┼───────┼──────────┼────────────┼────────────────────────────────────────────────────────────────────┤ +│ 0 │ 1 │ 2 │ 0.67 │ 66.67% │ ****************************************************************** │ +│ 1 │ 2 │ 1 │ 0.33 │ 33.33% │ ********************************* │ +╰───┴───────┴───────┴──────────┴────────────┴────────────────────────────────────────────────────────────────────╯ ``` diff --git a/commands/docs/history.md b/commands/docs/history.md index cf133a8eb13..a24827280ad 100644 --- a/commands/docs/history.md +++ b/commands/docs/history.md @@ -2,7 +2,7 @@ title: history categories: | history -version: 0.105.0 +version: 0.106.0 history: | Get the command history. usage: | diff --git a/commands/docs/history_import.md b/commands/docs/history_import.md index d25877ddf49..a3c384b5445 100644 --- a/commands/docs/history_import.md +++ b/commands/docs/history_import.md @@ -2,7 +2,7 @@ title: history import categories: | history -version: 0.105.0 +version: 0.106.0 history: | Import command line history. usage: | @@ -45,7 +45,7 @@ Append `foo` to the current history Append `foo` ran from `/home` to the current history ```nu -> [[ command_line cwd ]; [ foo /home ]] | history import +> [[ command cwd ]; [ foo /home ]] | history import ``` diff --git a/commands/docs/history_session.md b/commands/docs/history_session.md index d28e1435d60..9d38bad55e5 100644 --- a/commands/docs/history_session.md +++ b/commands/docs/history_session.md @@ -2,7 +2,7 @@ title: history session categories: | history -version: 0.105.0 +version: 0.106.0 history: | Get the command history session. usage: | diff --git a/commands/docs/http.md b/commands/docs/http.md index e4f6dd29848..341552a87ed 100644 --- a/commands/docs/http.md +++ b/commands/docs/http.md @@ -2,7 +2,7 @@ title: http categories: | network -version: 0.105.0 +version: 0.106.0 network: | Various commands for working with http methods. usage: | @@ -18,16 +18,54 @@ contributors: false ## Signature -```> http {flags} ``` +```> http {flags} (URL) (data)``` + +## Flags + + - `--content-type, -t {any}`: the MIME type of content to post + - `--user, -u {any}`: the username when authenticating + - `--password, -p {any}`: the password when authenticating + - `--max-time, -m {duration}`: max duration before timeout occurs + - `--headers, -H {any}`: custom headers you want to add + - `--raw, -r`: fetch contents as text rather than a table + - `--insecure, -k`: allow insecure server connections when using SSL + - `--full, -f`: returns the full response instead of only the body + - `--allow-errors, -e`: do not fail if the server returns an error code + - `--redirect-mode, -R {string}`: What to do when encountering redirects. Default: 'follow'. Valid options: 'follow' ('f'), 'manual' ('m'), 'error' ('e'). + +## Parameters + + - `URL`: The URL to fetch the contents from. + - `data`: The contents of the post body. Required unless part of a pipeline. ## Input/output types: | input | output | | ------- | ------ | -| nothing | string | +| nothing | any | +## Examples + +Get content from example.com with default verb +```nu +> http https://www.example.com + +``` + +Post content to example.com with default verb +```nu +> http https://www.example.com 'body' + +``` + +Get content from example.com with explicit verb +```nu +> http get https://www.example.com + +``` + ## Notes -You must use one of the following subcommands. Using this command as-is will only produce this help message. +Without a subcommand but with a URL provided, it performs a GET request by default or a POST request if data is provided. You can use one of the following subcommands. Using this command as-is will only display this help message. ## Subcommands: diff --git a/commands/docs/http_delete.md b/commands/docs/http_delete.md index a428e4d60d2..0dcf28627ce 100644 --- a/commands/docs/http_delete.md +++ b/commands/docs/http_delete.md @@ -2,7 +2,7 @@ title: http delete categories: | network -version: 0.105.0 +version: 0.106.0 network: | Delete the specified resource. usage: | diff --git a/commands/docs/http_get.md b/commands/docs/http_get.md index 65527757c70..1e2655d636c 100644 --- a/commands/docs/http_get.md +++ b/commands/docs/http_get.md @@ -2,7 +2,7 @@ title: http get categories: | network -version: 0.105.0 +version: 0.106.0 network: | Fetch the contents from a URL. usage: | diff --git a/commands/docs/http_head.md b/commands/docs/http_head.md index e839f70c9dc..910cf636fef 100644 --- a/commands/docs/http_head.md +++ b/commands/docs/http_head.md @@ -2,7 +2,7 @@ title: http head categories: | network -version: 0.105.0 +version: 0.106.0 network: | Get the headers from a URL. usage: | diff --git a/commands/docs/http_options.md b/commands/docs/http_options.md index 612b3a0912d..13ba8de3161 100644 --- a/commands/docs/http_options.md +++ b/commands/docs/http_options.md @@ -2,7 +2,7 @@ title: http options categories: | network -version: 0.105.0 +version: 0.106.0 network: | Requests permitted communication options for a given URL. usage: | diff --git a/commands/docs/http_patch.md b/commands/docs/http_patch.md index 474893fb276..22402dd7302 100644 --- a/commands/docs/http_patch.md +++ b/commands/docs/http_patch.md @@ -2,7 +2,7 @@ title: http patch categories: | network -version: 0.105.0 +version: 0.106.0 network: | Patch a body to a URL. usage: | diff --git a/commands/docs/http_post.md b/commands/docs/http_post.md index f7c38718da2..ed13e22afd9 100644 --- a/commands/docs/http_post.md +++ b/commands/docs/http_post.md @@ -2,7 +2,7 @@ title: http post categories: | network -version: 0.105.0 +version: 0.106.0 network: | Post a body to a URL. usage: | diff --git a/commands/docs/http_put.md b/commands/docs/http_put.md index 3b4b5fe58fc..a2a1601f799 100644 --- a/commands/docs/http_put.md +++ b/commands/docs/http_put.md @@ -2,7 +2,7 @@ title: http put categories: | network -version: 0.105.0 +version: 0.106.0 network: | Put a body to a URL. usage: | diff --git a/commands/docs/if.md b/commands/docs/if.md index 6bbe9ed3866..da8696128a9 100644 --- a/commands/docs/if.md +++ b/commands/docs/if.md @@ -2,7 +2,7 @@ title: if categories: | core -version: 0.105.0 +version: 0.106.0 core: | Conditionally run a block. usage: | diff --git a/commands/docs/ignore.md b/commands/docs/ignore.md index 1f3ecd242b9..29abbe83886 100644 --- a/commands/docs/ignore.md +++ b/commands/docs/ignore.md @@ -2,7 +2,7 @@ title: ignore categories: | core -version: 0.105.0 +version: 0.106.0 core: | Ignore the output of the previous command in the pipeline. usage: | diff --git a/commands/docs/inc.md b/commands/docs/inc.md index d383ec3b5ab..078cd5ab9eb 100644 --- a/commands/docs/inc.md +++ b/commands/docs/inc.md @@ -2,7 +2,7 @@ title: inc categories: | default -version: 0.105.0 +version: 0.106.0 default: | Increment a value or version. Optionally use the column of a table. usage: | diff --git a/commands/docs/input.md b/commands/docs/input.md index f0bf6d7df94..1609b574ffb 100644 --- a/commands/docs/input.md +++ b/commands/docs/input.md @@ -2,7 +2,7 @@ title: input categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Get input from the user. usage: | diff --git a/commands/docs/input_list.md b/commands/docs/input_list.md index 3f7d82bbe3f..3be5bb8bb56 100644 --- a/commands/docs/input_list.md +++ b/commands/docs/input_list.md @@ -2,7 +2,7 @@ title: input list categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Interactive list selection. usage: | diff --git a/commands/docs/input_listen.md b/commands/docs/input_listen.md index 8ee6196acc9..a1d9b03cf12 100644 --- a/commands/docs/input_listen.md +++ b/commands/docs/input_listen.md @@ -2,7 +2,7 @@ title: input listen categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Listen for user interface event. usage: | diff --git a/commands/docs/insert.md b/commands/docs/insert.md index a3a67021580..2364670588f 100644 --- a/commands/docs/insert.md +++ b/commands/docs/insert.md @@ -2,7 +2,7 @@ title: insert categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Insert a new column, using an expression or closure to create each row's values. usage: | diff --git a/commands/docs/inspect.md b/commands/docs/inspect.md index 2c55aa7522b..6e8018bef95 100644 --- a/commands/docs/inspect.md +++ b/commands/docs/inspect.md @@ -2,7 +2,7 @@ title: inspect categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Inspect pipeline results while running a pipeline. usage: | diff --git a/commands/docs/interleave.md b/commands/docs/interleave.md index 335a1826c1f..00c687118a5 100644 --- a/commands/docs/interleave.md +++ b/commands/docs/interleave.md @@ -2,7 +2,7 @@ title: interleave categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Read multiple streams in parallel and combine them into one stream. usage: | diff --git a/commands/docs/into.md b/commands/docs/into.md index 63a027fc391..e6c54515329 100644 --- a/commands/docs/into.md +++ b/commands/docs/into.md @@ -2,7 +2,7 @@ title: into categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Commands to convert data from one type to another. usage: | diff --git a/commands/docs/into_binary.md b/commands/docs/into_binary.md index dacebbc5450..cade8834074 100644 --- a/commands/docs/into_binary.md +++ b/commands/docs/into_binary.md @@ -2,7 +2,7 @@ title: into binary categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert value to a binary primitive. usage: | diff --git a/commands/docs/into_bool.md b/commands/docs/into_bool.md index 8828274351a..5eb9aa85f42 100644 --- a/commands/docs/into_bool.md +++ b/commands/docs/into_bool.md @@ -2,7 +2,7 @@ title: into bool categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert value to boolean. usage: | diff --git a/commands/docs/into_cell-path.md b/commands/docs/into_cell-path.md index 2948aea4a6f..efb380f9abf 100644 --- a/commands/docs/into_cell-path.md +++ b/commands/docs/into_cell-path.md @@ -2,7 +2,7 @@ title: into cell-path categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert value to a cell-path. usage: | diff --git a/commands/docs/into_datetime.md b/commands/docs/into_datetime.md index ac91fb3a7d1..232d650d80d 100644 --- a/commands/docs/into_datetime.md +++ b/commands/docs/into_datetime.md @@ -2,7 +2,7 @@ title: into datetime categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert text or timestamp into a datetime. usage: | @@ -93,7 +93,7 @@ Sat, 27 Feb 2021 13:55:40 +0000 (4 years ago) Using a record as input ```nu > {year: 2025, month: 3, day: 30, hour: 12, minute: 15, second: 59, timezone: '+02:00'} | into datetime -Sun, 30 Mar 2025 10:15:59 +0000 (2 months ago) +Sun, 30 Mar 2025 10:15:59 +0000 (3 months ago) ``` Convert list of timestamps to datetimes diff --git a/commands/docs/into_duration.md b/commands/docs/into_duration.md index 876e003aa8a..2eb8174e8ac 100644 --- a/commands/docs/into_duration.md +++ b/commands/docs/into_duration.md @@ -2,7 +2,7 @@ title: into duration categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert value to duration. usage: | diff --git a/commands/docs/into_filesize.md b/commands/docs/into_filesize.md index dc605c88c0f..c7881365e27 100644 --- a/commands/docs/into_filesize.md +++ b/commands/docs/into_filesize.md @@ -2,7 +2,7 @@ title: into filesize categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert value to filesize. usage: | diff --git a/commands/docs/into_float.md b/commands/docs/into_float.md index b3cb4ecf52d..62ee7940546 100644 --- a/commands/docs/into_float.md +++ b/commands/docs/into_float.md @@ -2,7 +2,7 @@ title: into float categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert data into floating point number. usage: | @@ -68,5 +68,5 @@ Coerce list of ints and floats to float Convert boolean to float ```nu > true | into float -1 +1.0 ``` diff --git a/commands/docs/into_glob.md b/commands/docs/into_glob.md index ea129924b39..dbe9a222234 100644 --- a/commands/docs/into_glob.md +++ b/commands/docs/into_glob.md @@ -2,7 +2,7 @@ title: into glob categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert value to glob. usage: | diff --git a/commands/docs/into_int.md b/commands/docs/into_int.md index 33f3047e912..86cf46d2a53 100644 --- a/commands/docs/into_int.md +++ b/commands/docs/into_int.md @@ -2,7 +2,7 @@ title: into int categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert value to integer. usage: | diff --git a/commands/docs/into_record.md b/commands/docs/into_record.md index a0c3e8898d2..bf373d5c9b9 100644 --- a/commands/docs/into_record.md +++ b/commands/docs/into_record.md @@ -2,7 +2,7 @@ title: into record categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert value to record. usage: | diff --git a/commands/docs/into_sqlite.md b/commands/docs/into_sqlite.md index 3fcc6e08b38..db5ae3da084 100644 --- a/commands/docs/into_sqlite.md +++ b/commands/docs/into_sqlite.md @@ -2,7 +2,7 @@ title: into sqlite categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert table into a SQLite database. usage: | diff --git a/commands/docs/into_string.md b/commands/docs/into_string.md index e47de5aec9c..6d222d6e44e 100644 --- a/commands/docs/into_string.md +++ b/commands/docs/into_string.md @@ -2,7 +2,7 @@ title: into string categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Convert value to string. usage: | diff --git a/commands/docs/into_value.md b/commands/docs/into_value.md index 4e9082a86da..371e77935dd 100644 --- a/commands/docs/into_value.md +++ b/commands/docs/into_value.md @@ -2,7 +2,7 @@ title: into value categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Infer Nushell datatype for each cell. usage: | diff --git a/commands/docs/is-admin.md b/commands/docs/is-admin.md index 83c6bcb70b2..8901e31113e 100644 --- a/commands/docs/is-admin.md +++ b/commands/docs/is-admin.md @@ -2,7 +2,7 @@ title: is-admin categories: | core -version: 0.105.0 +version: 0.106.0 core: | Check if nushell is running with administrator or root privileges. usage: | diff --git a/commands/docs/is-empty.md b/commands/docs/is-empty.md index 4f9b3059075..ed76f4e5d69 100644 --- a/commands/docs/is-empty.md +++ b/commands/docs/is-empty.md @@ -2,7 +2,7 @@ title: is-empty categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Check for empty values. usage: | diff --git a/commands/docs/is-not-empty.md b/commands/docs/is-not-empty.md index 6b10eed7af2..906cab71bd0 100644 --- a/commands/docs/is-not-empty.md +++ b/commands/docs/is-not-empty.md @@ -2,7 +2,7 @@ title: is-not-empty categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Check for non-empty values. usage: | diff --git a/commands/docs/is-terminal.md b/commands/docs/is-terminal.md index 5f899c1f740..d261261fa57 100644 --- a/commands/docs/is-terminal.md +++ b/commands/docs/is-terminal.md @@ -2,7 +2,7 @@ title: is-terminal categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Check if stdin, stdout, or stderr is a terminal. usage: | diff --git a/commands/docs/items.md b/commands/docs/items.md index 97c975b7e5f..2afe1f94449 100644 --- a/commands/docs/items.md +++ b/commands/docs/items.md @@ -2,7 +2,7 @@ title: items categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Given a record, iterate on each pair of column name and associated value. usage: | diff --git a/commands/docs/job.md b/commands/docs/job.md index fea8db06cf5..c4a330bf908 100644 --- a/commands/docs/job.md +++ b/commands/docs/job.md @@ -2,7 +2,7 @@ title: job categories: | experimental -version: 0.105.0 +version: 0.106.0 experimental: | Various commands for working with background jobs. usage: | diff --git a/commands/docs/job_flush.md b/commands/docs/job_flush.md index 5cf4497054e..8f3bb87515f 100644 --- a/commands/docs/job_flush.md +++ b/commands/docs/job_flush.md @@ -2,7 +2,7 @@ title: job flush categories: | experimental -version: 0.105.0 +version: 0.106.0 experimental: | Clear this job's mailbox. usage: | diff --git a/commands/docs/job_id.md b/commands/docs/job_id.md index d25f147c70d..d8f0dcdb1fa 100644 --- a/commands/docs/job_id.md +++ b/commands/docs/job_id.md @@ -2,7 +2,7 @@ title: job id categories: | experimental -version: 0.105.0 +version: 0.106.0 experimental: | Get id of current job. usage: | diff --git a/commands/docs/job_kill.md b/commands/docs/job_kill.md index 1058043a42d..a098c643c7f 100644 --- a/commands/docs/job_kill.md +++ b/commands/docs/job_kill.md @@ -2,7 +2,7 @@ title: job kill categories: | experimental -version: 0.105.0 +version: 0.106.0 experimental: | Kill a background job. usage: | diff --git a/commands/docs/job_list.md b/commands/docs/job_list.md index 1c5c128a378..d10399cd84b 100644 --- a/commands/docs/job_list.md +++ b/commands/docs/job_list.md @@ -2,7 +2,7 @@ title: job list categories: | experimental -version: 0.105.0 +version: 0.106.0 experimental: | List background jobs. usage: | diff --git a/commands/docs/job_recv.md b/commands/docs/job_recv.md index 5fa3029fecd..b9dd7f93a35 100644 --- a/commands/docs/job_recv.md +++ b/commands/docs/job_recv.md @@ -2,7 +2,7 @@ title: job recv categories: | experimental -version: 0.105.0 +version: 0.106.0 experimental: | Read a message from the mailbox. usage: | diff --git a/commands/docs/job_send.md b/commands/docs/job_send.md index 9a848b3f218..91470439639 100644 --- a/commands/docs/job_send.md +++ b/commands/docs/job_send.md @@ -2,7 +2,7 @@ title: job send categories: | experimental -version: 0.105.0 +version: 0.106.0 experimental: | Send a message to the mailbox of a job. usage: | diff --git a/commands/docs/job_spawn.md b/commands/docs/job_spawn.md index 58f8ea86040..46f08ab4878 100644 --- a/commands/docs/job_spawn.md +++ b/commands/docs/job_spawn.md @@ -2,7 +2,7 @@ title: job spawn categories: | experimental -version: 0.105.0 +version: 0.106.0 experimental: | Spawn a background job and retrieve its ID. usage: | diff --git a/commands/docs/job_tag.md b/commands/docs/job_tag.md index e5c53310083..947bb5695da 100644 --- a/commands/docs/job_tag.md +++ b/commands/docs/job_tag.md @@ -2,7 +2,7 @@ title: job tag categories: | experimental -version: 0.105.0 +version: 0.106.0 experimental: | Add a description tag to a background job. usage: | diff --git a/commands/docs/job_unfreeze.md b/commands/docs/job_unfreeze.md index 7473084c8ec..6a230959a63 100644 --- a/commands/docs/job_unfreeze.md +++ b/commands/docs/job_unfreeze.md @@ -2,7 +2,7 @@ title: job unfreeze categories: | experimental -version: 0.105.0 +version: 0.106.0 experimental: | Unfreeze a frozen process job in foreground. usage: | diff --git a/commands/docs/join.md b/commands/docs/join.md index 9dec58b72f5..bbfb45cca6e 100644 --- a/commands/docs/join.md +++ b/commands/docs/join.md @@ -2,7 +2,7 @@ title: join categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Join two tables. usage: | diff --git a/commands/docs/keybindings.md b/commands/docs/keybindings.md index 613d03f2caa..0c5a9d43929 100644 --- a/commands/docs/keybindings.md +++ b/commands/docs/keybindings.md @@ -2,7 +2,7 @@ title: keybindings categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Keybindings related commands. usage: | diff --git a/commands/docs/keybindings_default.md b/commands/docs/keybindings_default.md index fa74df29eee..5cf505773f0 100644 --- a/commands/docs/keybindings_default.md +++ b/commands/docs/keybindings_default.md @@ -2,7 +2,7 @@ title: keybindings default categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | List default keybindings. usage: | diff --git a/commands/docs/keybindings_list.md b/commands/docs/keybindings_list.md index ae385660e57..8464ac10631 100644 --- a/commands/docs/keybindings_list.md +++ b/commands/docs/keybindings_list.md @@ -2,7 +2,7 @@ title: keybindings list categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | List available options that can be used to create keybindings. usage: | diff --git a/commands/docs/keybindings_listen.md b/commands/docs/keybindings_listen.md index 5a7ba957ca6..b56baef10a9 100644 --- a/commands/docs/keybindings_listen.md +++ b/commands/docs/keybindings_listen.md @@ -2,7 +2,7 @@ title: keybindings listen categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Get input from the user. usage: | diff --git a/commands/docs/kill.md b/commands/docs/kill.md index c6292509ab2..3724a938e24 100644 --- a/commands/docs/kill.md +++ b/commands/docs/kill.md @@ -2,7 +2,7 @@ title: kill categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Kill a process using the process id. usage: | diff --git a/commands/docs/last.md b/commands/docs/last.md index 0c1e65f0820..97a3b65cac2 100644 --- a/commands/docs/last.md +++ b/commands/docs/last.md @@ -2,7 +2,7 @@ title: last categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Return only the last several rows of the input. Counterpart of `first`. Opposite of `drop`. usage: | diff --git a/commands/docs/length.md b/commands/docs/length.md index 861c4ea159a..499ebebbe57 100644 --- a/commands/docs/length.md +++ b/commands/docs/length.md @@ -2,7 +2,7 @@ title: length categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Count the number of items in an input list, rows in a table, or bytes in binary data. usage: | diff --git a/commands/docs/let-env.md b/commands/docs/let-env.md index 3ddf5d5c600..508f32fffb2 100644 --- a/commands/docs/let-env.md +++ b/commands/docs/let-env.md @@ -2,7 +2,7 @@ title: let-env categories: | removed -version: 0.105.0 +version: 0.106.0 removed: | `let-env FOO = ...` has been removed, use `$env.FOO = ...` instead. usage: | diff --git a/commands/docs/let.md b/commands/docs/let.md index b09475f63ab..2ed6eb29173 100644 --- a/commands/docs/let.md +++ b/commands/docs/let.md @@ -2,7 +2,7 @@ title: let categories: | core -version: 0.105.0 +version: 0.106.0 core: | Create a variable and give it a value. usage: | diff --git a/commands/docs/lines.md b/commands/docs/lines.md index 723bab3330a..895d09a84f6 100644 --- a/commands/docs/lines.md +++ b/commands/docs/lines.md @@ -2,7 +2,7 @@ title: lines categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Converts input to lines. usage: | diff --git a/commands/docs/load-env.md b/commands/docs/load-env.md index b6d8bd17331..0dedba66179 100644 --- a/commands/docs/load-env.md +++ b/commands/docs/load-env.md @@ -2,7 +2,7 @@ title: load-env categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Loads an environment update from a record. usage: | diff --git a/commands/docs/loop.md b/commands/docs/loop.md index fe672520cf8..f8374197520 100644 --- a/commands/docs/loop.md +++ b/commands/docs/loop.md @@ -2,7 +2,7 @@ title: loop categories: | core -version: 0.105.0 +version: 0.106.0 core: | Run a block in a loop. usage: | diff --git a/commands/docs/ls.md b/commands/docs/ls.md index a5be382f196..aa83f5f5d24 100644 --- a/commands/docs/ls.md +++ b/commands/docs/ls.md @@ -2,7 +2,7 @@ title: ls categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | List the filenames, sizes, and modification times of items in a directory. usage: | diff --git a/commands/docs/match.md b/commands/docs/match.md index 53839644f7e..e09df119b9b 100644 --- a/commands/docs/match.md +++ b/commands/docs/match.md @@ -2,7 +2,7 @@ title: match categories: | core -version: 0.105.0 +version: 0.106.0 core: | Conditionally run a block on a matched value. usage: | diff --git a/commands/docs/math.md b/commands/docs/math.md index 41392c7c2f8..111bd4b813d 100644 --- a/commands/docs/math.md +++ b/commands/docs/math.md @@ -2,7 +2,7 @@ title: math categories: | math -version: 0.105.0 +version: 0.106.0 math: | Use mathematical functions as aggregate functions on a list of numbers or tables. usage: | diff --git a/commands/docs/math_abs.md b/commands/docs/math_abs.md index 442d8ecbefc..8bfd4c7d31c 100644 --- a/commands/docs/math_abs.md +++ b/commands/docs/math_abs.md @@ -2,7 +2,7 @@ title: math abs categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the absolute value of a number. usage: | diff --git a/commands/docs/math_arccos.md b/commands/docs/math_arccos.md index 6d0457822da..b92f48fae2d 100644 --- a/commands/docs/math_arccos.md +++ b/commands/docs/math_arccos.md @@ -2,7 +2,7 @@ title: math arccos categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the arccosine of the number. usage: | @@ -36,11 +36,11 @@ contributors: false Get the arccosine of 1 ```nu > 1 | math arccos -0 +0.0 ``` Get the arccosine of -1 in degrees ```nu > -1 | math arccos --degrees -180 +180.0 ``` diff --git a/commands/docs/math_arccosh.md b/commands/docs/math_arccosh.md index 4d9857fbec7..251a7641fa5 100644 --- a/commands/docs/math_arccosh.md +++ b/commands/docs/math_arccosh.md @@ -2,7 +2,7 @@ title: math arccosh categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the inverse of the hyperbolic cosine function. usage: | @@ -32,5 +32,5 @@ contributors: false Get the arccosh of 1 ```nu > 1 | math arccosh -0 +0.0 ``` diff --git a/commands/docs/math_arcsin.md b/commands/docs/math_arcsin.md index 8321576ae5f..d300dd17646 100644 --- a/commands/docs/math_arcsin.md +++ b/commands/docs/math_arcsin.md @@ -2,7 +2,7 @@ title: math arcsin categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the arcsine of the number. usage: | @@ -42,5 +42,5 @@ Get the arcsine of 1 Get the arcsine of 1 in degrees ```nu > 1 | math arcsin --degrees -90 +90.0 ``` diff --git a/commands/docs/math_arcsinh.md b/commands/docs/math_arcsinh.md index ae7a24621f5..4b2046f6443 100644 --- a/commands/docs/math_arcsinh.md +++ b/commands/docs/math_arcsinh.md @@ -2,7 +2,7 @@ title: math arcsinh categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the inverse of the hyperbolic sine function. usage: | @@ -32,5 +32,5 @@ contributors: false Get the arcsinh of 0 ```nu > 0 | math arcsinh -0 +0.0 ``` diff --git a/commands/docs/math_arctan.md b/commands/docs/math_arctan.md index 781df6fbdfb..824b2721784 100644 --- a/commands/docs/math_arctan.md +++ b/commands/docs/math_arctan.md @@ -2,7 +2,7 @@ title: math arctan categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the arctangent of the number. usage: | @@ -42,5 +42,5 @@ Get the arctangent of 1 Get the arctangent of -1 in degrees ```nu > -1 | math arctan --degrees --45 +-45.0 ``` diff --git a/commands/docs/math_arctanh.md b/commands/docs/math_arctanh.md index 27f6f7d3449..ad54182096f 100644 --- a/commands/docs/math_arctanh.md +++ b/commands/docs/math_arctanh.md @@ -2,7 +2,7 @@ title: math arctanh categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the inverse of the hyperbolic tangent function. usage: | diff --git a/commands/docs/math_avg.md b/commands/docs/math_avg.md index f2d4646b459..78ccb602e08 100644 --- a/commands/docs/math_avg.md +++ b/commands/docs/math_avg.md @@ -2,7 +2,7 @@ title: math avg categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the average of a list of numbers. usage: | @@ -39,7 +39,7 @@ contributors: false Compute the average of a list of numbers ```nu > [-50 100.0 25] | math avg -25 +25.0 ``` Compute the average of a list of durations diff --git a/commands/docs/math_ceil.md b/commands/docs/math_ceil.md index fa0d3fb36e8..118a4014622 100644 --- a/commands/docs/math_ceil.md +++ b/commands/docs/math_ceil.md @@ -2,7 +2,7 @@ title: math ceil categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the ceil of a number (smallest integer greater than or equal to that number). usage: | diff --git a/commands/docs/math_cos.md b/commands/docs/math_cos.md index a1be9c5492d..90b5c875a9c 100644 --- a/commands/docs/math_cos.md +++ b/commands/docs/math_cos.md @@ -2,7 +2,7 @@ title: math cos categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the cosine of the number. usage: | @@ -36,7 +36,7 @@ contributors: false Apply the cosine to π ```nu > 3.141592 | math cos | math round --precision 4 --1 +-1.0 ``` Apply the cosine to a list of angles in degrees diff --git a/commands/docs/math_cosh.md b/commands/docs/math_cosh.md index 96f9fa763f5..49d7ea5e9a7 100644 --- a/commands/docs/math_cosh.md +++ b/commands/docs/math_cosh.md @@ -2,7 +2,7 @@ title: math cosh categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the hyperbolic cosine of the number. usage: | diff --git a/commands/docs/math_exp.md b/commands/docs/math_exp.md index 3ddf700fe18..b15989164ee 100644 --- a/commands/docs/math_exp.md +++ b/commands/docs/math_exp.md @@ -2,7 +2,7 @@ title: math exp categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns e raised to the power of x. usage: | @@ -32,7 +32,7 @@ contributors: false Get e raised to the power of zero ```nu > 0 | math exp -1 +1.0 ``` Get e (same as 'math e') diff --git a/commands/docs/math_floor.md b/commands/docs/math_floor.md index fc790aecc3a..91fbe0cc22e 100644 --- a/commands/docs/math_floor.md +++ b/commands/docs/math_floor.md @@ -2,7 +2,7 @@ title: math floor categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the floor of a number (largest integer less than or equal to that number). usage: | diff --git a/commands/docs/math_ln.md b/commands/docs/math_ln.md index d378e0da6f3..92ab6674d89 100644 --- a/commands/docs/math_ln.md +++ b/commands/docs/math_ln.md @@ -2,7 +2,7 @@ title: math ln categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the natural logarithm. Base: (math e). usage: | @@ -32,5 +32,5 @@ contributors: false Get the natural logarithm of e ```nu > 2.7182818 | math ln | math round --precision 4 -1 +1.0 ``` diff --git a/commands/docs/math_log.md b/commands/docs/math_log.md index 5f9126c24b7..7db584f1155 100644 --- a/commands/docs/math_log.md +++ b/commands/docs/math_log.md @@ -2,7 +2,7 @@ title: math log categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the logarithm for an arbitrary base. usage: | @@ -37,7 +37,7 @@ contributors: false Get the logarithm of 100 to the base 10 ```nu > 100 | math log 10 -2 +2.0 ``` Get the log2 of a list of values diff --git a/commands/docs/math_max.md b/commands/docs/math_max.md index f5a0ded038d..421b9fb5833 100644 --- a/commands/docs/math_max.md +++ b/commands/docs/math_max.md @@ -2,7 +2,7 @@ title: math max categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the maximum of a list of values, or of columns in a table. usage: | diff --git a/commands/docs/math_median.md b/commands/docs/math_median.md index 2753db2fabe..248935706c8 100644 --- a/commands/docs/math_median.md +++ b/commands/docs/math_median.md @@ -2,7 +2,7 @@ title: math median categories: | math -version: 0.105.0 +version: 0.106.0 math: | Computes the median of a list of numbers. usage: | diff --git a/commands/docs/math_min.md b/commands/docs/math_min.md index d07b0a39fb4..f6df9052473 100644 --- a/commands/docs/math_min.md +++ b/commands/docs/math_min.md @@ -2,7 +2,7 @@ title: math min categories: | math -version: 0.105.0 +version: 0.106.0 math: | Finds the minimum within a list of values or tables. usage: | diff --git a/commands/docs/math_mode.md b/commands/docs/math_mode.md index b466a14ae38..3b91336633e 100644 --- a/commands/docs/math_mode.md +++ b/commands/docs/math_mode.md @@ -2,7 +2,7 @@ title: math mode categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the most frequent element(s) from a list of numbers or tables. usage: | diff --git a/commands/docs/math_product.md b/commands/docs/math_product.md index 52d2bb125f1..95d960cfff2 100644 --- a/commands/docs/math_product.md +++ b/commands/docs/math_product.md @@ -2,7 +2,7 @@ title: math product categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the product of a list of numbers or the products of each column of a table. usage: | diff --git a/commands/docs/math_round.md b/commands/docs/math_round.md index 3f14b79c773..72591c080e8 100644 --- a/commands/docs/math_round.md +++ b/commands/docs/math_round.md @@ -2,7 +2,7 @@ title: math round categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the input number rounded to the specified precision. usage: | diff --git a/commands/docs/math_sin.md b/commands/docs/math_sin.md index 9d65761c841..40b0e76b158 100644 --- a/commands/docs/math_sin.md +++ b/commands/docs/math_sin.md @@ -2,7 +2,7 @@ title: math sin categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the sine of the number. usage: | @@ -36,7 +36,7 @@ contributors: false Apply the sine to π/2 ```nu > 3.141592 / 2 | math sin | math round --precision 4 -1 +1.0 ``` Apply the sine to a list of angles in degrees diff --git a/commands/docs/math_sinh.md b/commands/docs/math_sinh.md index fcf44fd7caa..72560f6ded9 100644 --- a/commands/docs/math_sinh.md +++ b/commands/docs/math_sinh.md @@ -2,7 +2,7 @@ title: math sinh categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the hyperbolic sine of the number. usage: | diff --git a/commands/docs/math_sqrt.md b/commands/docs/math_sqrt.md index 6ab6c193bb5..59a42038ae1 100644 --- a/commands/docs/math_sqrt.md +++ b/commands/docs/math_sqrt.md @@ -2,7 +2,7 @@ title: math sqrt categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the square root of the input number. usage: | diff --git a/commands/docs/math_stddev.md b/commands/docs/math_stddev.md index a03342be67b..6df1303d54d 100644 --- a/commands/docs/math_stddev.md +++ b/commands/docs/math_stddev.md @@ -2,7 +2,7 @@ title: math stddev categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the standard deviation of a list of numbers, or of each column in a table. usage: | diff --git a/commands/docs/math_sum.md b/commands/docs/math_sum.md index ca7d5826870..b2c0930ec0b 100644 --- a/commands/docs/math_sum.md +++ b/commands/docs/math_sum.md @@ -2,7 +2,7 @@ title: math sum categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the sum of a list of numbers or of each column in a table. usage: | diff --git a/commands/docs/math_tan.md b/commands/docs/math_tan.md index 3e4f298e3ed..5ade44cec29 100644 --- a/commands/docs/math_tan.md +++ b/commands/docs/math_tan.md @@ -2,7 +2,7 @@ title: math tan categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the tangent of the number. usage: | @@ -36,7 +36,7 @@ contributors: false Apply the tangent to π/4 ```nu > 3.141592 / 4 | math tan | math round --precision 4 -1 +1.0 ``` Apply the tangent to a list of angles in degrees diff --git a/commands/docs/math_tanh.md b/commands/docs/math_tanh.md index 0c02e8d0897..40f104e8eac 100644 --- a/commands/docs/math_tanh.md +++ b/commands/docs/math_tanh.md @@ -2,7 +2,7 @@ title: math tanh categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the hyperbolic tangent of the number. usage: | @@ -32,5 +32,5 @@ contributors: false Apply the hyperbolic tangent to 10*π ```nu > 3.141592 * 10 | math tanh | math round --precision 4 -1 +1.0 ``` diff --git a/commands/docs/math_variance.md b/commands/docs/math_variance.md index 23ff3b430db..5624e90a00c 100644 --- a/commands/docs/math_variance.md +++ b/commands/docs/math_variance.md @@ -2,7 +2,7 @@ title: math variance categories: | math -version: 0.105.0 +version: 0.106.0 math: | Returns the variance of a list of numbers or of each column in a table. usage: | @@ -38,7 +38,7 @@ contributors: false Get the variance of a list of numbers ```nu > [1 2 3 4 5] | math variance -2 +2.0 ``` Get the sample variance of a list of numbers diff --git a/commands/docs/merge.md b/commands/docs/merge.md index 042d10879ee..11f1a4c7b2f 100644 --- a/commands/docs/merge.md +++ b/commands/docs/merge.md @@ -2,7 +2,7 @@ title: merge categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Merge the input with a record or table, overwriting values in matching columns. usage: | diff --git a/commands/docs/merge_deep.md b/commands/docs/merge_deep.md index 471d877b6e7..a980c392d61 100644 --- a/commands/docs/merge_deep.md +++ b/commands/docs/merge_deep.md @@ -2,7 +2,7 @@ title: merge deep categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Merge the input with a record or table, recursively merging values in matching columns. usage: | diff --git a/commands/docs/metadata.md b/commands/docs/metadata.md index 5249c39e927..9467c662084 100644 --- a/commands/docs/metadata.md +++ b/commands/docs/metadata.md @@ -2,7 +2,7 @@ title: metadata categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Get the metadata for items in the stream. usage: | diff --git a/commands/docs/metadata_access.md b/commands/docs/metadata_access.md index 3696a8779d3..cfcc9810b34 100644 --- a/commands/docs/metadata_access.md +++ b/commands/docs/metadata_access.md @@ -2,7 +2,7 @@ title: metadata access categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Access the metadata for the input stream within a closure. usage: | @@ -34,11 +34,9 @@ contributors: false Access metadata and data from a stream together ```nu -> {foo: bar} | to json --raw | metadata access {|meta| {in: $in, meta: $meta}} -╭──────┬─────────────────────────────────────╮ -│ in │ {"foo":"bar"} │ -│ │ ╭──────────────┬──────────────────╮ │ -│ meta │ │ content_type │ application/json │ │ -│ │ ╰──────────────┴──────────────────╯ │ -╰──────┴─────────────────────────────────────╯ +> {foo: bar} | to json --raw | metadata access {|meta| {in: $in, content: $meta.content_type}} +╭─────────┬──────────────────╮ +│ in │ {"foo":"bar"} │ +│ content │ application/json │ +╰─────────┴──────────────────╯ ``` diff --git a/commands/docs/metadata_set.md b/commands/docs/metadata_set.md index 8caa5203456..92bff92c2ac 100644 --- a/commands/docs/metadata_set.md +++ b/commands/docs/metadata_set.md @@ -2,7 +2,7 @@ title: metadata set categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Set the metadata for items in the stream. usage: | @@ -42,14 +42,12 @@ Set the metadata of a table literal Set the metadata of a file path ```nu -> 'crates' | metadata set --datasource-filepath $'(pwd)/crates' | metadata +> 'crates' | metadata set --datasource-filepath $'(pwd)/crates' ``` Set the metadata of a file path ```nu -> 'crates' | metadata set --content-type text/plain | metadata -╭──────────────┬────────────╮ -│ content_type │ text/plain │ -╰──────────────┴────────────╯ +> 'crates' | metadata set --content-type text/plain | metadata | get content_type +text/plain ``` diff --git a/commands/docs/mkdir.md b/commands/docs/mkdir.md index 348764f9318..13e0eecbfbf 100644 --- a/commands/docs/mkdir.md +++ b/commands/docs/mkdir.md @@ -2,7 +2,7 @@ title: mkdir categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Create directories, with intermediary directories if required using uutils/coreutils mkdir. usage: | diff --git a/commands/docs/mktemp.md b/commands/docs/mktemp.md index 736d0327ed9..dd70d46c416 100644 --- a/commands/docs/mktemp.md +++ b/commands/docs/mktemp.md @@ -2,7 +2,7 @@ title: mktemp categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Create temporary files or directories using uutils/coreutils mktemp. usage: | diff --git a/commands/docs/module.md b/commands/docs/module.md index 64f93da9766..3d6e94fa408 100644 --- a/commands/docs/module.md +++ b/commands/docs/module.md @@ -2,7 +2,7 @@ title: module categories: | core -version: 0.105.0 +version: 0.106.0 core: | Define a custom module. usage: | diff --git a/commands/docs/move.md b/commands/docs/move.md index 0181851f623..24404e4b230 100644 --- a/commands/docs/move.md +++ b/commands/docs/move.md @@ -2,7 +2,7 @@ title: move categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Moves columns relative to other columns or make them the first/last columns. Flags are mutually exclusive. usage: | diff --git a/commands/docs/mut.md b/commands/docs/mut.md index f1c2080946e..20831946732 100644 --- a/commands/docs/mut.md +++ b/commands/docs/mut.md @@ -2,7 +2,7 @@ title: mut categories: | core -version: 0.105.0 +version: 0.106.0 core: | Create a mutable variable and give it a value. usage: | diff --git a/commands/docs/mv.md b/commands/docs/mv.md index eba4b2953e2..7c3d59e1fa5 100644 --- a/commands/docs/mv.md +++ b/commands/docs/mv.md @@ -2,7 +2,7 @@ title: mv categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Move files or directories using uutils/coreutils mv. usage: | diff --git a/commands/docs/nu-check.md b/commands/docs/nu-check.md index b68db43fbdc..37ba4da4891 100644 --- a/commands/docs/nu-check.md +++ b/commands/docs/nu-check.md @@ -2,7 +2,7 @@ title: nu-check categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Validate and parse input content. usage: | diff --git a/commands/docs/nu-highlight.md b/commands/docs/nu-highlight.md index fb7a1d2ea4b..e3bb7acbb1c 100644 --- a/commands/docs/nu-highlight.md +++ b/commands/docs/nu-highlight.md @@ -2,7 +2,7 @@ title: nu-highlight categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Syntax highlight the input string. usage: | @@ -20,6 +20,10 @@ contributors: false ```> nu-highlight {flags} ``` +## Flags + + - `--reject-garbage, -r`: Return an error if invalid syntax (garbage) was encountered + ## Input/output types: diff --git a/commands/docs/open.md b/commands/docs/open.md index fb4f26b3f82..19d91180992 100644 --- a/commands/docs/open.md +++ b/commands/docs/open.md @@ -2,7 +2,7 @@ title: open categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Load a file into a cell, converting to table if possible (avoid by appending '--raw'). usage: | diff --git a/commands/docs/overlay.md b/commands/docs/overlay.md index 2617a5d6554..8467ad6bbdb 100644 --- a/commands/docs/overlay.md +++ b/commands/docs/overlay.md @@ -2,7 +2,7 @@ title: overlay categories: | core -version: 0.105.0 +version: 0.106.0 core: | Commands for manipulating overlays. usage: | diff --git a/commands/docs/overlay_hide.md b/commands/docs/overlay_hide.md index 4bcfc40e686..fef9c706ca0 100644 --- a/commands/docs/overlay_hide.md +++ b/commands/docs/overlay_hide.md @@ -2,7 +2,7 @@ title: overlay hide categories: | core -version: 0.105.0 +version: 0.106.0 core: | Hide an active overlay. usage: | diff --git a/commands/docs/overlay_list.md b/commands/docs/overlay_list.md index 853c46d9b01..68c887fe6b5 100644 --- a/commands/docs/overlay_list.md +++ b/commands/docs/overlay_list.md @@ -2,7 +2,7 @@ title: overlay list categories: | core -version: 0.105.0 +version: 0.106.0 core: | List all active overlays. usage: | diff --git a/commands/docs/overlay_new.md b/commands/docs/overlay_new.md index e529681d13d..18ca3710b22 100644 --- a/commands/docs/overlay_new.md +++ b/commands/docs/overlay_new.md @@ -2,7 +2,7 @@ title: overlay new categories: | core -version: 0.105.0 +version: 0.106.0 core: | Create an empty overlay. usage: | diff --git a/commands/docs/overlay_use.md b/commands/docs/overlay_use.md index 31ab5c65ea1..a545e7db0a3 100644 --- a/commands/docs/overlay_use.md +++ b/commands/docs/overlay_use.md @@ -2,7 +2,7 @@ title: overlay use categories: | core -version: 0.105.0 +version: 0.106.0 core: | Use definitions from a module as an overlay. usage: | diff --git a/commands/docs/panic.md b/commands/docs/panic.md index 4c2e6303699..139a65b6f4a 100644 --- a/commands/docs/panic.md +++ b/commands/docs/panic.md @@ -2,7 +2,7 @@ title: panic categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Causes nushell to panic. usage: | diff --git a/commands/docs/par-each.md b/commands/docs/par-each.md index a7d26b6547c..90dd0644248 100644 --- a/commands/docs/par-each.md +++ b/commands/docs/par-each.md @@ -2,7 +2,7 @@ title: par-each categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Run a closure on each row of the input list in parallel, creating a new list with the results. usage: | diff --git a/commands/docs/parse.md b/commands/docs/parse.md index 23385db0698..407f95c3894 100644 --- a/commands/docs/parse.md +++ b/commands/docs/parse.md @@ -2,7 +2,7 @@ title: parse categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Parse columns from string data using a simple pattern or a supplied regular expression. usage: | @@ -23,6 +23,7 @@ contributors: false ## Flags - `--regex, -r`: use full regex syntax for patterns + - `--backtrack, -b {int}`: set the max backtrack limit for regex ## Parameters @@ -115,5 +116,16 @@ Parse a string using fancy-regex look ahead atomic group pattern ``` +Parse a string with a manually set fancy-regex backtrack limit +```nu +> "hi there" | parse --backtrack 1500000 "{foo} {bar}" +╭───┬─────┬───────╮ +│ # │ foo │ bar │ +├───┼─────┼───────┤ +│ 0 │ hi │ there │ +╰───┴─────┴───────╯ + +``` + ## Notes The parse command always uses regular expressions even when you use a simple pattern. If a simple pattern is supplied, parse will transform that pattern into a regular expression. \ No newline at end of file diff --git a/commands/docs/path.md b/commands/docs/path.md index 5a7db89430d..91d6ce2547f 100644 --- a/commands/docs/path.md +++ b/commands/docs/path.md @@ -2,7 +2,7 @@ title: path categories: | path -version: 0.105.0 +version: 0.106.0 path: | Explore and manipulate paths. usage: | diff --git a/commands/docs/path_basename.md b/commands/docs/path_basename.md index cf7c24a1c71..87cc0ef7435 100644 --- a/commands/docs/path_basename.md +++ b/commands/docs/path_basename.md @@ -2,7 +2,7 @@ title: path basename categories: | path -version: 0.105.0 +version: 0.106.0 path: | Get the final component of a path. usage: | diff --git a/commands/docs/path_dirname.md b/commands/docs/path_dirname.md index 3e4b46ae7ae..e6465bedf15 100644 --- a/commands/docs/path_dirname.md +++ b/commands/docs/path_dirname.md @@ -2,7 +2,7 @@ title: path dirname categories: | path -version: 0.105.0 +version: 0.106.0 path: | Get the parent directory of a path. usage: | diff --git a/commands/docs/path_exists.md b/commands/docs/path_exists.md index 554d4f217d9..69f4c31b72b 100644 --- a/commands/docs/path_exists.md +++ b/commands/docs/path_exists.md @@ -2,7 +2,7 @@ title: path exists categories: | path -version: 0.105.0 +version: 0.106.0 path: | Check whether a path exists. usage: | diff --git a/commands/docs/path_expand.md b/commands/docs/path_expand.md index ae675c16390..434747ff54c 100644 --- a/commands/docs/path_expand.md +++ b/commands/docs/path_expand.md @@ -2,7 +2,7 @@ title: path expand categories: | path -version: 0.105.0 +version: 0.106.0 path: | Try to expand a path to its absolute form. usage: | diff --git a/commands/docs/path_join.md b/commands/docs/path_join.md index 57cd6dc6ca2..ba7fdcf744d 100644 --- a/commands/docs/path_join.md +++ b/commands/docs/path_join.md @@ -2,7 +2,7 @@ title: path join categories: | path -version: 0.105.0 +version: 0.106.0 path: | Join a structured path or a list of path parts. usage: | diff --git a/commands/docs/path_parse.md b/commands/docs/path_parse.md index 423ce38e4f3..b6f0bf54972 100644 --- a/commands/docs/path_parse.md +++ b/commands/docs/path_parse.md @@ -2,7 +2,7 @@ title: path parse categories: | path -version: 0.105.0 +version: 0.106.0 path: | Convert a path into structured data. usage: | diff --git a/commands/docs/path_relative-to.md b/commands/docs/path_relative-to.md index 96f5c6b9042..e8d882c1693 100644 --- a/commands/docs/path_relative-to.md +++ b/commands/docs/path_relative-to.md @@ -2,7 +2,7 @@ title: path relative-to categories: | path -version: 0.105.0 +version: 0.106.0 path: | Express a path as relative to another path. usage: | diff --git a/commands/docs/path_self.md b/commands/docs/path_self.md index 134c63dc17a..529d74d574f 100644 --- a/commands/docs/path_self.md +++ b/commands/docs/path_self.md @@ -2,7 +2,7 @@ title: path self categories: | path -version: 0.105.0 +version: 0.106.0 path: | Get the absolute path of the script or module containing this command at parse time. usage: | diff --git a/commands/docs/path_split.md b/commands/docs/path_split.md index 2732447a625..8b7ae2febc0 100644 --- a/commands/docs/path_split.md +++ b/commands/docs/path_split.md @@ -2,7 +2,7 @@ title: path split categories: | path -version: 0.105.0 +version: 0.106.0 path: | Split a path into a list based on the system's path separator. usage: | diff --git a/commands/docs/path_type.md b/commands/docs/path_type.md index 2e0f7c95a44..a5715e7fa06 100644 --- a/commands/docs/path_type.md +++ b/commands/docs/path_type.md @@ -2,7 +2,7 @@ title: path type categories: | path -version: 0.105.0 +version: 0.106.0 path: | Get the type of the object a path refers to (e.g., file, dir, symlink). usage: | diff --git a/commands/docs/plugin.md b/commands/docs/plugin.md index 5fbd1a4c549..64341c685c0 100644 --- a/commands/docs/plugin.md +++ b/commands/docs/plugin.md @@ -2,7 +2,7 @@ title: plugin categories: | plugin -version: 0.105.0 +version: 0.106.0 plugin: | Commands for managing plugins. usage: | diff --git a/commands/docs/plugin_add.md b/commands/docs/plugin_add.md index 636b1f596cd..afe207f7854 100644 --- a/commands/docs/plugin_add.md +++ b/commands/docs/plugin_add.md @@ -2,7 +2,7 @@ title: plugin add categories: | plugin -version: 0.105.0 +version: 0.106.0 plugin: | Add a plugin to the plugin registry file. usage: | diff --git a/commands/docs/plugin_list.md b/commands/docs/plugin_list.md index 320c5273d4e..a9939911023 100644 --- a/commands/docs/plugin_list.md +++ b/commands/docs/plugin_list.md @@ -2,7 +2,7 @@ title: plugin list categories: | plugin -version: 0.105.0 +version: 0.106.0 plugin: | List loaded and installed plugins. usage: | @@ -37,13 +37,13 @@ contributors: false List installed plugins. ```nu > plugin list -╭─────┬────────┬──────────────────────┬───────────┬──────────┬────────────────────────────────┬────────┬──────────────╮ -│ # │ name │ version │ status │ pid │ filename │ shell │ commands │ -├─────┼────────┼──────────────────────┼───────────┼──────────┼────────────────────────────────┼────────┼──────────────┤ -│ 0 │ inc │ 0.105.0 │ running │ 106480 │ /opt/nu/plugins/nu_plugin_inc │ │ ╭───┬─────╮ │ -│ │ │ │ │ │ │ │ │ 0 │ inc │ │ -│ │ │ │ │ │ │ │ ╰───┴─────╯ │ -╰─────┴────────┴──────────────────────┴───────────┴──────────┴────────────────────────────────┴────────┴──────────────╯ +╭───┬──────┬────────────────────┬─────────┬────────┬───────────────────────────────┬───────┬─────────────╮ +│ # │ name │ version │ status │ pid │ filename │ shell │ commands │ +├───┼──────┼────────────────────┼─────────┼────────┼───────────────────────────────┼───────┼─────────────┤ +│ 0 │ inc │ 0.106.0 │ running │ 106480 │ /opt/nu/plugins/nu_plugin_inc │ │ ╭───┬─────╮ │ +│ │ │ │ │ │ │ │ │ 0 │ inc │ │ +│ │ │ │ │ │ │ │ ╰───┴─────╯ │ +╰───┴──────┴────────────────────┴─────────┴────────┴───────────────────────────────┴───────┴─────────────╯ ``` diff --git a/commands/docs/plugin_rm.md b/commands/docs/plugin_rm.md index ce62f5b5390..766f65c5ca0 100644 --- a/commands/docs/plugin_rm.md +++ b/commands/docs/plugin_rm.md @@ -2,7 +2,7 @@ title: plugin rm categories: | plugin -version: 0.105.0 +version: 0.106.0 plugin: | Remove a plugin from the plugin registry file. usage: | diff --git a/commands/docs/plugin_stop.md b/commands/docs/plugin_stop.md index 2d8d57acdf1..6a3465bb001 100644 --- a/commands/docs/plugin_stop.md +++ b/commands/docs/plugin_stop.md @@ -2,7 +2,7 @@ title: plugin stop categories: | plugin -version: 0.105.0 +version: 0.106.0 plugin: | Stop an installed plugin if it was running. usage: | diff --git a/commands/docs/plugin_use.md b/commands/docs/plugin_use.md index 0c008b77ee2..815413f023f 100644 --- a/commands/docs/plugin_use.md +++ b/commands/docs/plugin_use.md @@ -2,7 +2,7 @@ title: plugin use categories: | plugin -version: 0.105.0 +version: 0.106.0 plugin: | Load a plugin from the plugin registry file into scope. usage: | diff --git a/commands/docs/polars.md b/commands/docs/polars.md index f6e62974cbe..b4d6bdd5d44 100644 --- a/commands/docs/polars.md +++ b/commands/docs/polars.md @@ -2,7 +2,7 @@ title: polars categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Operate with data in a dataframe format. usage: | diff --git a/commands/docs/polars_agg-groups.md b/commands/docs/polars_agg-groups.md index ab57e5dca1c..5d1aa4d7891 100644 --- a/commands/docs/polars_agg-groups.md +++ b/commands/docs/polars_agg-groups.md @@ -2,7 +2,7 @@ title: polars agg-groups categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates an agg_groups expression. usage: | diff --git a/commands/docs/polars_agg.md b/commands/docs/polars_agg.md index c0e944362fd..e426f311400 100644 --- a/commands/docs/polars_agg.md +++ b/commands/docs/polars_agg.md @@ -2,7 +2,7 @@ title: polars agg categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Performs a series of aggregations from a group-by. usage: | diff --git a/commands/docs/polars_all-false.md b/commands/docs/polars_all-false.md index 57edf6a12e1..8cf4bf49364 100644 --- a/commands/docs/polars_all-false.md +++ b/commands/docs/polars_all-false.md @@ -2,7 +2,7 @@ title: polars all-false categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Returns true if all values are false. usage: | diff --git a/commands/docs/polars_all-true.md b/commands/docs/polars_all-true.md index beff918b2c8..aeb8591dc35 100644 --- a/commands/docs/polars_all-true.md +++ b/commands/docs/polars_all-true.md @@ -2,7 +2,7 @@ title: polars all-true categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Returns true if all values are true. usage: | diff --git a/commands/docs/polars_append.md b/commands/docs/polars_append.md index 9fdbb4073ae..982d64835cc 100644 --- a/commands/docs/polars_append.md +++ b/commands/docs/polars_append.md @@ -2,7 +2,7 @@ title: polars append categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Appends a new dataframe. usage: | diff --git a/commands/docs/polars_arg-max.md b/commands/docs/polars_arg-max.md index 57cb5bcfc5d..c537fcb58fc 100644 --- a/commands/docs/polars_arg-max.md +++ b/commands/docs/polars_arg-max.md @@ -2,7 +2,7 @@ title: polars arg-max categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Return index for max value in series. usage: | diff --git a/commands/docs/polars_arg-min.md b/commands/docs/polars_arg-min.md index 768659dd9a3..475b5f896d3 100644 --- a/commands/docs/polars_arg-min.md +++ b/commands/docs/polars_arg-min.md @@ -2,7 +2,7 @@ title: polars arg-min categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Return index for min value in series. usage: | diff --git a/commands/docs/polars_arg-sort.md b/commands/docs/polars_arg-sort.md index 4595cf7d29d..b75ea5eb2ef 100644 --- a/commands/docs/polars_arg-sort.md +++ b/commands/docs/polars_arg-sort.md @@ -2,7 +2,7 @@ title: polars arg-sort categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Returns indexes for a sorted series. usage: | @@ -31,6 +31,7 @@ See the [Plugins](/book/plugins.html) chapter in the book for more information. - `--reverse, -r`: reverse order - `--nulls-last, -n`: nulls ordered last + - `--limit, -l {int}`: Limit a sort output, this is for optimization purposes and might be ignored. - `--maintain-order, -m`: maintain order on sorted items @@ -70,3 +71,15 @@ Returns indexes for a sorted series ╰───┴──────────╯ ``` + +Returns indexes for a sorted series and applying a limit +```nu +> [1 2 2 3 3] | polars into-df | polars arg-sort --limit 2 +╭───┬──────────╮ +│ # │ arg_sort │ +├───┼──────────┤ +│ 0 │ 0 │ +│ 1 │ 1 │ +╰───┴──────────╯ + +``` diff --git a/commands/docs/polars_arg-true.md b/commands/docs/polars_arg-true.md index 8ae3a8411c1..c3ead594954 100644 --- a/commands/docs/polars_arg-true.md +++ b/commands/docs/polars_arg-true.md @@ -2,7 +2,7 @@ title: polars arg-true categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Returns indexes where values are true. usage: | diff --git a/commands/docs/polars_arg-unique.md b/commands/docs/polars_arg-unique.md index 50748657f47..364a2e2c2f2 100644 --- a/commands/docs/polars_arg-unique.md +++ b/commands/docs/polars_arg-unique.md @@ -2,7 +2,7 @@ title: polars arg-unique categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Returns indexes for unique values. usage: | diff --git a/commands/docs/polars_arg-where.md b/commands/docs/polars_arg-where.md index e9b1bf019ec..ed6ba392a31 100644 --- a/commands/docs/polars_arg-where.md +++ b/commands/docs/polars_arg-where.md @@ -2,7 +2,7 @@ title: polars arg-where categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Creates an expression that returns the arguments where expression is true. usage: | diff --git a/commands/docs/polars_as-date.md b/commands/docs/polars_as-date.md index 7bb37272aa1..cc5f0371817 100644 --- a/commands/docs/polars_as-date.md +++ b/commands/docs/polars_as-date.md @@ -2,7 +2,7 @@ title: polars as-date categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Converts string to date. usage: | diff --git a/commands/docs/polars_as-datetime.md b/commands/docs/polars_as-datetime.md index b63b054faa1..0cbaa6ca931 100644 --- a/commands/docs/polars_as-datetime.md +++ b/commands/docs/polars_as-datetime.md @@ -2,7 +2,7 @@ title: polars as-datetime categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Converts string to datetime. usage: | @@ -92,10 +92,10 @@ Converts string to datetime using the `--not-exact` flag even with excessive sym ╭───┬─────────────╮ │ # │ datetime │ ├───┼─────────────┤ -│ 0 │ in 4 months │ -│ 1 │ in 4 months │ -│ 2 │ in 4 months │ -│ 3 │ in 4 months │ +│ 0 │ in 3 months │ +│ 1 │ in 3 months │ +│ 2 │ in 3 months │ +│ 3 │ in 3 months │ ╰───┴─────────────╯ ``` diff --git a/commands/docs/polars_as.md b/commands/docs/polars_as.md index 6cdd89235b4..035e7118d1a 100644 --- a/commands/docs/polars_as.md +++ b/commands/docs/polars_as.md @@ -2,7 +2,7 @@ title: polars as categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Creates an alias expression. usage: | diff --git a/commands/docs/polars_cache.md b/commands/docs/polars_cache.md index 485dd26c2fa..baa1ce37022 100644 --- a/commands/docs/polars_cache.md +++ b/commands/docs/polars_cache.md @@ -2,7 +2,7 @@ title: polars cache categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Caches operations in a new LazyFrame. usage: | diff --git a/commands/docs/polars_cast.md b/commands/docs/polars_cast.md index 013961baf65..7fb29b6b39e 100644 --- a/commands/docs/polars_cast.md +++ b/commands/docs/polars_cast.md @@ -2,7 +2,7 @@ title: polars cast categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Cast a column to a different dtype. usage: | diff --git a/commands/docs/polars_col.md b/commands/docs/polars_col.md index 7d32e459f89..784d0d8a981 100644 --- a/commands/docs/polars_col.md +++ b/commands/docs/polars_col.md @@ -2,7 +2,7 @@ title: polars col categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Creates a named column expression. usage: | diff --git a/commands/docs/polars_collect.md b/commands/docs/polars_collect.md index 2a17605fbdd..1f9fcaafb93 100644 --- a/commands/docs/polars_collect.md +++ b/commands/docs/polars_collect.md @@ -2,7 +2,7 @@ title: polars collect categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Collect lazy dataframe into eager dataframe. usage: | diff --git a/commands/docs/polars_columns.md b/commands/docs/polars_columns.md index 41714b0a024..b4898f680ff 100644 --- a/commands/docs/polars_columns.md +++ b/commands/docs/polars_columns.md @@ -2,7 +2,7 @@ title: polars columns categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Show dataframe columns. usage: | diff --git a/commands/docs/polars_concat-str.md b/commands/docs/polars_concat-str.md index c2a92253121..edd62ce8dff 100644 --- a/commands/docs/polars_concat-str.md +++ b/commands/docs/polars_concat-str.md @@ -2,7 +2,7 @@ title: polars concat-str categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Creates a concat string expression. usage: | diff --git a/commands/docs/polars_concat.md b/commands/docs/polars_concat.md index bc3a730270e..b71d4deb117 100644 --- a/commands/docs/polars_concat.md +++ b/commands/docs/polars_concat.md @@ -2,7 +2,7 @@ title: polars concat categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Concatenate two or more dataframes. usage: | diff --git a/commands/docs/polars_contains.md b/commands/docs/polars_contains.md index 491d58df312..6cc2de4cf28 100644 --- a/commands/docs/polars_contains.md +++ b/commands/docs/polars_contains.md @@ -2,7 +2,7 @@ title: polars contains categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Checks if a pattern is contained in a string. usage: | diff --git a/commands/docs/polars_convert-time-zone.md b/commands/docs/polars_convert-time-zone.md index 2fb44308e69..ad43ca94b13 100644 --- a/commands/docs/polars_convert-time-zone.md +++ b/commands/docs/polars_convert-time-zone.md @@ -2,7 +2,7 @@ title: polars convert-time-zone categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Convert datetime to target timezone. usage: | @@ -47,8 +47,8 @@ Convert timezone for timezone-aware datetime ╭───┬──────────────╮ │ # │ datetime │ ├───┼──────────────┤ -│ 0 │ 2 months ago │ -│ 1 │ 2 months ago │ +│ 0 │ 3 months ago │ +│ 1 │ 3 months ago │ ╰───┴──────────────╯ ``` @@ -61,8 +61,8 @@ Timezone conversions for timezone-naive datetime will assume the original timezo ╭───┬──────────────╮ │ # │ datetime │ ├───┼──────────────┤ -│ 0 │ 2 months ago │ -│ 1 │ 2 months ago │ +│ 0 │ 3 months ago │ +│ 1 │ 3 months ago │ ╰───┴──────────────╯ ``` diff --git a/commands/docs/polars_count-null.md b/commands/docs/polars_count-null.md index 391574028cd..2e6e4e068ad 100644 --- a/commands/docs/polars_count-null.md +++ b/commands/docs/polars_count-null.md @@ -2,7 +2,7 @@ title: polars count-null categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Counts null values. usage: | diff --git a/commands/docs/polars_count.md b/commands/docs/polars_count.md index a5103bf6b8d..66344dda427 100644 --- a/commands/docs/polars_count.md +++ b/commands/docs/polars_count.md @@ -2,7 +2,7 @@ title: polars count categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Returns the number of non-null values in the column. usage: | diff --git a/commands/docs/polars_cumulative.md b/commands/docs/polars_cumulative.md index f5ba87c0121..43c3708c007 100644 --- a/commands/docs/polars_cumulative.md +++ b/commands/docs/polars_cumulative.md @@ -2,7 +2,7 @@ title: polars cumulative categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Cumulative calculation for a column or series. usage: | diff --git a/commands/docs/polars_cut.md b/commands/docs/polars_cut.md index 3959b7d66f2..4ee9e22c3d9 100644 --- a/commands/docs/polars_cut.md +++ b/commands/docs/polars_cut.md @@ -2,7 +2,7 @@ title: polars cut categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Bin continuous values into discrete categories for a series. usage: | diff --git a/commands/docs/polars_datepart.md b/commands/docs/polars_datepart.md index f210f3915c4..9321c7289ce 100644 --- a/commands/docs/polars_datepart.md +++ b/commands/docs/polars_datepart.md @@ -2,7 +2,7 @@ title: polars datepart categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Creates an expression for capturing the specified datepart in a column. usage: | @@ -60,28 +60,10 @@ Creates an expression to capture multiple date parts (polars col datetime | polars datepart minute | polars as datetime_minute ), (polars col datetime | polars datepart second | polars as datetime_second ), (polars col datetime | polars datepart nanosecond | polars as datetime_ns ) ] -╭───┬─────────────┬───────────────┬────────────────┬──────────────┬───────────────┬─────────────────┬─────────────┬───╮ -│ # │ datetime │ datetime_year │ datetime_month │ datetime_day │ datetime_hour │ datetime_minute │ datetime_se │ d │ -│ │ │ │ │ │ │ │ cond │ a │ -│ │ │ │ │ │ │ │ │ t │ -│ │ │ │ │ │ │ │ │ e │ -│ │ │ │ │ │ │ │ │ t │ -│ │ │ │ │ │ │ │ │ i │ -│ │ │ │ │ │ │ │ │ m │ -│ │ │ │ │ │ │ │ │ e │ -│ │ │ │ │ │ │ │ │ _ │ -│ │ │ │ │ │ │ │ │ n │ -│ │ │ │ │ │ │ │ │ s │ -├───┼─────────────┼───────────────┼────────────────┼──────────────┼───────────────┼─────────────────┼─────────────┼───┤ -│ 0 │ 3 years ago │ 2021 │ 12 │ 30 │ 1 │ 2 │ 3 │ 1 │ -│ │ │ │ │ │ │ │ │ 2 │ -│ │ │ │ │ │ │ │ │ 3 │ -│ │ │ │ │ │ │ │ │ 4 │ -│ │ │ │ │ │ │ │ │ 5 │ -│ │ │ │ │ │ │ │ │ 6 │ -│ │ │ │ │ │ │ │ │ 7 │ -│ │ │ │ │ │ │ │ │ 8 │ -│ │ │ │ │ │ │ │ │ 9 │ -╰───┴─────────────┴───────────────┴────────────────┴──────────────┴───────────────┴─────────────────┴─────────────┴───╯ +╭───┬─────────────┬───────────────┬────────────────┬──────────────┬───────────────┬─────────────────┬─────────────────┬─────────────╮ +│ # │ datetime │ datetime_year │ datetime_month │ datetime_day │ datetime_hour │ datetime_minute │ datetime_second │ datetime_ns │ +├───┼─────────────┼───────────────┼────────────────┼──────────────┼───────────────┼─────────────────┼─────────────────┼─────────────┤ +│ 0 │ 3 years ago │ 2021 │ 12 │ 30 │ 1 │ 2 │ 3 │ 123456789 │ +╰───┴─────────────┴───────────────┴────────────────┴──────────────┴───────────────┴─────────────────┴─────────────────┴─────────────╯ ``` diff --git a/commands/docs/polars_decimal.md b/commands/docs/polars_decimal.md index 543e76320a2..ac9a7380d68 100644 --- a/commands/docs/polars_decimal.md +++ b/commands/docs/polars_decimal.md @@ -2,7 +2,7 @@ title: polars decimal categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Converts a string column into a decimal column usage: | diff --git a/commands/docs/polars_drop-duplicates.md b/commands/docs/polars_drop-duplicates.md index 2ffcb97e87c..d80ddc4a2ca 100644 --- a/commands/docs/polars_drop-duplicates.md +++ b/commands/docs/polars_drop-duplicates.md @@ -2,7 +2,7 @@ title: polars drop-duplicates categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Drops duplicate values in dataframe. usage: | diff --git a/commands/docs/polars_drop-nulls.md b/commands/docs/polars_drop-nulls.md index 0b46e7e681d..2e772576975 100644 --- a/commands/docs/polars_drop-nulls.md +++ b/commands/docs/polars_drop-nulls.md @@ -2,7 +2,7 @@ title: polars drop-nulls categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Drops null values in dataframe. usage: | diff --git a/commands/docs/polars_drop.md b/commands/docs/polars_drop.md index 5640c6e7a31..18b7204a26a 100644 --- a/commands/docs/polars_drop.md +++ b/commands/docs/polars_drop.md @@ -2,7 +2,7 @@ title: polars drop categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates a new dataframe by dropping the selected columns. usage: | diff --git a/commands/docs/polars_dummies.md b/commands/docs/polars_dummies.md index b4035b22c08..3e59826c0d7 100644 --- a/commands/docs/polars_dummies.md +++ b/commands/docs/polars_dummies.md @@ -2,7 +2,7 @@ title: polars dummies categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates a new dataframe with dummy variables. usage: | diff --git a/commands/docs/polars_explode.md b/commands/docs/polars_explode.md index 5a5625af5a3..5b2fd8e8a35 100644 --- a/commands/docs/polars_explode.md +++ b/commands/docs/polars_explode.md @@ -2,7 +2,7 @@ title: polars explode categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Explodes a dataframe or creates a explode expression. usage: | diff --git a/commands/docs/polars_expr-not.md b/commands/docs/polars_expr-not.md index 7a04c1f8c4f..c274fb21483 100644 --- a/commands/docs/polars_expr-not.md +++ b/commands/docs/polars_expr-not.md @@ -2,7 +2,7 @@ title: polars expr-not categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates a not expression. usage: | diff --git a/commands/docs/polars_fetch.md b/commands/docs/polars_fetch.md index 9e447d89e75..59a77b5cad1 100644 --- a/commands/docs/polars_fetch.md +++ b/commands/docs/polars_fetch.md @@ -2,7 +2,7 @@ title: polars fetch categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Collects the lazyframe to the selected rows. usage: | diff --git a/commands/docs/polars_fill-nan.md b/commands/docs/polars_fill-nan.md index f317e30ae60..c75aee094a0 100644 --- a/commands/docs/polars_fill-nan.md +++ b/commands/docs/polars_fill-nan.md @@ -2,7 +2,7 @@ title: polars fill-nan categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Replaces NaN values with the given expression. usage: | diff --git a/commands/docs/polars_fill-null.md b/commands/docs/polars_fill-null.md index c56ea856acf..7ea89992a01 100644 --- a/commands/docs/polars_fill-null.md +++ b/commands/docs/polars_fill-null.md @@ -2,7 +2,7 @@ title: polars fill-null categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Replaces NULL values with the given expression. usage: | diff --git a/commands/docs/polars_filter-with.md b/commands/docs/polars_filter-with.md index 3a0a713e037..6ddf5a05df0 100644 --- a/commands/docs/polars_filter-with.md +++ b/commands/docs/polars_filter-with.md @@ -2,7 +2,7 @@ title: polars filter-with categories: | dataframe or lazyframe -version: 0.105.0 +version: 0.106.0 dataframe_or_lazyframe: | Filters dataframe using a mask or expression as reference. usage: | diff --git a/commands/docs/polars_filter.md b/commands/docs/polars_filter.md index 4febb854d63..1055335c435 100644 --- a/commands/docs/polars_filter.md +++ b/commands/docs/polars_filter.md @@ -2,7 +2,7 @@ title: polars filter categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Filter dataframe based in expression. usage: | @@ -58,8 +58,8 @@ Filter dataframe for rows where dt is within the last 2 days of the maximum dt v ╭───┬──────────────┬─────╮ │ # │ dt │ val │ ├───┼──────────────┼─────┤ -│ 0 │ 2 months ago │ 3 │ -│ 1 │ 2 months ago │ 4 │ +│ 0 │ 3 months ago │ 3 │ +│ 1 │ 3 months ago │ 4 │ ╰───┴──────────────┴─────╯ ``` diff --git a/commands/docs/polars_first.md b/commands/docs/polars_first.md index 754f6606596..105dba65a9d 100644 --- a/commands/docs/polars_first.md +++ b/commands/docs/polars_first.md @@ -2,7 +2,7 @@ title: polars first categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Show only the first number of rows or create a first expression usage: | diff --git a/commands/docs/polars_flatten.md b/commands/docs/polars_flatten.md index a86aaa42299..dde608d56c7 100644 --- a/commands/docs/polars_flatten.md +++ b/commands/docs/polars_flatten.md @@ -2,7 +2,7 @@ title: polars flatten categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | An alias for polars explode. usage: | diff --git a/commands/docs/polars_get-day.md b/commands/docs/polars_get-day.md index fd17b4d55d6..991456d2c30 100644 --- a/commands/docs/polars_get-day.md +++ b/commands/docs/polars_get-day.md @@ -2,7 +2,7 @@ title: polars get-day categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets day from date. usage: | diff --git a/commands/docs/polars_get-hour.md b/commands/docs/polars_get-hour.md index 786c8f46ca6..d446200202e 100644 --- a/commands/docs/polars_get-hour.md +++ b/commands/docs/polars_get-hour.md @@ -2,7 +2,7 @@ title: polars get-hour categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets hour from datetime. usage: | diff --git a/commands/docs/polars_get-minute.md b/commands/docs/polars_get-minute.md index fc69daf0fec..19ac32c2e97 100644 --- a/commands/docs/polars_get-minute.md +++ b/commands/docs/polars_get-minute.md @@ -2,7 +2,7 @@ title: polars get-minute categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets minute from date. usage: | diff --git a/commands/docs/polars_get-month.md b/commands/docs/polars_get-month.md index 31402971435..d9013b8dbe7 100644 --- a/commands/docs/polars_get-month.md +++ b/commands/docs/polars_get-month.md @@ -2,7 +2,7 @@ title: polars get-month categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets month from date. usage: | diff --git a/commands/docs/polars_get-nanosecond.md b/commands/docs/polars_get-nanosecond.md index e7bdc315521..791d22fd4b2 100644 --- a/commands/docs/polars_get-nanosecond.md +++ b/commands/docs/polars_get-nanosecond.md @@ -2,7 +2,7 @@ title: polars get-nanosecond categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets nanosecond from date. usage: | diff --git a/commands/docs/polars_get-ordinal.md b/commands/docs/polars_get-ordinal.md index 4e47e3feb05..f0dfd4e2558 100644 --- a/commands/docs/polars_get-ordinal.md +++ b/commands/docs/polars_get-ordinal.md @@ -2,7 +2,7 @@ title: polars get-ordinal categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets ordinal from date. usage: | diff --git a/commands/docs/polars_get-second.md b/commands/docs/polars_get-second.md index 4570507c8c5..bda24253955 100644 --- a/commands/docs/polars_get-second.md +++ b/commands/docs/polars_get-second.md @@ -2,7 +2,7 @@ title: polars get-second categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets second from date. usage: | diff --git a/commands/docs/polars_get-week.md b/commands/docs/polars_get-week.md index 0698b3e4c3f..d107a933390 100644 --- a/commands/docs/polars_get-week.md +++ b/commands/docs/polars_get-week.md @@ -2,7 +2,7 @@ title: polars get-week categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets week from date. usage: | diff --git a/commands/docs/polars_get-weekday.md b/commands/docs/polars_get-weekday.md index 2d13f6f30cc..96145a9b2d5 100644 --- a/commands/docs/polars_get-weekday.md +++ b/commands/docs/polars_get-weekday.md @@ -2,7 +2,7 @@ title: polars get-weekday categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets weekday from date. usage: | diff --git a/commands/docs/polars_get-year.md b/commands/docs/polars_get-year.md index 05186d00476..9dd484001a6 100644 --- a/commands/docs/polars_get-year.md +++ b/commands/docs/polars_get-year.md @@ -2,7 +2,7 @@ title: polars get-year categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets year from date. usage: | diff --git a/commands/docs/polars_get.md b/commands/docs/polars_get.md index 65b65411759..69016657d18 100644 --- a/commands/docs/polars_get.md +++ b/commands/docs/polars_get.md @@ -2,7 +2,7 @@ title: polars get categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates dataframe with the selected columns. usage: | diff --git a/commands/docs/polars_group-by.md b/commands/docs/polars_group-by.md index d04657dcce0..645884aa6a9 100644 --- a/commands/docs/polars_group-by.md +++ b/commands/docs/polars_group-by.md @@ -2,7 +2,7 @@ title: polars group-by categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Creates a group-by object that can be used for other aggregations. usage: | diff --git a/commands/docs/polars_horizontal.md b/commands/docs/polars_horizontal.md index 0de32134f67..3be364746d0 100644 --- a/commands/docs/polars_horizontal.md +++ b/commands/docs/polars_horizontal.md @@ -2,7 +2,7 @@ title: polars horizontal categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Horizontal calculation across multiple columns. usage: | diff --git a/commands/docs/polars_implode.md b/commands/docs/polars_implode.md index a15cddd10da..c22093cfd7e 100644 --- a/commands/docs/polars_implode.md +++ b/commands/docs/polars_implode.md @@ -2,7 +2,7 @@ title: polars implode categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Aggregates values into a list. usage: | diff --git a/commands/docs/polars_integer.md b/commands/docs/polars_integer.md index 2132effe05f..9f5bc85a17b 100644 --- a/commands/docs/polars_integer.md +++ b/commands/docs/polars_integer.md @@ -2,7 +2,7 @@ title: polars integer categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Converts a string column into a integer column usage: | diff --git a/commands/docs/polars_into-df.md b/commands/docs/polars_into-df.md index aa83ce87412..100dd8de908 100644 --- a/commands/docs/polars_into-df.md +++ b/commands/docs/polars_into-df.md @@ -2,7 +2,7 @@ title: polars into-df categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Converts a list, table or record into a dataframe. usage: | diff --git a/commands/docs/polars_into-dtype.md b/commands/docs/polars_into-dtype.md index 0a350f9ebd1..64051c8f31e 100644 --- a/commands/docs/polars_into-dtype.md +++ b/commands/docs/polars_into-dtype.md @@ -2,7 +2,7 @@ title: polars into-dtype categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Convert a string to a specific datatype. usage: | diff --git a/commands/docs/polars_into-lazy.md b/commands/docs/polars_into-lazy.md index 9a041ee1508..bdbed84bd29 100644 --- a/commands/docs/polars_into-lazy.md +++ b/commands/docs/polars_into-lazy.md @@ -2,7 +2,7 @@ title: polars into-lazy categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Converts a dataframe into a lazy dataframe. usage: | diff --git a/commands/docs/polars_into-nu.md b/commands/docs/polars_into-nu.md index 770eb678582..8beb510b23c 100644 --- a/commands/docs/polars_into-nu.md +++ b/commands/docs/polars_into-nu.md @@ -2,7 +2,7 @@ title: polars into-nu categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Converts a dataframe or an expression into nushell value for access and exploration. usage: | diff --git a/commands/docs/polars_into-repr.md b/commands/docs/polars_into-repr.md index af3dc2002a8..31e54152b65 100644 --- a/commands/docs/polars_into-repr.md +++ b/commands/docs/polars_into-repr.md @@ -2,7 +2,7 @@ title: polars into-repr categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Display a dataframe in its repr format. usage: | diff --git a/commands/docs/polars_into-schema.md b/commands/docs/polars_into-schema.md index f31d5ee4cac..6396c4312be 100644 --- a/commands/docs/polars_into-schema.md +++ b/commands/docs/polars_into-schema.md @@ -2,7 +2,7 @@ title: polars into-schema categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Convert a value to a polars schema object usage: | diff --git a/commands/docs/polars_is-duplicated.md b/commands/docs/polars_is-duplicated.md index e7e00a797c0..b79fd2d0dc6 100644 --- a/commands/docs/polars_is-duplicated.md +++ b/commands/docs/polars_is-duplicated.md @@ -2,7 +2,7 @@ title: polars is-duplicated categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates mask indicating duplicated values. usage: | diff --git a/commands/docs/polars_is-in.md b/commands/docs/polars_is-in.md index 4d4a655b1a4..799c0ee4999 100644 --- a/commands/docs/polars_is-in.md +++ b/commands/docs/polars_is-in.md @@ -2,7 +2,7 @@ title: polars is-in categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Creates an is-in expression or checks to see if the elements are contained in the right series usage: | diff --git a/commands/docs/polars_is-not-null.md b/commands/docs/polars_is-not-null.md index f08cb37f000..cc34e0d5b4a 100644 --- a/commands/docs/polars_is-not-null.md +++ b/commands/docs/polars_is-not-null.md @@ -2,7 +2,7 @@ title: polars is-not-null categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates mask where value is not null. usage: | diff --git a/commands/docs/polars_is-null.md b/commands/docs/polars_is-null.md index 5dc9b02304d..120e2440938 100644 --- a/commands/docs/polars_is-null.md +++ b/commands/docs/polars_is-null.md @@ -2,7 +2,7 @@ title: polars is-null categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates mask where value is null. usage: | diff --git a/commands/docs/polars_is-unique.md b/commands/docs/polars_is-unique.md index 144b9689e23..22ee2d43f36 100644 --- a/commands/docs/polars_is-unique.md +++ b/commands/docs/polars_is-unique.md @@ -2,7 +2,7 @@ title: polars is-unique categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates mask indicating unique values. usage: | diff --git a/commands/docs/polars_join-where.md b/commands/docs/polars_join-where.md index 1a67e94e31c..75549b05853 100644 --- a/commands/docs/polars_join-where.md +++ b/commands/docs/polars_join-where.md @@ -2,7 +2,7 @@ title: polars join-where categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Joins a lazy frame with other lazy frame based on conditions. usage: | diff --git a/commands/docs/polars_join.md b/commands/docs/polars_join.md index 8e1f0afb1f6..4e81f5f8c61 100644 --- a/commands/docs/polars_join.md +++ b/commands/docs/polars_join.md @@ -2,7 +2,7 @@ title: polars join categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Joins a lazy frame with other lazy frame. usage: | diff --git a/commands/docs/polars_last.md b/commands/docs/polars_last.md index c6e474344cc..9ca179e93ca 100644 --- a/commands/docs/polars_last.md +++ b/commands/docs/polars_last.md @@ -2,7 +2,7 @@ title: polars last categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates new dataframe with tail rows or creates a last expression. usage: | @@ -56,3 +56,16 @@ Creates a last expression from a column > polars col a | polars last ``` + +Aggregate the last values in the group. +```nu +> [[a b c d]; [1 0.5 true Apple] [2 0.5 true Orange] [2 4 true Apple] [3 10 false Apple] [4 13 false Banana] [5 14 true Banana]] | polars into-df -s {a: u8, b: f32, c: bool, d: str} | polars group-by d | polars last | polars sort-by [a] | polars collect +╭───┬────────┬───┬───────┬───────╮ +│ # │ d │ a │ b │ c │ +├───┼────────┼───┼───────┼───────┤ +│ 0 │ Orange │ 2 │ 0.50 │ true │ +│ 1 │ Apple │ 3 │ 10.00 │ false │ +│ 2 │ Banana │ 5 │ 14.00 │ true │ +╰───┴────────┴───┴───────┴───────╯ + +``` diff --git a/commands/docs/polars_len.md b/commands/docs/polars_len.md index 3f3ccc52e8e..424637c5eb7 100644 --- a/commands/docs/polars_len.md +++ b/commands/docs/polars_len.md @@ -2,7 +2,7 @@ title: polars len categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Return the number of rows in the context. This is similar to COUNT(*) in SQL. usage: | diff --git a/commands/docs/polars_list-contains.md b/commands/docs/polars_list-contains.md index cadc83f5793..3432b712cfb 100644 --- a/commands/docs/polars_list-contains.md +++ b/commands/docs/polars_list-contains.md @@ -2,7 +2,7 @@ title: polars list-contains categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Checks if an element is contained in a list. usage: | diff --git a/commands/docs/polars_lit.md b/commands/docs/polars_lit.md index 502cce11c13..db889165881 100644 --- a/commands/docs/polars_lit.md +++ b/commands/docs/polars_lit.md @@ -2,7 +2,7 @@ title: polars lit categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Creates a literal expression. usage: | diff --git a/commands/docs/polars_lowercase.md b/commands/docs/polars_lowercase.md index f49da359a4e..641eaf8c0af 100644 --- a/commands/docs/polars_lowercase.md +++ b/commands/docs/polars_lowercase.md @@ -2,7 +2,7 @@ title: polars lowercase categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Lowercase the strings in the column. usage: | diff --git a/commands/docs/polars_math.md b/commands/docs/polars_math.md index 9ee5b468a45..d52571fdd54 100644 --- a/commands/docs/polars_math.md +++ b/commands/docs/polars_math.md @@ -2,7 +2,7 @@ title: polars math categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Collection of math functions to be applied on one or more column expressions usage: | diff --git a/commands/docs/polars_max.md b/commands/docs/polars_max.md index d463474e410..7729473f96f 100644 --- a/commands/docs/polars_max.md +++ b/commands/docs/polars_max.md @@ -2,7 +2,7 @@ title: polars max categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates a max expression or aggregates columns to their max value. usage: | diff --git a/commands/docs/polars_mean.md b/commands/docs/polars_mean.md index ffbe078f611..605464a95f4 100644 --- a/commands/docs/polars_mean.md +++ b/commands/docs/polars_mean.md @@ -2,7 +2,7 @@ title: polars mean categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates a mean expression for an aggregation or aggregates columns to their mean value. usage: | diff --git a/commands/docs/polars_median.md b/commands/docs/polars_median.md index f1b45dc5f9c..461fd344612 100644 --- a/commands/docs/polars_median.md +++ b/commands/docs/polars_median.md @@ -2,7 +2,7 @@ title: polars median categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Median value from columns in a dataframe or creates expression for an aggregation usage: | diff --git a/commands/docs/polars_min.md b/commands/docs/polars_min.md index ff6d1bf7363..634e30dac1e 100644 --- a/commands/docs/polars_min.md +++ b/commands/docs/polars_min.md @@ -2,7 +2,7 @@ title: polars min categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates a min expression or aggregates columns to their min value. usage: | diff --git a/commands/docs/polars_n-unique.md b/commands/docs/polars_n-unique.md index 3a60ae11346..91e42fcc1f9 100644 --- a/commands/docs/polars_n-unique.md +++ b/commands/docs/polars_n-unique.md @@ -2,7 +2,7 @@ title: polars n-unique categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Counts unique values. usage: | diff --git a/commands/docs/polars_not.md b/commands/docs/polars_not.md index fca5e68c454..e58b56c95d2 100644 --- a/commands/docs/polars_not.md +++ b/commands/docs/polars_not.md @@ -2,7 +2,7 @@ title: polars not categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Inverts boolean mask. usage: | diff --git a/commands/docs/polars_open.md b/commands/docs/polars_open.md index 715392b4a42..5d176a5e6f7 100644 --- a/commands/docs/polars_open.md +++ b/commands/docs/polars_open.md @@ -2,7 +2,7 @@ title: polars open categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Opens CSV, JSON, NDJSON/JSON lines, arrow, avro, or parquet file to create dataframe. A lazy dataframe will be created by default, if supported. usage: | diff --git a/commands/docs/polars_otherwise.md b/commands/docs/polars_otherwise.md index 1605b399243..c5da0a22e4c 100644 --- a/commands/docs/polars_otherwise.md +++ b/commands/docs/polars_otherwise.md @@ -2,7 +2,7 @@ title: polars otherwise categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Completes a when expression. usage: | diff --git a/commands/docs/polars_over.md b/commands/docs/polars_over.md index 9b47af20bdc..b13150e6342 100644 --- a/commands/docs/polars_over.md +++ b/commands/docs/polars_over.md @@ -2,7 +2,7 @@ title: polars over categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Compute expressions over a window group defined by partition expressions. usage: | diff --git a/commands/docs/polars_pivot.md b/commands/docs/polars_pivot.md index 043e8fbf7c2..1a12dd169b8 100644 --- a/commands/docs/polars_pivot.md +++ b/commands/docs/polars_pivot.md @@ -2,7 +2,7 @@ title: polars pivot categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Pivot a DataFrame from long to wide format. usage: | @@ -51,8 +51,8 @@ Perform a pivot in order to show individuals test score by subject ╭───┬───────┬──────────────┬───────┬─────────╮ │ # │ name │ date │ maths │ physics │ ├───┼───────┼──────────────┼───────┼─────────┤ -│ 0 │ Cady │ 2 months ago │ 98 │ 99 │ -│ 1 │ Karen │ 2 months ago │ 61 │ 58 │ +│ 0 │ Cady │ 3 months ago │ 98 │ 99 │ +│ 1 │ Karen │ 3 months ago │ 61 │ 58 │ ╰───┴───────┴──────────────┴───────┴─────────╯ ``` diff --git a/commands/docs/polars_profile.md b/commands/docs/polars_profile.md index 3b7ceec6d15..62579863f31 100644 --- a/commands/docs/polars_profile.md +++ b/commands/docs/polars_profile.md @@ -2,7 +2,7 @@ title: polars profile categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Profile a lazy dataframe. usage: | diff --git a/commands/docs/polars_qcut.md b/commands/docs/polars_qcut.md index bdc84eb7b6b..59500ee0a6b 100644 --- a/commands/docs/polars_qcut.md +++ b/commands/docs/polars_qcut.md @@ -2,7 +2,7 @@ title: polars qcut categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Bin continuous values into discrete categories based on their quantiles for a series. usage: | diff --git a/commands/docs/polars_quantile.md b/commands/docs/polars_quantile.md index 5030464ac25..5ae70b4889c 100644 --- a/commands/docs/polars_quantile.md +++ b/commands/docs/polars_quantile.md @@ -2,7 +2,7 @@ title: polars quantile categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Aggregates the columns to the selected quantile. usage: | diff --git a/commands/docs/polars_query.md b/commands/docs/polars_query.md index 1652172e0df..973385c81b4 100644 --- a/commands/docs/polars_query.md +++ b/commands/docs/polars_query.md @@ -2,7 +2,7 @@ title: polars query categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Query dataframe using SQL. Note: The dataframe is always named 'df' in your query's from clause. usage: | diff --git a/commands/docs/polars_rename.md b/commands/docs/polars_rename.md index 4238a55b107..c80e09a8cdb 100644 --- a/commands/docs/polars_rename.md +++ b/commands/docs/polars_rename.md @@ -2,7 +2,7 @@ title: polars rename categories: | dataframe or lazyframe -version: 0.105.0 +version: 0.106.0 dataframe_or_lazyframe: | Rename a dataframe column. usage: | diff --git a/commands/docs/polars_replace-time-zone.md b/commands/docs/polars_replace-time-zone.md index 40e05bc91ad..7c1db573222 100644 --- a/commands/docs/polars_replace-time-zone.md +++ b/commands/docs/polars_replace-time-zone.md @@ -2,7 +2,7 @@ title: polars replace-time-zone categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Replace the timezone information in a datetime column. usage: | @@ -71,10 +71,10 @@ Apply timezone with ambiguous datetime ╭───┬─────────────╮ │ # │ datetime │ ├───┼─────────────┤ -│ 0 │ in 4 months │ +│ 0 │ in 3 months │ │ 1 │ │ -│ 2 │ in 4 months │ -│ 3 │ in 4 months │ +│ 2 │ in 3 months │ +│ 3 │ in 3 months │ ╰───┴─────────────╯ ``` @@ -88,10 +88,10 @@ Apply timezone with nonexistent datetime ╭───┬──────────────╮ │ # │ datetime │ ├───┼──────────────┤ -│ 0 │ 3 months ago │ +│ 0 │ 4 months ago │ │ 1 │ │ -│ 2 │ 3 months ago │ -│ 3 │ 3 months ago │ +│ 2 │ 4 months ago │ +│ 3 │ 4 months ago │ ╰───┴──────────────╯ ``` diff --git a/commands/docs/polars_replace.md b/commands/docs/polars_replace.md index 1a60792486b..5515e8adb2c 100644 --- a/commands/docs/polars_replace.md +++ b/commands/docs/polars_replace.md @@ -2,7 +2,7 @@ title: polars replace categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Create an expression that replaces old values with new values usage: | diff --git a/commands/docs/polars_reverse.md b/commands/docs/polars_reverse.md index 6321672359d..342c5434bd1 100644 --- a/commands/docs/polars_reverse.md +++ b/commands/docs/polars_reverse.md @@ -2,7 +2,7 @@ title: polars reverse categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Reverses the LazyFrame usage: | diff --git a/commands/docs/polars_rolling.md b/commands/docs/polars_rolling.md index 567fd7aa622..b96939f5be3 100644 --- a/commands/docs/polars_rolling.md +++ b/commands/docs/polars_rolling.md @@ -2,7 +2,7 @@ title: polars rolling categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Rolling calculation for a series. usage: | diff --git a/commands/docs/polars_sample.md b/commands/docs/polars_sample.md index fbf25d954dc..6368aa1db69 100644 --- a/commands/docs/polars_sample.md +++ b/commands/docs/polars_sample.md @@ -2,7 +2,7 @@ title: polars sample categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Create sample dataframe. usage: | diff --git a/commands/docs/polars_save.md b/commands/docs/polars_save.md index 41d0dc48351..818ce81bd63 100644 --- a/commands/docs/polars_save.md +++ b/commands/docs/polars_save.md @@ -2,7 +2,7 @@ title: polars save categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Saves a dataframe to disk. For lazy dataframes a sink operation will be used if the file type supports it (parquet, ipc/arrow, csv, and ndjson). usage: | diff --git a/commands/docs/polars_schema.md b/commands/docs/polars_schema.md index 68559f5251d..2dd8dda842f 100644 --- a/commands/docs/polars_schema.md +++ b/commands/docs/polars_schema.md @@ -2,7 +2,7 @@ title: polars schema categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Show schema for a dataframe. usage: | @@ -34,9 +34,9 @@ See the [Plugins](/book/plugins.html) chapter in the book for more information. ## Input/output types: -| input | output | -| --------- | ------ | -| dataframe | record | +| input | output | +| ----- | ------ | +| any | record | ## Examples Dataframe schema diff --git a/commands/docs/polars_select.md b/commands/docs/polars_select.md index ab4dc11536c..da5939cc2aa 100644 --- a/commands/docs/polars_select.md +++ b/commands/docs/polars_select.md @@ -2,7 +2,7 @@ title: polars select categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Selects columns from lazyframe. usage: | diff --git a/commands/docs/polars_set-with-idx.md b/commands/docs/polars_set-with-idx.md index bf52bb1f08a..bf29e0e8a6c 100644 --- a/commands/docs/polars_set-with-idx.md +++ b/commands/docs/polars_set-with-idx.md @@ -2,7 +2,7 @@ title: polars set-with-idx categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Sets value in the given index. usage: | diff --git a/commands/docs/polars_set.md b/commands/docs/polars_set.md index a5fd87f4be4..b70048af450 100644 --- a/commands/docs/polars_set.md +++ b/commands/docs/polars_set.md @@ -2,7 +2,7 @@ title: polars set categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Sets value where given mask is true. usage: | diff --git a/commands/docs/polars_shape.md b/commands/docs/polars_shape.md index 9f3badfa437..ef3732e152f 100644 --- a/commands/docs/polars_shape.md +++ b/commands/docs/polars_shape.md @@ -2,7 +2,7 @@ title: polars shape categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Shows column and row size for a dataframe. usage: | diff --git a/commands/docs/polars_shift.md b/commands/docs/polars_shift.md index 253ca7032af..e2dc7cb7856 100644 --- a/commands/docs/polars_shift.md +++ b/commands/docs/polars_shift.md @@ -2,7 +2,7 @@ title: polars shift categories: | dataframe or lazyframe -version: 0.105.0 +version: 0.106.0 dataframe_or_lazyframe: | Shifts the values by a given period. usage: | diff --git a/commands/docs/polars_slice.md b/commands/docs/polars_slice.md index 6d3f00ec0b8..a27316df8df 100644 --- a/commands/docs/polars_slice.md +++ b/commands/docs/polars_slice.md @@ -2,7 +2,7 @@ title: polars slice categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates new dataframe from a slice of rows. usage: | diff --git a/commands/docs/polars_sort-by.md b/commands/docs/polars_sort-by.md index 90644956592..62de6df5a6f 100644 --- a/commands/docs/polars_sort-by.md +++ b/commands/docs/polars_sort-by.md @@ -2,7 +2,7 @@ title: polars sort-by categories: | lazyframe -version: 0.105.0 +version: 0.106.0 lazyframe: | Sorts a lazy dataframe based on expression(s). usage: | diff --git a/commands/docs/polars_std.md b/commands/docs/polars_std.md index 5453dcab193..f0a041d72bc 100644 --- a/commands/docs/polars_std.md +++ b/commands/docs/polars_std.md @@ -2,7 +2,7 @@ title: polars std categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates a std expression for an aggregation of std value from columns in a dataframe. usage: | diff --git a/commands/docs/polars_store-get.md b/commands/docs/polars_store-get.md index 9088436b410..9eea16288cf 100644 --- a/commands/docs/polars_store-get.md +++ b/commands/docs/polars_store-get.md @@ -2,7 +2,7 @@ title: polars store-get categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Gets a Dataframe or other object from the plugin cache. usage: | diff --git a/commands/docs/polars_store-ls.md b/commands/docs/polars_store-ls.md index 7aa5b52b134..114152b0f5a 100644 --- a/commands/docs/polars_store-ls.md +++ b/commands/docs/polars_store-ls.md @@ -2,7 +2,7 @@ title: polars store-ls categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Lists stored polars objects. usage: | diff --git a/commands/docs/polars_store-rm.md b/commands/docs/polars_store-rm.md index 17182599b68..5d036a07726 100644 --- a/commands/docs/polars_store-rm.md +++ b/commands/docs/polars_store-rm.md @@ -2,7 +2,7 @@ title: polars store-rm categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Removes a stored Dataframe or other object from the plugin cache. usage: | diff --git a/commands/docs/polars_str-join.md b/commands/docs/polars_str-join.md index 7055750103e..c63a17035ed 100644 --- a/commands/docs/polars_str-join.md +++ b/commands/docs/polars_str-join.md @@ -2,7 +2,7 @@ title: polars str-join categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Concatenates strings within a column or dataframes usage: | diff --git a/commands/docs/polars_str-lengths.md b/commands/docs/polars_str-lengths.md index 52bd855d4cd..1d0fb55bd25 100644 --- a/commands/docs/polars_str-lengths.md +++ b/commands/docs/polars_str-lengths.md @@ -2,7 +2,7 @@ title: polars str-lengths categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Get lengths of all strings. usage: | diff --git a/commands/docs/polars_str-replace-all.md b/commands/docs/polars_str-replace-all.md index 2fd7280f029..cc94e7995ad 100644 --- a/commands/docs/polars_str-replace-all.md +++ b/commands/docs/polars_str-replace-all.md @@ -2,7 +2,7 @@ title: polars str-replace-all categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Replace all (sub)strings by a regex pattern. usage: | diff --git a/commands/docs/polars_str-replace.md b/commands/docs/polars_str-replace.md index 80569890634..96e3e2f16c3 100644 --- a/commands/docs/polars_str-replace.md +++ b/commands/docs/polars_str-replace.md @@ -2,7 +2,7 @@ title: polars str-replace categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Replace the leftmost (sub)string by a regex pattern. usage: | diff --git a/commands/docs/polars_str-slice.md b/commands/docs/polars_str-slice.md index 294cda03df2..616f839e401 100644 --- a/commands/docs/polars_str-slice.md +++ b/commands/docs/polars_str-slice.md @@ -2,7 +2,7 @@ title: polars str-slice categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Slices the string from the start position until the selected length. usage: | diff --git a/commands/docs/polars_str-split.md b/commands/docs/polars_str-split.md index 711c6ce4056..d93443451bf 100644 --- a/commands/docs/polars_str-split.md +++ b/commands/docs/polars_str-split.md @@ -2,7 +2,7 @@ title: polars str-split categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Split the string by a substring. The resulting dtype is list. usage: | diff --git a/commands/docs/polars_str-strip-chars.md b/commands/docs/polars_str-strip-chars.md index 2762a6f2118..7de92147156 100644 --- a/commands/docs/polars_str-strip-chars.md +++ b/commands/docs/polars_str-strip-chars.md @@ -2,7 +2,7 @@ title: polars str-strip-chars categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Strips specified characters from strings in a column usage: | diff --git a/commands/docs/polars_strftime.md b/commands/docs/polars_strftime.md index 1527e4127aa..698903099dd 100644 --- a/commands/docs/polars_strftime.md +++ b/commands/docs/polars_strftime.md @@ -2,7 +2,7 @@ title: polars strftime categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Formats date based on string rule. usage: | diff --git a/commands/docs/polars_struct-json-encode.md b/commands/docs/polars_struct-json-encode.md index 5c7b4bc4e04..25fcf6780be 100644 --- a/commands/docs/polars_struct-json-encode.md +++ b/commands/docs/polars_struct-json-encode.md @@ -2,7 +2,7 @@ title: polars struct-json-encode categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Convert this struct to a string column with json values. usage: | diff --git a/commands/docs/polars_sum.md b/commands/docs/polars_sum.md index b32ead7174d..7a979cf8953 100644 --- a/commands/docs/polars_sum.md +++ b/commands/docs/polars_sum.md @@ -2,7 +2,7 @@ title: polars sum categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates a sum expression for an aggregation or aggregates columns to their sum value. usage: | diff --git a/commands/docs/polars_summary.md b/commands/docs/polars_summary.md index f171198fb75..ff9f8ec4aef 100644 --- a/commands/docs/polars_summary.md +++ b/commands/docs/polars_summary.md @@ -2,7 +2,7 @@ title: polars summary categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | For a dataframe, produces descriptive statistics (summary statistics) for its numeric columns. usage: | diff --git a/commands/docs/polars_take.md b/commands/docs/polars_take.md index d12a2dd1c9e..df62c6378cb 100644 --- a/commands/docs/polars_take.md +++ b/commands/docs/polars_take.md @@ -2,7 +2,7 @@ title: polars take categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Creates new dataframe using the given indices. usage: | diff --git a/commands/docs/polars_truncate.md b/commands/docs/polars_truncate.md index c2ce6d0bda6..93aacf2448c 100644 --- a/commands/docs/polars_truncate.md +++ b/commands/docs/polars_truncate.md @@ -2,7 +2,7 @@ title: polars truncate categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Divide the date/datetime range into buckets. usage: | @@ -45,10 +45,10 @@ Truncate a series of dates by period length ╭───┬──────────────┬──────────────╮ │ # │ datetime │ truncated │ ├───┼──────────────┼──────────────┤ -│ 0 │ 5 months ago │ 5 months ago │ -│ 1 │ 3 months ago │ 4 months ago │ -│ 2 │ 2 months ago │ 2 months ago │ -│ 3 │ a month ago │ a month ago │ +│ 0 │ 6 months ago │ 6 months ago │ +│ 1 │ 5 months ago │ 5 months ago │ +│ 2 │ 3 months ago │ 4 months ago │ +│ 3 │ 2 months ago │ 2 months ago │ ╰───┴──────────────┴──────────────╯ ``` diff --git a/commands/docs/polars_unique.md b/commands/docs/polars_unique.md index 09eb1f7c88a..15289099921 100644 --- a/commands/docs/polars_unique.md +++ b/commands/docs/polars_unique.md @@ -2,7 +2,7 @@ title: polars unique categories: | dataframe or lazyframe -version: 0.105.0 +version: 0.106.0 dataframe_or_lazyframe: | Returns unique values from a dataframe. usage: | diff --git a/commands/docs/polars_unnest.md b/commands/docs/polars_unnest.md index 1a105befe76..569959fb32e 100644 --- a/commands/docs/polars_unnest.md +++ b/commands/docs/polars_unnest.md @@ -2,7 +2,7 @@ title: polars unnest categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Decompose struct columns into separate columns for each of their fields. The new columns will be inserted into the dataframe at the location of the struct column. usage: | diff --git a/commands/docs/polars_unpivot.md b/commands/docs/polars_unpivot.md index ad6bb52fb97..9951c8b6074 100644 --- a/commands/docs/polars_unpivot.md +++ b/commands/docs/polars_unpivot.md @@ -2,7 +2,7 @@ title: polars unpivot categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Unpivot a DataFrame from wide to long format. usage: | diff --git a/commands/docs/polars_uppercase.md b/commands/docs/polars_uppercase.md index 2285c3dcd5f..e018aed23f2 100644 --- a/commands/docs/polars_uppercase.md +++ b/commands/docs/polars_uppercase.md @@ -2,7 +2,7 @@ title: polars uppercase categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Uppercase the strings in the column. usage: | diff --git a/commands/docs/polars_value-counts.md b/commands/docs/polars_value-counts.md index b9b2d7f0134..bc8984743b4 100644 --- a/commands/docs/polars_value-counts.md +++ b/commands/docs/polars_value-counts.md @@ -2,7 +2,7 @@ title: polars value-counts categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Returns a dataframe with the counts for unique values in series. usage: | diff --git a/commands/docs/polars_var.md b/commands/docs/polars_var.md index c2f2d1bde87..a42187dbd59 100644 --- a/commands/docs/polars_var.md +++ b/commands/docs/polars_var.md @@ -2,7 +2,7 @@ title: polars var categories: | dataframe -version: 0.105.0 +version: 0.106.0 dataframe: | Create a var expression for an aggregation. usage: | diff --git a/commands/docs/polars_when.md b/commands/docs/polars_when.md index c799fce4f2a..fc81ac0dc49 100644 --- a/commands/docs/polars_when.md +++ b/commands/docs/polars_when.md @@ -2,7 +2,7 @@ title: polars when categories: | expression -version: 0.105.0 +version: 0.106.0 expression: | Creates and modifies a when expression. usage: | diff --git a/commands/docs/polars_with-column.md b/commands/docs/polars_with-column.md index 47dba0b5437..f1610215e0a 100644 --- a/commands/docs/polars_with-column.md +++ b/commands/docs/polars_with-column.md @@ -2,7 +2,7 @@ title: polars with-column categories: | dataframe or lazyframe -version: 0.105.0 +version: 0.106.0 dataframe_or_lazyframe: | Adds a series to the dataframe. usage: | diff --git a/commands/docs/port.md b/commands/docs/port.md index 71031d4f93b..430ff00c8e9 100644 --- a/commands/docs/port.md +++ b/commands/docs/port.md @@ -2,7 +2,7 @@ title: port categories: | network -version: 0.105.0 +version: 0.106.0 network: | Get a free port from system. usage: | diff --git a/commands/docs/prepend.md b/commands/docs/prepend.md index dc7815a4a5a..192fd429bdf 100644 --- a/commands/docs/prepend.md +++ b/commands/docs/prepend.md @@ -2,7 +2,7 @@ title: prepend categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Prepend any number of rows to a table. usage: | diff --git a/commands/docs/print.md b/commands/docs/print.md index dfe6d09c383..b16e4616c9d 100644 --- a/commands/docs/print.md +++ b/commands/docs/print.md @@ -2,7 +2,7 @@ title: print categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Print the given values to stdout. usage: | diff --git a/commands/docs/ps.md b/commands/docs/ps.md index 9cedda467c8..0eb07dd2802 100644 --- a/commands/docs/ps.md +++ b/commands/docs/ps.md @@ -2,7 +2,7 @@ title: ps categories: | system -version: 0.105.0 +version: 0.106.0 system: | View information about system processes. usage: | diff --git a/commands/docs/pwd.md b/commands/docs/pwd.md index e4a2ba17dae..42a059f71ae 100644 --- a/commands/docs/pwd.md +++ b/commands/docs/pwd.md @@ -2,7 +2,7 @@ title: pwd categories: | default -version: 0.105.0 +version: 0.106.0 default: | Return the current working directory usage: | diff --git a/commands/docs/query.md b/commands/docs/query.md index 33c23f17343..d2e64613bca 100644 --- a/commands/docs/query.md +++ b/commands/docs/query.md @@ -2,7 +2,7 @@ title: query categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Show all the query commands usage: | diff --git a/commands/docs/query_db.md b/commands/docs/query_db.md index d35206ad2a1..661c97f4b40 100644 --- a/commands/docs/query_db.md +++ b/commands/docs/query_db.md @@ -2,7 +2,7 @@ title: query db categories: | database -version: 0.105.0 +version: 0.106.0 database: | Query a database using SQL. usage: | diff --git a/commands/docs/query_json.md b/commands/docs/query_json.md index 9bc43c6a134..20837bab83a 100644 --- a/commands/docs/query_json.md +++ b/commands/docs/query_json.md @@ -2,7 +2,7 @@ title: query json categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | execute json query on json file (open --raw | query json 'query string') usage: | diff --git a/commands/docs/query_web.md b/commands/docs/query_web.md index 20a8c37ad09..0e4a93ec8cd 100644 --- a/commands/docs/query_web.md +++ b/commands/docs/query_web.md @@ -2,7 +2,7 @@ title: query web categories: | network -version: 0.105.0 +version: 0.106.0 network: | execute selector query on html/web usage: | diff --git a/commands/docs/query_webpage-info.md b/commands/docs/query_webpage-info.md index 22b07ebd9ff..861d2fd12c1 100644 --- a/commands/docs/query_webpage-info.md +++ b/commands/docs/query_webpage-info.md @@ -2,7 +2,7 @@ title: query webpage-info categories: | network -version: 0.105.0 +version: 0.106.0 network: | uses the webpage crate to extract info from html: title, description, language, links, RSS feeds, Opengraph, Schema.org, and more usage: | diff --git a/commands/docs/query_xml.md b/commands/docs/query_xml.md index cd5f734bfd1..2450dafaa16 100644 --- a/commands/docs/query_xml.md +++ b/commands/docs/query_xml.md @@ -2,7 +2,7 @@ title: query xml categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | execute xpath query on xml usage: | @@ -27,6 +27,10 @@ See the [Plugins](/book/plugins.html) chapter in the book for more information. ```> query xml {flags} (query)``` +## Flags + + - `--namespaces, -n {record}`: map of prefixes to namespace URIs + ## Parameters - `query`: xpath query diff --git a/commands/docs/random.md b/commands/docs/random.md index 6bee636effc..dbc0f6f65a2 100644 --- a/commands/docs/random.md +++ b/commands/docs/random.md @@ -2,7 +2,7 @@ title: random categories: | random -version: 0.105.0 +version: 0.106.0 random: | Generate a random value. usage: | diff --git a/commands/docs/random_binary.md b/commands/docs/random_binary.md index 51416c47f7f..f02a97315c6 100644 --- a/commands/docs/random_binary.md +++ b/commands/docs/random_binary.md @@ -2,7 +2,7 @@ title: random binary categories: | random -version: 0.105.0 +version: 0.106.0 random: | Generate random bytes. usage: | diff --git a/commands/docs/random_bool.md b/commands/docs/random_bool.md index 527ff58338b..7d89855b6e6 100644 --- a/commands/docs/random_bool.md +++ b/commands/docs/random_bool.md @@ -2,7 +2,7 @@ title: random bool categories: | random -version: 0.105.0 +version: 0.106.0 random: | Generate a random boolean value. usage: | diff --git a/commands/docs/random_chars.md b/commands/docs/random_chars.md index cc88e4685a6..13949e9ca40 100644 --- a/commands/docs/random_chars.md +++ b/commands/docs/random_chars.md @@ -2,7 +2,7 @@ title: random chars categories: | random -version: 0.105.0 +version: 0.106.0 random: | Generate random chars uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9. usage: | diff --git a/commands/docs/random_dice.md b/commands/docs/random_dice.md index ab965b43819..61cca0035eb 100644 --- a/commands/docs/random_dice.md +++ b/commands/docs/random_dice.md @@ -2,7 +2,7 @@ title: random dice categories: | random -version: 0.105.0 +version: 0.106.0 random: | Generate a random dice roll. usage: | diff --git a/commands/docs/random_float.md b/commands/docs/random_float.md index 287cfec2cff..a3840b7a738 100644 --- a/commands/docs/random_float.md +++ b/commands/docs/random_float.md @@ -2,7 +2,7 @@ title: random float categories: | random -version: 0.105.0 +version: 0.106.0 random: | Generate a random float within a range [min..max]. usage: | diff --git a/commands/docs/random_int.md b/commands/docs/random_int.md index 83ea93415cb..e81fd82e2ee 100644 --- a/commands/docs/random_int.md +++ b/commands/docs/random_int.md @@ -2,7 +2,7 @@ title: random int categories: | random -version: 0.105.0 +version: 0.106.0 random: | Generate a random integer [min..max]. usage: | diff --git a/commands/docs/random_uuid.md b/commands/docs/random_uuid.md index 63bd05e7207..bd6459e4857 100644 --- a/commands/docs/random_uuid.md +++ b/commands/docs/random_uuid.md @@ -2,7 +2,7 @@ title: random uuid categories: | random -version: 0.105.0 +version: 0.106.0 random: | Generate a random uuid string of the specified version. usage: | diff --git a/commands/docs/reduce.md b/commands/docs/reduce.md index 13faa204140..31e4acfe7b2 100644 --- a/commands/docs/reduce.md +++ b/commands/docs/reduce.md @@ -2,7 +2,7 @@ title: reduce categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Aggregate a list (starting from the left) to a single value using an accumulator closure. usage: | diff --git a/commands/docs/registry_query.md b/commands/docs/registry_query.md index 148f505e59f..0245abec1c1 100644 --- a/commands/docs/registry_query.md +++ b/commands/docs/registry_query.md @@ -2,12 +2,13 @@ title: registry query categories: | system -version: 0.105.0 +version: 0.106.0 system: | Query the Windows registry. usage: | Query the Windows registry. -feature: default +editLink: false +contributors: false --- @@ -21,16 +22,16 @@ feature: default ## Flags - - `--hkcr, -`: query the hkey_classes_root hive - - `--hkcu, -`: query the hkey_current_user hive - - `--hklm, -`: query the hkey_local_machine hive - - `--hku, -`: query the hkey_users hive - - `--hkpd, -`: query the hkey_performance_data hive - - `--hkpt, -`: query the hkey_performance_text hive - - `--hkpnls, -`: query the hkey_performance_nls_text hive - - `--hkcc, -`: query the hkey_current_config hive - - `--hkdd, -`: query the hkey_dyn_data hive - - `--hkculs, -`: query the hkey_current_user_local_settings hive + - `--hkcr`: query the hkey_classes_root hive + - `--hkcu`: query the hkey_current_user hive + - `--hklm`: query the hkey_local_machine hive + - `--hku`: query the hkey_users hive + - `--hkpd`: query the hkey_performance_data hive + - `--hkpt`: query the hkey_performance_text hive + - `--hkpnls`: query the hkey_performance_nls_text hive + - `--hkcc`: query the hkey_current_config hive + - `--hkdd`: query the hkey_dyn_data hive + - `--hkculs`: query the hkey_current_user_local_settings hive - `--no-expand, -u`: do not expand %ENV% placeholders in REG_EXPAND_SZ ## Parameters @@ -44,7 +45,6 @@ feature: default | input | output | | ------- | ------ | | nothing | any | - ## Examples Query the HKEY_CURRENT_USER hive @@ -60,4 +60,4 @@ Query the HKEY_LOCAL_MACHINE hive ``` ## Notes -Currently supported only on Windows systems. +Currently supported only on Windows systems. \ No newline at end of file diff --git a/commands/docs/reject.md b/commands/docs/reject.md index 84bc199ef3d..7557ab40b73 100644 --- a/commands/docs/reject.md +++ b/commands/docs/reject.md @@ -2,7 +2,7 @@ title: reject categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Remove the given columns or rows from the table. Opposite of `select`. usage: | @@ -22,7 +22,8 @@ contributors: false ## Flags - - `--ignore-errors, -i`: ignore missing data (make all cell path members optional) + - `--optional, -o`: make all cell path members optional + - `--ignore-errors, -i`: ignore missing data (make all cell path members optional) (deprecated) ## Parameters diff --git a/commands/docs/rename.md b/commands/docs/rename.md index 5db60099579..76d38dad99c 100644 --- a/commands/docs/rename.md +++ b/commands/docs/rename.md @@ -2,7 +2,7 @@ title: rename categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Creates a new table with columns renamed. usage: | diff --git a/commands/docs/return.md b/commands/docs/return.md index ec85afb6e45..eb7b17c1295 100644 --- a/commands/docs/return.md +++ b/commands/docs/return.md @@ -2,7 +2,7 @@ title: return categories: | core -version: 0.105.0 +version: 0.106.0 core: | Return early from a custom command. usage: | diff --git a/commands/docs/reverse.md b/commands/docs/reverse.md index 6d4ada9683b..84964294362 100644 --- a/commands/docs/reverse.md +++ b/commands/docs/reverse.md @@ -2,7 +2,7 @@ title: reverse categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Reverses the input list or table. usage: | diff --git a/commands/docs/rm.md b/commands/docs/rm.md index 42553734106..8fafdd16c7d 100644 --- a/commands/docs/rm.md +++ b/commands/docs/rm.md @@ -2,7 +2,7 @@ title: rm categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Remove files and directories. usage: | diff --git a/commands/docs/roll.md b/commands/docs/roll.md index d17a3e8d473..4d7860d2411 100644 --- a/commands/docs/roll.md +++ b/commands/docs/roll.md @@ -2,7 +2,7 @@ title: roll categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Rolling commands for tables. usage: | diff --git a/commands/docs/roll_down.md b/commands/docs/roll_down.md index 2f63adfe52e..21a997bbe71 100644 --- a/commands/docs/roll_down.md +++ b/commands/docs/roll_down.md @@ -2,7 +2,7 @@ title: roll down categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Roll table rows down. usage: | diff --git a/commands/docs/roll_left.md b/commands/docs/roll_left.md index 222bdffb262..af82a63f757 100644 --- a/commands/docs/roll_left.md +++ b/commands/docs/roll_left.md @@ -2,7 +2,7 @@ title: roll left categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Roll record or table columns left. usage: | diff --git a/commands/docs/roll_right.md b/commands/docs/roll_right.md index 480d6839aab..374851a9736 100644 --- a/commands/docs/roll_right.md +++ b/commands/docs/roll_right.md @@ -2,7 +2,7 @@ title: roll right categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Roll table columns right. usage: | diff --git a/commands/docs/roll_up.md b/commands/docs/roll_up.md index a7d02c6d834..c52dac61c21 100644 --- a/commands/docs/roll_up.md +++ b/commands/docs/roll_up.md @@ -2,7 +2,7 @@ title: roll up categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Roll table rows up. usage: | diff --git a/commands/docs/rotate.md b/commands/docs/rotate.md index 125a4291cfe..42e209644f6 100644 --- a/commands/docs/rotate.md +++ b/commands/docs/rotate.md @@ -2,7 +2,7 @@ title: rotate categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Rotates a table or record clockwise (default) or counter-clockwise (use --ccw flag). usage: | diff --git a/commands/docs/run-external.md b/commands/docs/run-external.md index de27e4daadd..159ae6ebd04 100644 --- a/commands/docs/run-external.md +++ b/commands/docs/run-external.md @@ -2,7 +2,7 @@ title: run-external categories: | system -version: 0.105.0 +version: 0.106.0 system: | Runs external command. usage: | diff --git a/commands/docs/save.md b/commands/docs/save.md index c50d6fb52dc..b2d60948665 100644 --- a/commands/docs/save.md +++ b/commands/docs/save.md @@ -2,7 +2,7 @@ title: save categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Save a file. usage: | diff --git a/commands/docs/schema.md b/commands/docs/schema.md index eff87d6e044..c2512f63640 100644 --- a/commands/docs/schema.md +++ b/commands/docs/schema.md @@ -2,7 +2,7 @@ title: schema categories: | database -version: 0.105.0 +version: 0.106.0 database: | Show the schema of a SQLite database. usage: | diff --git a/commands/docs/scope.md b/commands/docs/scope.md index a9749051599..0f240f9cf47 100644 --- a/commands/docs/scope.md +++ b/commands/docs/scope.md @@ -2,7 +2,7 @@ title: scope categories: | core -version: 0.105.0 +version: 0.106.0 core: | Commands for getting info about what is in scope. usage: | diff --git a/commands/docs/scope_aliases.md b/commands/docs/scope_aliases.md index 0cc847f1760..2f103071552 100644 --- a/commands/docs/scope_aliases.md +++ b/commands/docs/scope_aliases.md @@ -2,7 +2,7 @@ title: scope aliases categories: | core -version: 0.105.0 +version: 0.106.0 core: | Output info on the aliases in the current scope. usage: | diff --git a/commands/docs/scope_commands.md b/commands/docs/scope_commands.md index 4f65da606f0..cb58c04c872 100644 --- a/commands/docs/scope_commands.md +++ b/commands/docs/scope_commands.md @@ -2,7 +2,7 @@ title: scope commands categories: | core -version: 0.105.0 +version: 0.106.0 core: | Output info on the commands in the current scope. usage: | diff --git a/commands/docs/scope_engine-stats.md b/commands/docs/scope_engine-stats.md index d3a5a8657c5..d911d1c03be 100644 --- a/commands/docs/scope_engine-stats.md +++ b/commands/docs/scope_engine-stats.md @@ -2,7 +2,7 @@ title: scope engine-stats categories: | core -version: 0.105.0 +version: 0.106.0 core: | Output stats on the engine in the current state. usage: | diff --git a/commands/docs/scope_externs.md b/commands/docs/scope_externs.md index 81d6166d598..1d3eab0071c 100644 --- a/commands/docs/scope_externs.md +++ b/commands/docs/scope_externs.md @@ -2,7 +2,7 @@ title: scope externs categories: | core -version: 0.105.0 +version: 0.106.0 core: | Output info on the known externals in the current scope. usage: | diff --git a/commands/docs/scope_modules.md b/commands/docs/scope_modules.md index 1c6db0754b1..54003bf499c 100644 --- a/commands/docs/scope_modules.md +++ b/commands/docs/scope_modules.md @@ -2,7 +2,7 @@ title: scope modules categories: | core -version: 0.105.0 +version: 0.106.0 core: | Output info on the modules in the current scope. usage: | diff --git a/commands/docs/scope_variables.md b/commands/docs/scope_variables.md index 12d45b9acd8..17401880ae0 100644 --- a/commands/docs/scope_variables.md +++ b/commands/docs/scope_variables.md @@ -2,7 +2,7 @@ title: scope variables categories: | core -version: 0.105.0 +version: 0.106.0 core: | Output info on the variables in the current scope. usage: | diff --git a/commands/docs/select.md b/commands/docs/select.md index 73e70d3049b..7d406fd6477 100644 --- a/commands/docs/select.md +++ b/commands/docs/select.md @@ -2,7 +2,7 @@ title: select categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Select only these columns or rows from the input. Opposite of `reject`. usage: | @@ -22,7 +22,8 @@ contributors: false ## Flags - - `--ignore-errors, -i`: ignore missing data (make all cell path members optional) + - `--optional, -o`: make all cell path members optional (returns `null` for missing values) + - `--ignore-errors, -i`: ignore missing data (make all cell path members optional) (deprecated) ## Parameters diff --git a/commands/docs/seq.md b/commands/docs/seq.md index 8508c4c6a97..960407aa929 100644 --- a/commands/docs/seq.md +++ b/commands/docs/seq.md @@ -2,7 +2,7 @@ title: seq categories: | generators -version: 0.105.0 +version: 0.106.0 generators: | Output sequences of numbers. usage: | diff --git a/commands/docs/seq_char.md b/commands/docs/seq_char.md index add7912368c..d6f385abefe 100644 --- a/commands/docs/seq_char.md +++ b/commands/docs/seq_char.md @@ -2,7 +2,7 @@ title: seq char categories: | generators -version: 0.105.0 +version: 0.106.0 generators: | Print a sequence of ASCII characters. usage: | diff --git a/commands/docs/seq_date.md b/commands/docs/seq_date.md index 124a4e70640..c00828a479d 100644 --- a/commands/docs/seq_date.md +++ b/commands/docs/seq_date.md @@ -2,7 +2,7 @@ title: seq date categories: | generators -version: 0.105.0 +version: 0.106.0 generators: | Print sequences of dates. usage: | diff --git a/commands/docs/shuffle.md b/commands/docs/shuffle.md index ed064af8fd4..0daa7c5075e 100644 --- a/commands/docs/shuffle.md +++ b/commands/docs/shuffle.md @@ -2,7 +2,7 @@ title: shuffle categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Shuffle rows randomly. usage: | diff --git a/commands/docs/skip.md b/commands/docs/skip.md index 7072dd52655..7db2209d86b 100644 --- a/commands/docs/skip.md +++ b/commands/docs/skip.md @@ -2,7 +2,7 @@ title: skip categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Skip the first several rows of the input. Counterpart of `drop`. Opposite of `first`. usage: | diff --git a/commands/docs/skip_until.md b/commands/docs/skip_until.md index 1d05190d2bf..9729c4b55f8 100644 --- a/commands/docs/skip_until.md +++ b/commands/docs/skip_until.md @@ -2,7 +2,7 @@ title: skip until categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Skip elements of the input until a predicate is true. usage: | diff --git a/commands/docs/skip_while.md b/commands/docs/skip_while.md index 5af6361298d..52d70104f7f 100644 --- a/commands/docs/skip_while.md +++ b/commands/docs/skip_while.md @@ -2,7 +2,7 @@ title: skip while categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Skip elements of the input while a predicate is true. usage: | diff --git a/commands/docs/sleep.md b/commands/docs/sleep.md index bcfedafde03..f6c0e311e98 100644 --- a/commands/docs/sleep.md +++ b/commands/docs/sleep.md @@ -2,7 +2,7 @@ title: sleep categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Delay for a specified amount of time. usage: | diff --git a/commands/docs/slice.md b/commands/docs/slice.md index 87e26bde10d..265c80e87f9 100644 --- a/commands/docs/slice.md +++ b/commands/docs/slice.md @@ -2,7 +2,7 @@ title: slice categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Return only the selected rows. usage: | diff --git a/commands/docs/sort-by.md b/commands/docs/sort-by.md index 12c7d1a7c37..ce8826b1a07 100644 --- a/commands/docs/sort-by.md +++ b/commands/docs/sort-by.md @@ -2,7 +2,7 @@ title: sort-by categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Sort by the given cell path or closure. usage: | diff --git a/commands/docs/sort.md b/commands/docs/sort.md index c7a2dc0389a..0e975293ad4 100644 --- a/commands/docs/sort.md +++ b/commands/docs/sort.md @@ -2,7 +2,7 @@ title: sort categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Sort in increasing order. usage: | diff --git a/commands/docs/source-env.md b/commands/docs/source-env.md index ad14d500aa3..947a004ac8e 100644 --- a/commands/docs/source-env.md +++ b/commands/docs/source-env.md @@ -2,7 +2,7 @@ title: source-env categories: | core -version: 0.105.0 +version: 0.106.0 core: | Source the environment from a source file into the current environment. usage: | diff --git a/commands/docs/source.md b/commands/docs/source.md index 106622a0e4c..f0467c2f987 100644 --- a/commands/docs/source.md +++ b/commands/docs/source.md @@ -2,7 +2,7 @@ title: source categories: | core -version: 0.105.0 +version: 0.106.0 core: | Runs a script file in the current context. usage: | diff --git a/commands/docs/split.md b/commands/docs/split.md index 00da6284af5..04bde9cd11b 100644 --- a/commands/docs/split.md +++ b/commands/docs/split.md @@ -2,7 +2,7 @@ title: split categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Split contents across desired subcommand (like row, column) via the separator. usage: | diff --git a/commands/docs/split_cell-path.md b/commands/docs/split_cell-path.md index bfe84548bcb..dac4a72cfc1 100644 --- a/commands/docs/split_cell-path.md +++ b/commands/docs/split_cell-path.md @@ -2,7 +2,7 @@ title: split cell-path categories: | conversions -version: 0.105.0 +version: 0.106.0 conversions: | Split a cell-path into its components. usage: | diff --git a/commands/docs/split_chars.md b/commands/docs/split_chars.md index a26fbb10fbc..550933b90a1 100644 --- a/commands/docs/split_chars.md +++ b/commands/docs/split_chars.md @@ -2,7 +2,7 @@ title: split chars categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Split a string into a list of characters. usage: | diff --git a/commands/docs/split_column.md b/commands/docs/split_column.md index 4c93c73aced..683b4cd4a33 100644 --- a/commands/docs/split_column.md +++ b/commands/docs/split_column.md @@ -2,7 +2,7 @@ title: split column categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Split a string into multiple columns using a separator. usage: | diff --git a/commands/docs/split_list.md b/commands/docs/split_list.md index 0448cf33f76..9baedcd6637 100644 --- a/commands/docs/split_list.md +++ b/commands/docs/split_list.md @@ -2,7 +2,7 @@ title: split list categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Split a list into multiple lists using a separator. usage: | diff --git a/commands/docs/split_row.md b/commands/docs/split_row.md index d95b055da82..b4675f4d098 100644 --- a/commands/docs/split_row.md +++ b/commands/docs/split_row.md @@ -2,7 +2,7 @@ title: split row categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Split a string into multiple rows using a separator. usage: | diff --git a/commands/docs/split_words.md b/commands/docs/split_words.md index ef2d3b9f950..49575f81ca2 100644 --- a/commands/docs/split_words.md +++ b/commands/docs/split_words.md @@ -2,7 +2,7 @@ title: split words categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Split a string's words into separate rows. usage: | diff --git a/commands/docs/start.md b/commands/docs/start.md index fec8367937e..7e67a18b3e8 100644 --- a/commands/docs/start.md +++ b/commands/docs/start.md @@ -2,7 +2,7 @@ title: start categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Open a folder, file, or website in the default application or viewer. usage: | diff --git a/commands/docs/stor.md b/commands/docs/stor.md index 421a44b41b8..9c3c0b2e4ef 100644 --- a/commands/docs/stor.md +++ b/commands/docs/stor.md @@ -2,7 +2,7 @@ title: stor categories: | database -version: 0.105.0 +version: 0.106.0 database: | Various commands for working with the in-memory sqlite database. usage: | diff --git a/commands/docs/stor_create.md b/commands/docs/stor_create.md index a93cb8d1290..79e84b04604 100644 --- a/commands/docs/stor_create.md +++ b/commands/docs/stor_create.md @@ -2,7 +2,7 @@ title: stor create categories: | database -version: 0.105.0 +version: 0.106.0 database: | Create a table in the in-memory sqlite database. usage: | diff --git a/commands/docs/stor_delete.md b/commands/docs/stor_delete.md index c56419950b1..2a51f7a2d57 100644 --- a/commands/docs/stor_delete.md +++ b/commands/docs/stor_delete.md @@ -2,7 +2,7 @@ title: stor delete categories: | database -version: 0.105.0 +version: 0.106.0 database: | Delete a table or specified rows in the in-memory sqlite database. usage: | diff --git a/commands/docs/stor_export.md b/commands/docs/stor_export.md index 0ebf7e3b1da..bf1849a5c26 100644 --- a/commands/docs/stor_export.md +++ b/commands/docs/stor_export.md @@ -2,7 +2,7 @@ title: stor export categories: | database -version: 0.105.0 +version: 0.106.0 database: | Export the in-memory sqlite database to a sqlite database file. usage: | diff --git a/commands/docs/stor_import.md b/commands/docs/stor_import.md index 7c577d84ef1..f9344c56386 100644 --- a/commands/docs/stor_import.md +++ b/commands/docs/stor_import.md @@ -2,7 +2,7 @@ title: stor import categories: | database -version: 0.105.0 +version: 0.106.0 database: | Import a sqlite database file into the in-memory sqlite database. usage: | diff --git a/commands/docs/stor_insert.md b/commands/docs/stor_insert.md index d475ff027b0..b016d49a44a 100644 --- a/commands/docs/stor_insert.md +++ b/commands/docs/stor_insert.md @@ -2,7 +2,7 @@ title: stor insert categories: | database -version: 0.105.0 +version: 0.106.0 database: | Insert information into a specified table in the in-memory sqlite database. usage: | diff --git a/commands/docs/stor_open.md b/commands/docs/stor_open.md index 9620cacf690..06045dbac97 100644 --- a/commands/docs/stor_open.md +++ b/commands/docs/stor_open.md @@ -2,7 +2,7 @@ title: stor open categories: | database -version: 0.105.0 +version: 0.106.0 database: | Opens the in-memory sqlite database. usage: | diff --git a/commands/docs/stor_reset.md b/commands/docs/stor_reset.md index 7c2225857dd..f92466ae42c 100644 --- a/commands/docs/stor_reset.md +++ b/commands/docs/stor_reset.md @@ -2,7 +2,7 @@ title: stor reset categories: | database -version: 0.105.0 +version: 0.106.0 database: | Reset the in-memory database by dropping all tables. usage: | diff --git a/commands/docs/stor_update.md b/commands/docs/stor_update.md index 58dec7db88e..65129d1ab5a 100644 --- a/commands/docs/stor_update.md +++ b/commands/docs/stor_update.md @@ -2,7 +2,7 @@ title: stor update categories: | database -version: 0.105.0 +version: 0.106.0 database: | Update information in a specified table in the in-memory sqlite database. usage: | diff --git a/commands/docs/str.md b/commands/docs/str.md index 9970458a973..a7f6c7bf59b 100644 --- a/commands/docs/str.md +++ b/commands/docs/str.md @@ -2,7 +2,7 @@ title: str categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Various commands for working with string data. usage: | diff --git a/commands/docs/str_camel-case.md b/commands/docs/str_camel-case.md index 3041382d18c..a9e54a9d53b 100644 --- a/commands/docs/str_camel-case.md +++ b/commands/docs/str_camel-case.md @@ -2,7 +2,7 @@ title: str camel-case categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Convert a string to camelCase. usage: | diff --git a/commands/docs/str_capitalize.md b/commands/docs/str_capitalize.md index 0cfa43baf31..17af54aab5f 100644 --- a/commands/docs/str_capitalize.md +++ b/commands/docs/str_capitalize.md @@ -2,7 +2,7 @@ title: str capitalize categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Capitalize first letter of text. usage: | diff --git a/commands/docs/str_contains.md b/commands/docs/str_contains.md index 51cf381889f..6a6a632d64d 100644 --- a/commands/docs/str_contains.md +++ b/commands/docs/str_contains.md @@ -2,7 +2,7 @@ title: str contains categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Checks if string input contains a substring. usage: | diff --git a/commands/docs/str_distance.md b/commands/docs/str_distance.md index 095c0b247dd..c17092a4a0a 100644 --- a/commands/docs/str_distance.md +++ b/commands/docs/str_distance.md @@ -2,7 +2,7 @@ title: str distance categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Compare two strings and return the edit distance/Levenshtein distance. usage: | diff --git a/commands/docs/str_downcase.md b/commands/docs/str_downcase.md index 6ed08e93147..79eaeec6bda 100644 --- a/commands/docs/str_downcase.md +++ b/commands/docs/str_downcase.md @@ -2,7 +2,7 @@ title: str downcase categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Make text lowercase. usage: | diff --git a/commands/docs/str_ends-with.md b/commands/docs/str_ends-with.md index 27fe052cd3a..3bda1e8fa9b 100644 --- a/commands/docs/str_ends-with.md +++ b/commands/docs/str_ends-with.md @@ -2,7 +2,7 @@ title: str ends-with categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Check if an input ends with a string. usage: | diff --git a/commands/docs/str_expand.md b/commands/docs/str_expand.md index fe69c94163f..faf56bcc0cf 100644 --- a/commands/docs/str_expand.md +++ b/commands/docs/str_expand.md @@ -2,7 +2,7 @@ title: str expand categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Generates all possible combinations defined in brace expansion syntax. usage: | diff --git a/commands/docs/str_index-of.md b/commands/docs/str_index-of.md index 1fcc9aeae26..aa88851eaa0 100644 --- a/commands/docs/str_index-of.md +++ b/commands/docs/str_index-of.md @@ -2,7 +2,7 @@ title: str index-of categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Returns start index of first occurrence of string in input, or -1 if no match. usage: | diff --git a/commands/docs/str_join.md b/commands/docs/str_join.md index 8f869f9bcce..bf5214b6236 100644 --- a/commands/docs/str_join.md +++ b/commands/docs/str_join.md @@ -2,7 +2,7 @@ title: str join categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Concatenate multiple strings into a single string, with an optional separator between each. usage: | diff --git a/commands/docs/str_kebab-case.md b/commands/docs/str_kebab-case.md index 900eb2e8424..76c1857ca5b 100644 --- a/commands/docs/str_kebab-case.md +++ b/commands/docs/str_kebab-case.md @@ -2,7 +2,7 @@ title: str kebab-case categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Convert a string to kebab-case. usage: | diff --git a/commands/docs/str_length.md b/commands/docs/str_length.md index 41f32595dfd..f80bb23c174 100644 --- a/commands/docs/str_length.md +++ b/commands/docs/str_length.md @@ -2,7 +2,7 @@ title: str length categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Output the length of any strings in the pipeline. usage: | diff --git a/commands/docs/str_pascal-case.md b/commands/docs/str_pascal-case.md index 9425621353d..0d9c63c557f 100644 --- a/commands/docs/str_pascal-case.md +++ b/commands/docs/str_pascal-case.md @@ -2,7 +2,7 @@ title: str pascal-case categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Convert a string to PascalCase. usage: | diff --git a/commands/docs/str_replace.md b/commands/docs/str_replace.md index b891b02d1a7..211b56c9a6b 100644 --- a/commands/docs/str_replace.md +++ b/commands/docs/str_replace.md @@ -2,7 +2,7 @@ title: str replace categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Find and replace text. usage: | diff --git a/commands/docs/str_reverse.md b/commands/docs/str_reverse.md index fc19eba0578..efefd674130 100644 --- a/commands/docs/str_reverse.md +++ b/commands/docs/str_reverse.md @@ -2,7 +2,7 @@ title: str reverse categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Reverse every string in the pipeline. usage: | diff --git a/commands/docs/str_screaming-snake-case.md b/commands/docs/str_screaming-snake-case.md index 0729ecb0ba4..9c4fe6a165f 100644 --- a/commands/docs/str_screaming-snake-case.md +++ b/commands/docs/str_screaming-snake-case.md @@ -2,7 +2,7 @@ title: str screaming-snake-case categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Convert a string to SCREAMING_SNAKE_CASE. usage: | diff --git a/commands/docs/str_snake-case.md b/commands/docs/str_snake-case.md index b9a02e90475..7e663c13f4f 100644 --- a/commands/docs/str_snake-case.md +++ b/commands/docs/str_snake-case.md @@ -2,7 +2,7 @@ title: str snake-case categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Convert a string to snake_case. usage: | diff --git a/commands/docs/str_starts-with.md b/commands/docs/str_starts-with.md index 7c8bf135289..6c737a133ea 100644 --- a/commands/docs/str_starts-with.md +++ b/commands/docs/str_starts-with.md @@ -2,7 +2,7 @@ title: str starts-with categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Check if an input starts with a string. usage: | diff --git a/commands/docs/str_stats.md b/commands/docs/str_stats.md index bd78485a772..ec952740e49 100644 --- a/commands/docs/str_stats.md +++ b/commands/docs/str_stats.md @@ -2,7 +2,7 @@ title: str stats categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Gather word count statistics on the text. usage: | diff --git a/commands/docs/str_substring.md b/commands/docs/str_substring.md index a12a52af6c6..e6cca264cf9 100644 --- a/commands/docs/str_substring.md +++ b/commands/docs/str_substring.md @@ -2,7 +2,7 @@ title: str substring categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Get part of a string. Note that the first character of a string is index 0. usage: | diff --git a/commands/docs/str_title-case.md b/commands/docs/str_title-case.md index b8dc60419cd..400373cdeb6 100644 --- a/commands/docs/str_title-case.md +++ b/commands/docs/str_title-case.md @@ -2,7 +2,7 @@ title: str title-case categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Convert a string to Title Case. usage: | diff --git a/commands/docs/str_trim.md b/commands/docs/str_trim.md index 286635171ba..e5833ac5065 100644 --- a/commands/docs/str_trim.md +++ b/commands/docs/str_trim.md @@ -2,7 +2,7 @@ title: str trim categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Trim whitespace or specific character. usage: | diff --git a/commands/docs/str_upcase.md b/commands/docs/str_upcase.md index b2116ef0cb3..1c42a15bad6 100644 --- a/commands/docs/str_upcase.md +++ b/commands/docs/str_upcase.md @@ -2,7 +2,7 @@ title: str upcase categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Make text uppercase. usage: | diff --git a/commands/docs/sys.md b/commands/docs/sys.md index 4e497d7cc55..d6ec0cc3630 100644 --- a/commands/docs/sys.md +++ b/commands/docs/sys.md @@ -2,7 +2,7 @@ title: sys categories: | system -version: 0.105.0 +version: 0.106.0 system: | View information about the system. usage: | diff --git a/commands/docs/sys_cpu.md b/commands/docs/sys_cpu.md index 853575e4ed3..ded4f5e5722 100644 --- a/commands/docs/sys_cpu.md +++ b/commands/docs/sys_cpu.md @@ -2,7 +2,7 @@ title: sys cpu categories: | system -version: 0.105.0 +version: 0.106.0 system: | View information about the system CPUs. usage: | diff --git a/commands/docs/sys_disks.md b/commands/docs/sys_disks.md index 6fdbde8bec4..5ec93973d84 100644 --- a/commands/docs/sys_disks.md +++ b/commands/docs/sys_disks.md @@ -2,7 +2,7 @@ title: sys disks categories: | system -version: 0.105.0 +version: 0.106.0 system: | View information about the system disks. usage: | diff --git a/commands/docs/sys_host.md b/commands/docs/sys_host.md index 6464ca40f77..a54dbb012aa 100644 --- a/commands/docs/sys_host.md +++ b/commands/docs/sys_host.md @@ -2,7 +2,7 @@ title: sys host categories: | system -version: 0.105.0 +version: 0.106.0 system: | View information about the system host. usage: | diff --git a/commands/docs/sys_mem.md b/commands/docs/sys_mem.md index 4692b15aa35..2a6ec5aeb81 100644 --- a/commands/docs/sys_mem.md +++ b/commands/docs/sys_mem.md @@ -2,7 +2,7 @@ title: sys mem categories: | system -version: 0.105.0 +version: 0.106.0 system: | View information about the system memory. usage: | diff --git a/commands/docs/sys_net.md b/commands/docs/sys_net.md index ba76c1b3fee..509ae3d28d6 100644 --- a/commands/docs/sys_net.md +++ b/commands/docs/sys_net.md @@ -2,7 +2,7 @@ title: sys net categories: | system -version: 0.105.0 +version: 0.106.0 system: | View information about the system network interfaces. usage: | diff --git a/commands/docs/sys_temp.md b/commands/docs/sys_temp.md index f5a6e08c0e3..09f31a1c4a2 100644 --- a/commands/docs/sys_temp.md +++ b/commands/docs/sys_temp.md @@ -2,7 +2,7 @@ title: sys temp categories: | system -version: 0.105.0 +version: 0.106.0 system: | View the temperatures of system components. usage: | diff --git a/commands/docs/sys_users.md b/commands/docs/sys_users.md index d8979716fd6..d89d5c992c4 100644 --- a/commands/docs/sys_users.md +++ b/commands/docs/sys_users.md @@ -2,7 +2,7 @@ title: sys users categories: | system -version: 0.105.0 +version: 0.106.0 system: | View information about the users on the system. usage: | diff --git a/commands/docs/table.md b/commands/docs/table.md index fd8eaece34e..72ad96484e4 100644 --- a/commands/docs/table.md +++ b/commands/docs/table.md @@ -2,7 +2,7 @@ title: table categories: | viewers -version: 0.105.0 +version: 0.106.0 viewers: | Render the table. usage: | diff --git a/commands/docs/take.md b/commands/docs/take.md index 8fd28ea8cce..375c2aa4007 100644 --- a/commands/docs/take.md +++ b/commands/docs/take.md @@ -2,7 +2,7 @@ title: take categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Take only the first n elements of a list, or the first n bytes of a binary value. usage: | diff --git a/commands/docs/take_until.md b/commands/docs/take_until.md index 2a3e860da6d..da7e4e27fa2 100644 --- a/commands/docs/take_until.md +++ b/commands/docs/take_until.md @@ -2,7 +2,7 @@ title: take until categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Take elements of the input until a predicate is true. usage: | diff --git a/commands/docs/take_while.md b/commands/docs/take_while.md index 36014f621d1..7cc69c61591 100644 --- a/commands/docs/take_while.md +++ b/commands/docs/take_while.md @@ -2,7 +2,7 @@ title: take while categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Take elements of the input while a predicate is true. usage: | diff --git a/commands/docs/tee.md b/commands/docs/tee.md index 1247c269150..b1c55915496 100644 --- a/commands/docs/tee.md +++ b/commands/docs/tee.md @@ -2,7 +2,7 @@ title: tee categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Copy a stream to another command in parallel. usage: | diff --git a/commands/docs/term.md b/commands/docs/term.md index 5f45e97e68c..0cc92fe98db 100644 --- a/commands/docs/term.md +++ b/commands/docs/term.md @@ -2,7 +2,7 @@ title: term categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Commands for querying information about the terminal. usage: | diff --git a/commands/docs/term_query.md b/commands/docs/term_query.md index 3f400672bb0..a17fc6a7e89 100644 --- a/commands/docs/term_query.md +++ b/commands/docs/term_query.md @@ -2,7 +2,7 @@ title: term query categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Query the terminal for information. usage: | diff --git a/commands/docs/term_size.md b/commands/docs/term_size.md index 63e0caf89fe..12ba4ffe81f 100644 --- a/commands/docs/term_size.md +++ b/commands/docs/term_size.md @@ -2,7 +2,7 @@ title: term size categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Returns a record containing the number of columns (width) and rows (height) of the terminal. usage: | diff --git a/commands/docs/timeit.md b/commands/docs/timeit.md index acf3357cfad..47958a9acd8 100644 --- a/commands/docs/timeit.md +++ b/commands/docs/timeit.md @@ -2,7 +2,7 @@ title: timeit categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Time how long it takes a closure to run. usage: | diff --git a/commands/docs/to.md b/commands/docs/to.md index c29c36ec989..94df5470a99 100644 --- a/commands/docs/to.md +++ b/commands/docs/to.md @@ -2,7 +2,7 @@ title: to categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Translate structured data to a format. usage: | diff --git a/commands/docs/to_csv.md b/commands/docs/to_csv.md index 3bea598dac0..df9d225ff36 100644 --- a/commands/docs/to_csv.md +++ b/commands/docs/to_csv.md @@ -2,7 +2,7 @@ title: to csv categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert table into .csv text . usage: | diff --git a/commands/docs/to_html.md b/commands/docs/to_html.md index 7fee18d0c87..9f19ae3bc7e 100644 --- a/commands/docs/to_html.md +++ b/commands/docs/to_html.md @@ -2,7 +2,7 @@ title: to html categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert table into simple HTML. usage: | diff --git a/commands/docs/to_json.md b/commands/docs/to_json.md index 22daa27c71c..697328a15d5 100644 --- a/commands/docs/to_json.md +++ b/commands/docs/to_json.md @@ -2,7 +2,7 @@ title: to json categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Converts table data into JSON text. usage: | diff --git a/commands/docs/to_md.md b/commands/docs/to_md.md index 1adcee1a2cb..2fe87205325 100644 --- a/commands/docs/to_md.md +++ b/commands/docs/to_md.md @@ -2,7 +2,7 @@ title: to md categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert table into simple Markdown. usage: | diff --git a/commands/docs/to_msgpack.md b/commands/docs/to_msgpack.md index b871075eff9..4b5099c2f72 100644 --- a/commands/docs/to_msgpack.md +++ b/commands/docs/to_msgpack.md @@ -2,7 +2,7 @@ title: to msgpack categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert Nu values into MessagePack. usage: | diff --git a/commands/docs/to_msgpackz.md b/commands/docs/to_msgpackz.md index 3f4fd7eafbb..75431bdad8a 100644 --- a/commands/docs/to_msgpackz.md +++ b/commands/docs/to_msgpackz.md @@ -2,7 +2,7 @@ title: to msgpackz categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert Nu values into brotli-compressed MessagePack. usage: | diff --git a/commands/docs/to_nuon.md b/commands/docs/to_nuon.md index 3d48faab066..48097d4cb68 100644 --- a/commands/docs/to_nuon.md +++ b/commands/docs/to_nuon.md @@ -2,7 +2,7 @@ title: to nuon categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Converts table data into Nuon (Nushell Object Notation) text. usage: | diff --git a/commands/docs/to_plist.md b/commands/docs/to_plist.md index 6343030169f..96a86c4eff1 100644 --- a/commands/docs/to_plist.md +++ b/commands/docs/to_plist.md @@ -2,7 +2,7 @@ title: to plist categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert Nu values into plist usage: | diff --git a/commands/docs/to_text.md b/commands/docs/to_text.md index 4f88ec7274b..b787227553b 100644 --- a/commands/docs/to_text.md +++ b/commands/docs/to_text.md @@ -2,7 +2,7 @@ title: to text categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Converts data into simple text. usage: | diff --git a/commands/docs/to_toml.md b/commands/docs/to_toml.md index c62dacedc03..5ce591366c4 100644 --- a/commands/docs/to_toml.md +++ b/commands/docs/to_toml.md @@ -2,7 +2,7 @@ title: to toml categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert record into .toml text. usage: | diff --git a/commands/docs/to_tsv.md b/commands/docs/to_tsv.md index 83424fd0d12..8f6946dfee3 100644 --- a/commands/docs/to_tsv.md +++ b/commands/docs/to_tsv.md @@ -2,7 +2,7 @@ title: to tsv categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert table into .tsv text. usage: | diff --git a/commands/docs/to_xml.md b/commands/docs/to_xml.md index 564c33c042a..17b98a0ed83 100644 --- a/commands/docs/to_xml.md +++ b/commands/docs/to_xml.md @@ -2,7 +2,7 @@ title: to xml categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert special record structure into .xml text. usage: | diff --git a/commands/docs/to_yaml.md b/commands/docs/to_yaml.md index c0cf202bc78..ca9f529196a 100644 --- a/commands/docs/to_yaml.md +++ b/commands/docs/to_yaml.md @@ -2,7 +2,7 @@ title: to yaml categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert table into .yaml/.yml text. usage: | diff --git a/commands/docs/to_yml.md b/commands/docs/to_yml.md index 3278366b033..449571a6540 100644 --- a/commands/docs/to_yml.md +++ b/commands/docs/to_yml.md @@ -2,7 +2,7 @@ title: to yml categories: | formats -version: 0.105.0 +version: 0.106.0 formats: | Convert table into .yaml/.yml text. usage: | diff --git a/commands/docs/touch.md b/commands/docs/touch.md index dd7afdab06f..d70cb6e2ed8 100644 --- a/commands/docs/touch.md +++ b/commands/docs/touch.md @@ -2,7 +2,7 @@ title: touch categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Creates one or more files. usage: | diff --git a/commands/docs/transpose.md b/commands/docs/transpose.md index 3b4c8c5cf6d..863263ad5dd 100644 --- a/commands/docs/transpose.md +++ b/commands/docs/transpose.md @@ -2,7 +2,7 @@ title: transpose categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Transposes the table contents so rows become columns and columns become rows. usage: | diff --git a/commands/docs/try.md b/commands/docs/try.md index c9b3d18ba11..acd801817d6 100644 --- a/commands/docs/try.md +++ b/commands/docs/try.md @@ -2,7 +2,7 @@ title: try categories: | core -version: 0.105.0 +version: 0.106.0 core: | Try to run a block, if it fails optionally run a catch closure. usage: | diff --git a/commands/docs/tutor.md b/commands/docs/tutor.md index e720e89737d..aeca0393cd1 100644 --- a/commands/docs/tutor.md +++ b/commands/docs/tutor.md @@ -2,7 +2,7 @@ title: tutor categories: | misc -version: 0.105.0 +version: 0.106.0 misc: | Run the tutorial. To begin, run: tutor. usage: | diff --git a/commands/docs/ulimit.md b/commands/docs/ulimit.md index bff63448ab4..d15c32ceb19 100644 --- a/commands/docs/ulimit.md +++ b/commands/docs/ulimit.md @@ -2,7 +2,7 @@ title: ulimit categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Set or get resource usage limits. usage: | diff --git a/commands/docs/uname.md b/commands/docs/uname.md index d9369c36522..dbb75a428b3 100644 --- a/commands/docs/uname.md +++ b/commands/docs/uname.md @@ -2,7 +2,7 @@ title: uname categories: | system -version: 0.105.0 +version: 0.106.0 system: | Print certain system information using uutils/coreutils uname. usage: | diff --git a/commands/docs/uniq-by.md b/commands/docs/uniq-by.md index c41677b7b21..c76713dd155 100644 --- a/commands/docs/uniq-by.md +++ b/commands/docs/uniq-by.md @@ -2,7 +2,7 @@ title: uniq-by categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Return the distinct values in the input by the given column(s). usage: | diff --git a/commands/docs/uniq.md b/commands/docs/uniq.md index 200e292e03f..f753dc429fe 100644 --- a/commands/docs/uniq.md +++ b/commands/docs/uniq.md @@ -2,7 +2,7 @@ title: uniq categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Return the distinct values in the input. usage: | diff --git a/commands/docs/update.md b/commands/docs/update.md index f3270e11ced..ad34e7c0f4b 100644 --- a/commands/docs/update.md +++ b/commands/docs/update.md @@ -2,7 +2,7 @@ title: update categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Update an existing column to have a new value. usage: | diff --git a/commands/docs/update_cells.md b/commands/docs/update_cells.md index 7ac333b327c..3ddc98a30a4 100644 --- a/commands/docs/update_cells.md +++ b/commands/docs/update_cells.md @@ -2,7 +2,7 @@ title: update cells categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Update the table cells. usage: | @@ -31,9 +31,10 @@ contributors: false ## Input/output types: -| input | output | -| ----- | ------ | -| table | table | +| input | output | +| ------ | ------ | +| table | table | +| record | record | ## Examples Update the zero value cells to empty strings. @@ -48,11 +49,11 @@ Update the zero value cells to empty strings. $value } } -╭──────┬───────────────┬───────────────┬───────────────┬───────────────┬───────────────┬───────────────┬──────────────╮ -│ # │ 2021-04-16 │ 2021-06-10 │ 2021-09-18 │ 2021-10-15 │ 2021-11-16 │ 2021-11-17 │ 2021-11-18 │ -├──────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┼──────────────┤ -│ 0 │ 37 │ │ │ │ 37 │ │ │ -╰──────┴───────────────┴───────────────┴───────────────┴───────────────┴───────────────┴───────────────┴──────────────╯ +╭───┬────────────┬────────────┬────────────┬────────────┬────────────┬────────────┬────────────╮ +│ # │ 2021-04-16 │ 2021-06-10 │ 2021-09-18 │ 2021-10-15 │ 2021-11-16 │ 2021-11-17 │ 2021-11-18 │ +├───┼────────────┼────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤ +│ 0 │ 37 │ │ │ │ 37 │ │ │ +╰───┴────────────┴────────────┴────────────┴────────────┴────────────┴────────────┴────────────╯ ``` @@ -68,10 +69,20 @@ Update the zero value cells to empty strings in 2 last columns. $value } } -╭──────┬───────────────┬───────────────┬───────────────┬───────────────┬───────────────┬───────────────┬──────────────╮ -│ # │ 2021-04-16 │ 2021-06-10 │ 2021-09-18 │ 2021-10-15 │ 2021-11-16 │ 2021-11-17 │ 2021-11-18 │ -├──────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┼───────────────┼──────────────┤ -│ 0 │ 37 │ 0 │ 0 │ 0 │ 37 │ │ │ -╰──────┴───────────────┴───────────────┴───────────────┴───────────────┴───────────────┴───────────────┴──────────────╯ +╭───┬────────────┬────────────┬────────────┬────────────┬────────────┬────────────┬────────────╮ +│ # │ 2021-04-16 │ 2021-06-10 │ 2021-09-18 │ 2021-10-15 │ 2021-11-16 │ 2021-11-17 │ 2021-11-18 │ +├───┼────────────┼────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤ +│ 0 │ 37 │ 0 │ 0 │ 0 │ 37 │ │ │ +╰───┴────────────┴────────────┴────────────┴────────────┴────────────┴────────────┴────────────╯ ``` + +Update each value in a record. +```nu +> {a: 1, b: 2, c: 3} | update cells { $in + 10 } +╭───┬────╮ +│ a │ 11 │ +│ b │ 12 │ +│ c │ 13 │ +╰───┴────╯ +``` diff --git a/commands/docs/upsert.md b/commands/docs/upsert.md index b7969a31939..d4322c1ee77 100644 --- a/commands/docs/upsert.md +++ b/commands/docs/upsert.md @@ -2,7 +2,7 @@ title: upsert categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Update an existing column to have a new value, or insert a new column. usage: | diff --git a/commands/docs/url.md b/commands/docs/url.md index a8d74e1cfd9..725f96ded0f 100644 --- a/commands/docs/url.md +++ b/commands/docs/url.md @@ -2,7 +2,7 @@ title: url categories: | network -version: 0.105.0 +version: 0.106.0 network: | Various commands for working with URLs. usage: | diff --git a/commands/docs/url_build-query.md b/commands/docs/url_build-query.md index 1051b767651..975e2184a8b 100644 --- a/commands/docs/url_build-query.md +++ b/commands/docs/url_build-query.md @@ -2,7 +2,7 @@ title: url build-query categories: | network -version: 0.105.0 +version: 0.106.0 network: | Converts record or table into query string applying percent-encoding. usage: | diff --git a/commands/docs/url_decode.md b/commands/docs/url_decode.md index e9e56c43233..f53061a850e 100644 --- a/commands/docs/url_decode.md +++ b/commands/docs/url_decode.md @@ -2,7 +2,7 @@ title: url decode categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Converts a percent-encoded web safe string to a string. usage: | diff --git a/commands/docs/url_encode.md b/commands/docs/url_encode.md index f31ca014f36..36951bad71f 100644 --- a/commands/docs/url_encode.md +++ b/commands/docs/url_encode.md @@ -2,7 +2,7 @@ title: url encode categories: | strings -version: 0.105.0 +version: 0.106.0 strings: | Converts a string to a percent encoded web safe string. usage: | diff --git a/commands/docs/url_join.md b/commands/docs/url_join.md index a1aec2b9cba..5fe5525d4cf 100644 --- a/commands/docs/url_join.md +++ b/commands/docs/url_join.md @@ -2,7 +2,7 @@ title: url join categories: | network -version: 0.105.0 +version: 0.106.0 network: | Converts a record to url. usage: | diff --git a/commands/docs/url_parse.md b/commands/docs/url_parse.md index 3bacf6fea7b..6fee0e3dc48 100644 --- a/commands/docs/url_parse.md +++ b/commands/docs/url_parse.md @@ -2,7 +2,7 @@ title: url parse categories: | network -version: 0.105.0 +version: 0.106.0 network: | Parses a url. usage: | diff --git a/commands/docs/url_split-query.md b/commands/docs/url_split-query.md index c0d9a481820..29884adece5 100644 --- a/commands/docs/url_split-query.md +++ b/commands/docs/url_split-query.md @@ -2,7 +2,7 @@ title: url split-query categories: | network -version: 0.105.0 +version: 0.106.0 network: | Converts query string into table applying percent-decoding. usage: | diff --git a/commands/docs/use.md b/commands/docs/use.md index 8978f4c58b8..29fcd31a597 100644 --- a/commands/docs/use.md +++ b/commands/docs/use.md @@ -2,7 +2,7 @@ title: use categories: | core -version: 0.105.0 +version: 0.106.0 core: | Use definitions from a module, making them available in your shell. usage: | diff --git a/commands/docs/values.md b/commands/docs/values.md index 8bd826f24bd..e64bb9e7692 100644 --- a/commands/docs/values.md +++ b/commands/docs/values.md @@ -2,7 +2,7 @@ title: values categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Given a record or table, produce a list of its columns' values. usage: | diff --git a/commands/docs/version.md b/commands/docs/version.md index cf89bee1039..c1263ce7c87 100644 --- a/commands/docs/version.md +++ b/commands/docs/version.md @@ -2,7 +2,7 @@ title: version categories: | core -version: 0.105.0 +version: 0.106.0 core: | Display Nu version, and its build configuration. usage: | diff --git a/commands/docs/version_check.md b/commands/docs/version_check.md index adc336cf22b..a5183da1eb3 100644 --- a/commands/docs/version_check.md +++ b/commands/docs/version_check.md @@ -2,7 +2,7 @@ title: version check categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Checks to see if you have the latest version of nushell. usage: | diff --git a/commands/docs/view.md b/commands/docs/view.md index 062d6a875f7..cfb33e2a754 100644 --- a/commands/docs/view.md +++ b/commands/docs/view.md @@ -2,7 +2,7 @@ title: view categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | Various commands for viewing debug information. usage: | diff --git a/commands/docs/view_blocks.md b/commands/docs/view_blocks.md index 7d8ffc09d21..b112d26c7df 100644 --- a/commands/docs/view_blocks.md +++ b/commands/docs/view_blocks.md @@ -2,7 +2,7 @@ title: view blocks categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | View the blocks registered in nushell's EngineState memory. usage: | diff --git a/commands/docs/view_files.md b/commands/docs/view_files.md index ec83d54bcf8..b0d08d86679 100644 --- a/commands/docs/view_files.md +++ b/commands/docs/view_files.md @@ -2,7 +2,7 @@ title: view files categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | View the files registered in nushell's EngineState memory. usage: | diff --git a/commands/docs/view_ir.md b/commands/docs/view_ir.md index cd442d2c3fe..f1b0d57b880 100644 --- a/commands/docs/view_ir.md +++ b/commands/docs/view_ir.md @@ -2,7 +2,7 @@ title: view ir categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | View the compiled IR code for a block of code. usage: | diff --git a/commands/docs/view_source.md b/commands/docs/view_source.md index 45b20c67665..06cb3ca71f7 100644 --- a/commands/docs/view_source.md +++ b/commands/docs/view_source.md @@ -2,7 +2,7 @@ title: view source categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | View a block, module, or a definition. usage: | diff --git a/commands/docs/view_span.md b/commands/docs/view_span.md index 2bb507ae6ab..9cfeb4f4869 100644 --- a/commands/docs/view_span.md +++ b/commands/docs/view_span.md @@ -2,7 +2,7 @@ title: view span categories: | debug -version: 0.105.0 +version: 0.106.0 debug: | View the contents of a span. usage: | diff --git a/commands/docs/watch.md b/commands/docs/watch.md index b90ea608f4f..1508bc7dc40 100644 --- a/commands/docs/watch.md +++ b/commands/docs/watch.md @@ -2,7 +2,7 @@ title: watch categories: | filesystem -version: 0.105.0 +version: 0.106.0 filesystem: | Watch for file changes and execute Nu code when they happen. usage: | diff --git a/commands/docs/where.md b/commands/docs/where.md index 11697b9e55f..03ff44e87eb 100644 --- a/commands/docs/where.md +++ b/commands/docs/where.md @@ -2,7 +2,7 @@ title: where categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Filter values of an input list based on a condition. usage: | diff --git a/commands/docs/which.md b/commands/docs/which.md index eb6ba800569..4822c369af5 100644 --- a/commands/docs/which.md +++ b/commands/docs/which.md @@ -2,7 +2,7 @@ title: which categories: | system -version: 0.105.0 +version: 0.106.0 system: | Finds a program file, alias or custom command. usage: | diff --git a/commands/docs/while.md b/commands/docs/while.md index 3a01004e62e..8c6c88eff0b 100644 --- a/commands/docs/while.md +++ b/commands/docs/while.md @@ -2,7 +2,7 @@ title: while categories: | core -version: 0.105.0 +version: 0.106.0 core: | Conditionally run a block in a loop. usage: | diff --git a/commands/docs/whoami.md b/commands/docs/whoami.md index dafb590e083..18ede1f2dbb 100644 --- a/commands/docs/whoami.md +++ b/commands/docs/whoami.md @@ -2,7 +2,7 @@ title: whoami categories: | platform -version: 0.105.0 +version: 0.106.0 platform: | Get the current username using uutils/coreutils whoami. usage: | diff --git a/commands/docs/window.md b/commands/docs/window.md index 091ad56c98e..1d04ef66b94 100644 --- a/commands/docs/window.md +++ b/commands/docs/window.md @@ -2,7 +2,7 @@ title: window categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Creates a sliding window of `window_size` that slide by n rows/elements across input. usage: | diff --git a/commands/docs/with-env.md b/commands/docs/with-env.md index 54d023b064a..28e2e089d89 100644 --- a/commands/docs/with-env.md +++ b/commands/docs/with-env.md @@ -2,7 +2,7 @@ title: with-env categories: | env -version: 0.105.0 +version: 0.106.0 env: | Runs a block with an environment variable set. usage: | diff --git a/commands/docs/wrap.md b/commands/docs/wrap.md index b40ca54650d..3ff30eceee6 100644 --- a/commands/docs/wrap.md +++ b/commands/docs/wrap.md @@ -2,7 +2,7 @@ title: wrap categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Wrap the value into a column. usage: | diff --git a/commands/docs/zip.md b/commands/docs/zip.md index 5753ca2ef61..9a9bcef2bc6 100644 --- a/commands/docs/zip.md +++ b/commands/docs/zip.md @@ -2,7 +2,7 @@ title: zip categories: | filters -version: 0.105.0 +version: 0.106.0 filters: | Combine a stream with the input. usage: |