diff --git a/commands/docs/alias.md b/commands/docs/alias.md index 0ad54b427c7..46ee911c8a9 100644 --- a/commands/docs/alias.md +++ b/commands/docs/alias.md @@ -2,7 +2,7 @@ title: alias categories: | core -version: 0.109.0 +version: 0.110.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 b9451436fd5..90d4fccb059 100644 --- a/commands/docs/all.md +++ b/commands/docs/all.md @@ -2,7 +2,7 @@ title: all categories: | filters -version: 0.109.0 +version: 0.110.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 d18e8e7802e..264dfaaa5fe 100644 --- a/commands/docs/ansi.md +++ b/commands/docs/ansi.md @@ -2,7 +2,7 @@ title: ansi categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Output ANSI codes to change color and style of text. usage: | diff --git a/commands/docs/ansi_gradient.md b/commands/docs/ansi_gradient.md index 352e6f188b7..a1347acccf9 100644 --- a/commands/docs/ansi_gradient.md +++ b/commands/docs/ansi_gradient.md @@ -2,7 +2,7 @@ title: ansi gradient categories: | platform -version: 0.109.0 +version: 0.110.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 0398b632eb2..5783f49d3aa 100644 --- a/commands/docs/ansi_link.md +++ b/commands/docs/ansi_link.md @@ -2,7 +2,7 @@ title: ansi link categories: | platform -version: 0.109.0 +version: 0.110.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 d7a4587f0b2..4c17988612a 100644 --- a/commands/docs/ansi_strip.md +++ b/commands/docs/ansi_strip.md @@ -2,7 +2,7 @@ title: ansi strip categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Strip ANSI escape sequences from a string. usage: | diff --git a/commands/docs/any.md b/commands/docs/any.md index 0822cef09b2..26a9328a52f 100644 --- a/commands/docs/any.md +++ b/commands/docs/any.md @@ -2,7 +2,7 @@ title: any categories: | filters -version: 0.109.0 +version: 0.110.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 93e66aa5172..232c6650658 100644 --- a/commands/docs/append.md +++ b/commands/docs/append.md @@ -2,7 +2,7 @@ title: append categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Append any number of rows to a table. usage: | diff --git a/commands/docs/ast.md b/commands/docs/ast.md index eed206fab96..0f925474bb9 100644 --- a/commands/docs/ast.md +++ b/commands/docs/ast.md @@ -2,7 +2,7 @@ title: ast categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Print the abstract syntax tree (ast) for a pipeline. usage: | diff --git a/commands/docs/attr.md b/commands/docs/attr.md index 2a9c95d951e..37dce406d81 100644 --- a/commands/docs/attr.md +++ b/commands/docs/attr.md @@ -2,7 +2,7 @@ title: attr categories: | core -version: 0.109.0 +version: 0.110.0 core: | Various attributes for custom commands. usage: | diff --git a/commands/docs/attr_category.md b/commands/docs/attr_category.md index 3d255e84957..45cd6ff7e4e 100644 --- a/commands/docs/attr_category.md +++ b/commands/docs/attr_category.md @@ -2,7 +2,7 @@ title: attr category categories: | core -version: 0.109.0 +version: 0.110.0 core: | Attribute for adding a category to custom commands. usage: | diff --git a/commands/docs/attr_complete.md b/commands/docs/attr_complete.md index 20dd8ab71f5..10d3137ac0b 100644 --- a/commands/docs/attr_complete.md +++ b/commands/docs/attr_complete.md @@ -2,7 +2,7 @@ title: attr complete categories: | core -version: 0.109.0 +version: 0.110.0 core: | Attribute for using another command as a completion source for all arguments. usage: | diff --git a/commands/docs/attr_complete_external.md b/commands/docs/attr_complete_external.md index 59f80a23195..10c2247b96d 100644 --- a/commands/docs/attr_complete_external.md +++ b/commands/docs/attr_complete_external.md @@ -2,7 +2,7 @@ title: attr complete external categories: | core -version: 0.109.0 +version: 0.110.0 core: | Attribute for enabling use of the external completer for internal commands. usage: | diff --git a/commands/docs/attr_deprecated.md b/commands/docs/attr_deprecated.md index b5c2deef9cb..b8e1af536ec 100644 --- a/commands/docs/attr_deprecated.md +++ b/commands/docs/attr_deprecated.md @@ -2,7 +2,7 @@ title: attr deprecated categories: | core -version: 0.109.0 +version: 0.110.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 622a6bc1b51..93e55401502 100644 --- a/commands/docs/attr_example.md +++ b/commands/docs/attr_example.md @@ -2,7 +2,7 @@ title: attr example categories: | core -version: 0.109.0 +version: 0.110.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 82cf88ea222..6d6c47ca40c 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.109.0 +version: 0.110.0 core: | Attribute for adding search terms to custom commands. usage: | diff --git a/commands/docs/banner.md b/commands/docs/banner.md index ecd5d2900d3..14fdd8de873 100644 --- a/commands/docs/banner.md +++ b/commands/docs/banner.md @@ -2,7 +2,7 @@ title: banner categories: | default -version: 0.109.0 +version: 0.110.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 d65d38674b8..e42d57f9a8e 100644 --- a/commands/docs/bits.md +++ b/commands/docs/bits.md @@ -2,7 +2,7 @@ title: bits categories: | bits -version: 0.109.0 +version: 0.110.0 bits: | Various commands for working with bits. usage: | diff --git a/commands/docs/bits_and.md b/commands/docs/bits_and.md index 334999cc36d..e72667507be 100644 --- a/commands/docs/bits_and.md +++ b/commands/docs/bits_and.md @@ -2,7 +2,7 @@ title: bits and categories: | bits -version: 0.109.0 +version: 0.110.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 ec82e0cbe4c..bce35948426 100644 --- a/commands/docs/bits_not.md +++ b/commands/docs/bits_not.md @@ -2,7 +2,7 @@ title: bits not categories: | bits -version: 0.109.0 +version: 0.110.0 bits: | Performs logical negation on each bit. usage: | diff --git a/commands/docs/bits_or.md b/commands/docs/bits_or.md index cae21a5568e..0e6319468dc 100644 --- a/commands/docs/bits_or.md +++ b/commands/docs/bits_or.md @@ -2,7 +2,7 @@ title: bits or categories: | bits -version: 0.109.0 +version: 0.110.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 ab536f39fe2..a231bf448d8 100644 --- a/commands/docs/bits_rol.md +++ b/commands/docs/bits_rol.md @@ -2,7 +2,7 @@ title: bits rol categories: | bits -version: 0.109.0 +version: 0.110.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 465d0771a32..285c284adbf 100644 --- a/commands/docs/bits_ror.md +++ b/commands/docs/bits_ror.md @@ -2,7 +2,7 @@ title: bits ror categories: | bits -version: 0.109.0 +version: 0.110.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 1263f010f73..8b7fa073e2f 100644 --- a/commands/docs/bits_shl.md +++ b/commands/docs/bits_shl.md @@ -2,7 +2,7 @@ title: bits shl categories: | bits -version: 0.109.0 +version: 0.110.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 58afeca1cf2..3a9e0149d70 100644 --- a/commands/docs/bits_shr.md +++ b/commands/docs/bits_shr.md @@ -2,7 +2,7 @@ title: bits shr categories: | bits -version: 0.109.0 +version: 0.110.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 6fca023b799..b8bd3f0812d 100644 --- a/commands/docs/bits_xor.md +++ b/commands/docs/bits_xor.md @@ -2,7 +2,7 @@ title: bits xor categories: | bits -version: 0.109.0 +version: 0.110.0 bits: | Performs bitwise xor for ints or binary values. usage: | diff --git a/commands/docs/break.md b/commands/docs/break.md index 32181244c7d..df254606225 100644 --- a/commands/docs/break.md +++ b/commands/docs/break.md @@ -2,7 +2,7 @@ title: break categories: | core -version: 0.109.0 +version: 0.110.0 core: | Break a loop. usage: | diff --git a/commands/docs/bytes.md b/commands/docs/bytes.md index 2e1501a74d9..9c0e5c5f482 100644 --- a/commands/docs/bytes.md +++ b/commands/docs/bytes.md @@ -2,7 +2,7 @@ title: bytes categories: | bytes -version: 0.109.0 +version: 0.110.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 3b29cb54ca1..34b53c0cde0 100644 --- a/commands/docs/bytes_add.md +++ b/commands/docs/bytes_add.md @@ -2,7 +2,7 @@ title: bytes add categories: | bytes -version: 0.109.0 +version: 0.110.0 bytes: | Add specified bytes to the input. usage: | diff --git a/commands/docs/bytes_at.md b/commands/docs/bytes_at.md index 5e0714f9d70..c8ab7ad7a2c 100644 --- a/commands/docs/bytes_at.md +++ b/commands/docs/bytes_at.md @@ -2,7 +2,7 @@ title: bytes at categories: | bytes -version: 0.109.0 +version: 0.110.0 bytes: | Get bytes defined by a range. usage: | diff --git a/commands/docs/bytes_build.md b/commands/docs/bytes_build.md index 680a8628857..3a301c6441e 100644 --- a/commands/docs/bytes_build.md +++ b/commands/docs/bytes_build.md @@ -2,7 +2,7 @@ title: bytes build categories: | bytes -version: 0.109.0 +version: 0.110.0 bytes: | Create bytes from the arguments. usage: | diff --git a/commands/docs/bytes_collect.md b/commands/docs/bytes_collect.md index bd538ad8d45..47322e2da24 100644 --- a/commands/docs/bytes_collect.md +++ b/commands/docs/bytes_collect.md @@ -2,7 +2,7 @@ title: bytes collect categories: | bytes -version: 0.109.0 +version: 0.110.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 98552195dda..aac48600c05 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.109.0 +version: 0.110.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 2117da44065..ab607f00b63 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.109.0 +version: 0.110.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 d75338105e5..e246785550a 100644 --- a/commands/docs/bytes_length.md +++ b/commands/docs/bytes_length.md @@ -2,7 +2,7 @@ title: bytes length categories: | bytes -version: 0.109.0 +version: 0.110.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 80a2bf1be0d..897c08a5c73 100644 --- a/commands/docs/bytes_remove.md +++ b/commands/docs/bytes_remove.md @@ -2,7 +2,7 @@ title: bytes remove categories: | bytes -version: 0.109.0 +version: 0.110.0 bytes: | Remove bytes. usage: | diff --git a/commands/docs/bytes_replace.md b/commands/docs/bytes_replace.md index 455cae60583..2a4b29a7f50 100644 --- a/commands/docs/bytes_replace.md +++ b/commands/docs/bytes_replace.md @@ -2,7 +2,7 @@ title: bytes replace categories: | bytes -version: 0.109.0 +version: 0.110.0 bytes: | Find and replace binary. usage: | diff --git a/commands/docs/bytes_reverse.md b/commands/docs/bytes_reverse.md index f847119dd1b..4ece219dbf5 100644 --- a/commands/docs/bytes_reverse.md +++ b/commands/docs/bytes_reverse.md @@ -2,7 +2,7 @@ title: bytes reverse categories: | bytes -version: 0.109.0 +version: 0.110.0 bytes: | Reverse the bytes in the pipeline. usage: | diff --git a/commands/docs/bytes_split.md b/commands/docs/bytes_split.md index 6cc9ef38d77..4763d092083 100644 --- a/commands/docs/bytes_split.md +++ b/commands/docs/bytes_split.md @@ -2,7 +2,7 @@ title: bytes split categories: | bytes -version: 0.109.0 +version: 0.110.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 0cc24873e48..0510550a10f 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.109.0 +version: 0.110.0 bytes: | Check if bytes starts with a pattern. usage: | diff --git a/commands/docs/cal.md b/commands/docs/cal.md index d4d419a02f3..465e9aa0ee5 100644 --- a/commands/docs/cal.md +++ b/commands/docs/cal.md @@ -2,7 +2,7 @@ title: cal categories: | generators -version: 0.109.0 +version: 0.110.0 generators: | Display a calendar. usage: | @@ -28,7 +28,7 @@ contributors: false - `--as-table, -t`: output as a table - `--full-year {int}`: Display a year-long calendar for the specified year - `--week-start {string}`: Display the calendar with the specified day as the first day of the week - - `--month-names`: Display the month names instead of integers + - `--month-names`: Display the month names in a separate column ## Input/output types: diff --git a/commands/docs/cd.md b/commands/docs/cd.md index 83996e8fc1b..7abed85c5c9 100644 --- a/commands/docs/cd.md +++ b/commands/docs/cd.md @@ -2,7 +2,7 @@ title: cd categories: | filesystem -version: 0.109.0 +version: 0.110.0 filesystem: | Change directory. usage: | diff --git a/commands/docs/char.md b/commands/docs/char.md index b721feab517..b4faddcf091 100644 --- a/commands/docs/char.md +++ b/commands/docs/char.md @@ -2,7 +2,7 @@ title: char categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Output special characters (e.g., 'newline'). usage: | diff --git a/commands/docs/chunk-by.md b/commands/docs/chunk-by.md index 11eeba34c0c..2e9f4abe002 100644 --- a/commands/docs/chunk-by.md +++ b/commands/docs/chunk-by.md @@ -2,7 +2,7 @@ title: chunk-by categories: | filters -version: 0.109.0 +version: 0.110.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 ce6fb127312..0b30fb60270 100644 --- a/commands/docs/chunks.md +++ b/commands/docs/chunks.md @@ -2,7 +2,7 @@ title: chunks categories: | filters -version: 0.109.0 +version: 0.110.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 f5aa358595b..0106d647c9a 100644 --- a/commands/docs/clear.md +++ b/commands/docs/clear.md @@ -2,7 +2,7 @@ title: clear categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Clear the terminal. usage: | diff --git a/commands/docs/collect.md b/commands/docs/collect.md index 01273baa9fd..7029fef6478 100644 --- a/commands/docs/collect.md +++ b/commands/docs/collect.md @@ -2,7 +2,7 @@ title: collect categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Collect a stream into a value. usage: | diff --git a/commands/docs/columns.md b/commands/docs/columns.md index 1c9614e6d21..de287f7c189 100644 --- a/commands/docs/columns.md +++ b/commands/docs/columns.md @@ -2,7 +2,7 @@ title: columns categories: | filters -version: 0.109.0 +version: 0.110.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 290b0f2ecba..8f7af299d92 100644 --- a/commands/docs/commandline.md +++ b/commands/docs/commandline.md @@ -2,7 +2,7 @@ title: commandline categories: | core -version: 0.109.0 +version: 0.110.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 2310b87f40b..66dafafaed3 100644 --- a/commands/docs/commandline_edit.md +++ b/commands/docs/commandline_edit.md @@ -2,7 +2,7 @@ title: commandline edit categories: | core -version: 0.109.0 +version: 0.110.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 30eb29e1d0b..cd628287a73 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.109.0 +version: 0.110.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 89d4ef3ba6f..99cbb0c0d93 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.109.0 +version: 0.110.0 core: | Set the current cursor position. usage: | diff --git a/commands/docs/compact.md b/commands/docs/compact.md index 80c5fb2b103..d8254310e7f 100644 --- a/commands/docs/compact.md +++ b/commands/docs/compact.md @@ -2,7 +2,7 @@ title: compact categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Creates a table with non-empty rows. usage: | diff --git a/commands/docs/complete.md b/commands/docs/complete.md index ffb651ffa96..4d1c2e162f8 100644 --- a/commands/docs/complete.md +++ b/commands/docs/complete.md @@ -2,7 +2,7 @@ title: complete categories: | system -version: 0.109.0 +version: 0.110.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 b354e8202f7..e42797515de 100644 --- a/commands/docs/config.md +++ b/commands/docs/config.md @@ -2,7 +2,7 @@ title: config categories: | env -version: 0.109.0 +version: 0.110.0 env: | Edit nushell configuration files. usage: | diff --git a/commands/docs/config_env.md b/commands/docs/config_env.md index 0f432e5a428..a40bf6aa89b 100644 --- a/commands/docs/config_env.md +++ b/commands/docs/config_env.md @@ -2,7 +2,7 @@ title: config env categories: | env -version: 0.109.0 +version: 0.110.0 env: | Edit nu environment configurations. usage: | diff --git a/commands/docs/config_flatten.md b/commands/docs/config_flatten.md index be2afcbc8c0..aadadc81bec 100644 --- a/commands/docs/config_flatten.md +++ b/commands/docs/config_flatten.md @@ -2,7 +2,7 @@ title: config flatten categories: | debug -version: 0.109.0 +version: 0.110.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 3fd53c7fceb..8a19146d9bd 100644 --- a/commands/docs/config_nu.md +++ b/commands/docs/config_nu.md @@ -2,7 +2,7 @@ title: config nu categories: | env -version: 0.109.0 +version: 0.110.0 env: | Edit nu configurations. usage: | diff --git a/commands/docs/config_reset.md b/commands/docs/config_reset.md index 37ef5909838..7360dcce244 100644 --- a/commands/docs/config_reset.md +++ b/commands/docs/config_reset.md @@ -2,7 +2,7 @@ title: config reset categories: | env -version: 0.109.0 +version: 0.110.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 104d61df243..71011c82be1 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.109.0 +version: 0.110.0 env: | Get the configuration for color output. usage: | diff --git a/commands/docs/const.md b/commands/docs/const.md index 675d1e034d6..872daeeb493 100644 --- a/commands/docs/const.md +++ b/commands/docs/const.md @@ -2,7 +2,7 @@ title: const categories: | core -version: 0.109.0 +version: 0.110.0 core: | Create a parse-time constant. usage: | diff --git a/commands/docs/continue.md b/commands/docs/continue.md index 6d7ab05bc1d..00b8928dbbc 100644 --- a/commands/docs/continue.md +++ b/commands/docs/continue.md @@ -2,7 +2,7 @@ title: continue categories: | core -version: 0.109.0 +version: 0.110.0 core: | Continue a loop from the next iteration. usage: | diff --git a/commands/docs/cp.md b/commands/docs/cp.md index 808c2a143eb..5b4b9656778 100644 --- a/commands/docs/cp.md +++ b/commands/docs/cp.md @@ -2,7 +2,7 @@ title: cp categories: | filesystem -version: 0.109.0 +version: 0.110.0 filesystem: | Copy files using uutils/coreutils cp. usage: | @@ -35,6 +35,7 @@ contributors: false if not specified only mode is preserved possible values: mode, ownership (unix only), timestamps, context, link, links, xattr - `--debug`: explain how a file is copied. Implies -v + - `--all, -a`: move hidden files if '*' is provided ## Parameters diff --git a/commands/docs/date.md b/commands/docs/date.md index 35d6017590e..290e6df5c9e 100644 --- a/commands/docs/date.md +++ b/commands/docs/date.md @@ -2,7 +2,7 @@ title: date categories: | date -version: 0.109.0 +version: 0.110.0 date: | Date-related commands. usage: | diff --git a/commands/docs/date_format.md b/commands/docs/date_format.md index 71d4fbe02e1..c93ed36d25e 100644 --- a/commands/docs/date_format.md +++ b/commands/docs/date_format.md @@ -2,7 +2,7 @@ title: date format categories: | removed -version: 0.109.0 +version: 0.110.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 fb57d976887..4f7d10f781a 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.109.0 +version: 0.110.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 b54d16a8423..f2fb0f41f02 100644 --- a/commands/docs/date_humanize.md +++ b/commands/docs/date_humanize.md @@ -2,7 +2,7 @@ title: date humanize categories: | date -version: 0.109.0 +version: 0.110.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 c43ad4d4597..b95482aadfa 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.109.0 +version: 0.110.0 date: | List supported time zones. usage: | diff --git a/commands/docs/date_now.md b/commands/docs/date_now.md index 9ae49a273fa..2b191706fd6 100644 --- a/commands/docs/date_now.md +++ b/commands/docs/date_now.md @@ -2,7 +2,7 @@ title: date now categories: | date -version: 0.109.0 +version: 0.110.0 date: | Get the current date. usage: | diff --git a/commands/docs/date_to-timezone.md b/commands/docs/date_to-timezone.md index 67bc3b4beb0..560c32e6119 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.109.0 +version: 0.110.0 date: | Convert a date to a given time zone. usage: | diff --git a/commands/docs/debug.md b/commands/docs/debug.md index fc2268bfd90..dd01ea0bfcb 100644 --- a/commands/docs/debug.md +++ b/commands/docs/debug.md @@ -2,7 +2,7 @@ title: debug categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Debug print the value(s) piped in. usage: | diff --git a/commands/docs/debug_env.md b/commands/docs/debug_env.md index 69e54c45be8..3a7b2f0412b 100644 --- a/commands/docs/debug_env.md +++ b/commands/docs/debug_env.md @@ -2,7 +2,7 @@ title: debug env categories: | debug -version: 0.109.0 +version: 0.110.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 index 8973572ec00..b91d75bec06 100644 --- a/commands/docs/debug_experimental-options.md +++ b/commands/docs/debug_experimental-options.md @@ -2,7 +2,7 @@ title: debug experimental-options categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Show all experimental options. usage: | diff --git a/commands/docs/debug_info.md b/commands/docs/debug_info.md index f1cf40805b7..a66e2bcb9c8 100644 --- a/commands/docs/debug_info.md +++ b/commands/docs/debug_info.md @@ -2,7 +2,7 @@ title: debug info categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | View process memory info. usage: | diff --git a/commands/docs/debug_profile.md b/commands/docs/debug_profile.md index 3e143e9934a..fcdb410dc0c 100644 --- a/commands/docs/debug_profile.md +++ b/commands/docs/debug_profile.md @@ -2,7 +2,7 @@ title: debug profile categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Profile pipeline elements in a closure. usage: | diff --git a/commands/docs/decode.md b/commands/docs/decode.md index 4c5c079ff81..be50c647b97 100644 --- a/commands/docs/decode.md +++ b/commands/docs/decode.md @@ -2,7 +2,7 @@ title: decode categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Decode bytes into a string. usage: | diff --git a/commands/docs/decode_base32.md b/commands/docs/decode_base32.md index 5c153247621..341c28eeec9 100644 --- a/commands/docs/decode_base32.md +++ b/commands/docs/decode_base32.md @@ -2,7 +2,7 @@ title: decode base32 categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Decode a Base32 value. usage: | diff --git a/commands/docs/decode_base32hex.md b/commands/docs/decode_base32hex.md index 24811888f3f..016d9a34c7f 100644 --- a/commands/docs/decode_base32hex.md +++ b/commands/docs/decode_base32hex.md @@ -2,7 +2,7 @@ title: decode base32hex categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Encode a base32hex value. usage: | diff --git a/commands/docs/decode_base64.md b/commands/docs/decode_base64.md index 7a8625b6497..b3d939757ad 100644 --- a/commands/docs/decode_base64.md +++ b/commands/docs/decode_base64.md @@ -2,7 +2,7 @@ title: decode base64 categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Decode a Base64 value. usage: | diff --git a/commands/docs/decode_hex.md b/commands/docs/decode_hex.md index ad4013ca823..4ca91f702cf 100644 --- a/commands/docs/decode_hex.md +++ b/commands/docs/decode_hex.md @@ -2,7 +2,7 @@ title: decode hex categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Hex decode a value. usage: | diff --git a/commands/docs/def.md b/commands/docs/def.md index 22c37d115c9..76c28b27fbf 100644 --- a/commands/docs/def.md +++ b/commands/docs/def.md @@ -2,7 +2,7 @@ title: def categories: | core -version: 0.109.0 +version: 0.110.0 core: | Define a custom command. usage: | diff --git a/commands/docs/default.md b/commands/docs/default.md index 2be38c89fca..9728dc4518c 100644 --- a/commands/docs/default.md +++ b/commands/docs/default.md @@ -2,7 +2,7 @@ title: default categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Sets a default value if a row's column is missing or null. usage: | diff --git a/commands/docs/describe.md b/commands/docs/describe.md index 98210533b31..b62b9fefd1a 100644 --- a/commands/docs/describe.md +++ b/commands/docs/describe.md @@ -2,7 +2,7 @@ title: describe categories: | core -version: 0.109.0 +version: 0.110.0 core: | Describe the type and structure of the value(s) piped in. usage: | diff --git a/commands/docs/detect.md b/commands/docs/detect.md index c5bbfe20e9b..9bbd1944bf3 100644 --- a/commands/docs/detect.md +++ b/commands/docs/detect.md @@ -2,7 +2,7 @@ title: detect categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Various commands for detecting things. usage: | diff --git a/commands/docs/detect_columns.md b/commands/docs/detect_columns.md index 465c5589ae0..27d63708347 100644 --- a/commands/docs/detect_columns.md +++ b/commands/docs/detect_columns.md @@ -2,7 +2,7 @@ title: detect columns categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Attempt to automatically split text into multiple columns. usage: | @@ -24,6 +24,7 @@ contributors: false - `--skip, -s {int}`: number of rows to skip before detecting - `--no-headers, -n`: don't detect headers + - `--ignore-box-chars, -i`: ignore lines consisting entirely of box drawing characters and clean box characters from tokens - `--combine-columns, -c {range}`: columns to be combined; listed as a range - `--guess`: detect columns by guessing width, it may be useful if default one doesn't work @@ -33,6 +34,7 @@ contributors: false | input | output | | ------ | ------ | | string | table | +| table | table | ## Examples use --guess if you find default algorithm not working @@ -82,3 +84,41 @@ Parse external ls command and combine columns for datetime > ^ls -lh | detect columns --no-headers --skip 1 --combine-columns 5..7 ``` + +Table literal input is passed through unchanged +```nu +> [[name, age]; [Alice, 25]] | detect columns +╭───┬───────┬─────╮ +│ # │ name │ age │ +├───┼───────┼─────┤ +│ 0 │ Alice │ 25 │ +╰───┴───────┴─────╯ + +``` + +List of records input is passed through unchanged +```nu +> [{name: Alice, age: 25}, {name: Bob, age: 30}] | detect columns +╭───┬───────┬─────╮ +│ # │ name │ age │ +├───┼───────┼─────┤ +│ 0 │ Alice │ 25 │ +│ 1 │ Bob │ 30 │ +╰───┴───────┴─────╯ + +``` + +Parse a box-bordered table by ignoring separator lines and using header positions +```nu +> "+-------+-------+ +| col1 | col2 | ++-------+-------+ +| a | b | ++-------+-------+" | detect columns --ignore-box-chars +╭───┬──────┬──────╮ +│ # │ col1 │ col2 │ +├───┼──────┼──────┤ +│ 0 │ a │ b │ +╰───┴──────┴──────╯ + +``` diff --git a/commands/docs/detect_type.md b/commands/docs/detect_type.md index a047c3b5693..ff60fe292e8 100644 --- a/commands/docs/detect_type.md +++ b/commands/docs/detect_type.md @@ -2,7 +2,7 @@ title: detect type categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Infer Nushell datatype from a string. usage: | @@ -23,6 +23,7 @@ contributors: false ## Flags - `--prefer-filesize, -f`: For ints display them as human-readable file sizes + - `--prefer-dmy`: Prefer day-month-year format for ambiguous dates ## Input/output types: @@ -84,19 +85,31 @@ Prefer filesize for ints Date Y-M-D ```nu > '2022-01-01' | detect type -Sat, 1 Jan 2022 00:00:00 +0800 (3 years ago) +Sat, 1 Jan 2022 00:00:00 +0800 (4 years ago) ``` Date with time and offset ```nu > '2022-01-01T00:00:00Z' | detect type -Sat, 1 Jan 2022 00:00:00 +0000 (3 years ago) +Sat, 1 Jan 2022 00:00:00 +0000 (4 years ago) ``` Date D-M-Y ```nu > '31-12-2021' | detect type -Fri, 31 Dec 2021 00:00:00 +0800 (3 years ago) +Fri, 31 Dec 2021 00:00:00 +0800 (4 years ago) +``` + +Date M-D-Y (default for ambiguous) +```nu +> '01/02/2025' | detect type +Thu, 2 Jan 2025 00:00:00 +0800 (a year ago) +``` + +Prefer DMY for ambiguous dates +```nu +> '01/02/2025' | detect type --prefer-dmy +Sat, 1 Feb 2025 00:00:00 +0800 (a year ago) ``` Unknown stays a string diff --git a/commands/docs/do.md b/commands/docs/do.md index 85a3913532e..00bb9457a3f 100644 --- a/commands/docs/do.md +++ b/commands/docs/do.md @@ -2,7 +2,7 @@ title: do categories: | core -version: 0.109.0 +version: 0.110.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 b88e3b43d35..87d43aa5fbd 100644 --- a/commands/docs/drop.md +++ b/commands/docs/drop.md @@ -2,7 +2,7 @@ title: drop categories: | filters -version: 0.109.0 +version: 0.110.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 5b4737a8e4e..5a207294775 100644 --- a/commands/docs/drop_column.md +++ b/commands/docs/drop_column.md @@ -2,7 +2,7 @@ title: drop column categories: | filters -version: 0.109.0 +version: 0.110.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 852f8e876e1..1e46cae13a3 100644 --- a/commands/docs/drop_nth.md +++ b/commands/docs/drop_nth.md @@ -2,7 +2,7 @@ title: drop nth categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Drop the selected rows. usage: | diff --git a/commands/docs/du.md b/commands/docs/du.md index a9b5487f4d7..37519b36be4 100644 --- a/commands/docs/du.md +++ b/commands/docs/du.md @@ -2,7 +2,7 @@ title: du categories: | filesystem -version: 0.109.0 +version: 0.110.0 filesystem: | Find disk usage sizes of specified items. usage: | @@ -27,6 +27,7 @@ contributors: false - `--exclude, -x {glob}`: Exclude these file names - `--max-depth, -d {int}`: Directory recursion limit - `--min-size, -m {int}`: Exclude files below this size + - `--all, -a`: move hidden files if '*' is provided ## Parameters diff --git a/commands/docs/each.md b/commands/docs/each.md index 86ca3c23b2a..3db7d92912c 100644 --- a/commands/docs/each.md +++ b/commands/docs/each.md @@ -2,7 +2,7 @@ title: each categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Run a closure on each row of the input list, creating a new list with the results. usage: | @@ -23,7 +23,7 @@ contributors: false ## Flags - `--keep-empty, -k`: keep empty result cells - - `--flatten, -f`: combine outputs into a single stream instead ofcollecting them to separate values + - `--flatten, -f`: combine outputs into a single stream instead of collecting them to separate values ## Parameters diff --git a/commands/docs/each_while.md b/commands/docs/each_while.md index 75fee5ad853..6db141d3078 100644 --- a/commands/docs/each_while.md +++ b/commands/docs/each_while.md @@ -2,7 +2,7 @@ title: each while categories: | filters -version: 0.109.0 +version: 0.110.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 0b5c3f2717c..179b3a19eca 100644 --- a/commands/docs/echo.md +++ b/commands/docs/echo.md @@ -2,7 +2,7 @@ title: echo categories: | core -version: 0.109.0 +version: 0.110.0 core: | Returns its arguments, ignoring the piped-in value. usage: | diff --git a/commands/docs/encode.md b/commands/docs/encode.md index 89d4f37d0d1..63ca814504b 100644 --- a/commands/docs/encode.md +++ b/commands/docs/encode.md @@ -2,7 +2,7 @@ title: encode categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Encode a string into bytes. usage: | diff --git a/commands/docs/encode_base32.md b/commands/docs/encode_base32.md index 8927f921d1b..7c2295bbe1e 100644 --- a/commands/docs/encode_base32.md +++ b/commands/docs/encode_base32.md @@ -2,7 +2,7 @@ title: encode base32 categories: | formats -version: 0.109.0 +version: 0.110.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 d87c2a19a54..75516978c29 100644 --- a/commands/docs/encode_base32hex.md +++ b/commands/docs/encode_base32hex.md @@ -2,7 +2,7 @@ title: encode base32hex categories: | formats -version: 0.109.0 +version: 0.110.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 727d3c463cb..b65bc229961 100644 --- a/commands/docs/encode_base64.md +++ b/commands/docs/encode_base64.md @@ -2,7 +2,7 @@ title: encode base64 categories: | formats -version: 0.109.0 +version: 0.110.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 288fde968dc..b36cbb25426 100644 --- a/commands/docs/encode_hex.md +++ b/commands/docs/encode_hex.md @@ -2,7 +2,7 @@ title: encode hex categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Hex encode a binary value or a string. usage: | diff --git a/commands/docs/enumerate.md b/commands/docs/enumerate.md index 08852717a3f..545e0941dd6 100644 --- a/commands/docs/enumerate.md +++ b/commands/docs/enumerate.md @@ -2,7 +2,7 @@ title: enumerate categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Enumerate the elements in a stream. usage: | diff --git a/commands/docs/error.md b/commands/docs/error.md index a1189711eef..3b0d9881330 100644 --- a/commands/docs/error.md +++ b/commands/docs/error.md @@ -2,7 +2,7 @@ title: error categories: | core -version: 0.109.0 +version: 0.110.0 core: | Various commands for working with errors. usage: | diff --git a/commands/docs/error_make.md b/commands/docs/error_make.md index 5fbb4ff1bb8..e1988f6afcc 100644 --- a/commands/docs/error_make.md +++ b/commands/docs/error_make.md @@ -2,7 +2,7 @@ title: error make categories: | core -version: 0.109.0 +version: 0.110.0 core: | Create an error. usage: | @@ -22,7 +22,7 @@ contributors: false ## Flags - - `--unspanned, -u`: remove the origin label from the error + - `--unspanned, -u`: remove the labels from the error ## Parameters @@ -34,62 +34,98 @@ contributors: false | input | output | | ------- | ------ | | nothing | error | +| string | error | +| record | error | ## Examples -Create a simple custom error +Create a simple, default error ```nu -> error make {msg: "my custom error message"} +> error make ``` -Create a complex error for a custom command that shows a full `error_struct` +Create a simple error from a string ```nu -> def foo [x] { +> error make 'my error message' + +``` + +Create a simple error from an `error_struct` record +```nu +> error make {msg: 'my error message'} + +``` + +A complex error utilizing spans and inners +```nu +> def foo [x: int, y: int] { + let z = $x + $y error make { - msg: "this is fishy" - code: "my::error" # optional error type to use - labels: { # optional, a table or single record - text: "fish right here" # Required if $.labels exists - # use (metadata $var).span to get the {start: x end: y} of the variable - span: (metadata $x).span # optional - } - help: "something to tell the user as help" # optional - url: "https://nushell.sh" # optional + msg: "an error for foo just occurred" + labels: [ + {text: "one" span: (metadata $x).span} + {text: "two" span: (metadata $y).span} + ] + help: "some help for the user" + inner: [ + {msg: "an inner error" labels: [{text: "" span: (metadata $y).span}]} + ] } } ``` -Create a nested error from a try/catch statement with multiple labels +Chain errors using a pipeline +```nu +> try {error make "foo"} catch {error make "bar"} + +``` + +Chain errors using arguments (note the extra command in `catch`) ```nu > try { - error make {msg: "foo" labels: [{text: one} {text: two}]} + error make "foo" } catch {|err| - error make {msg: "bar", inner: [($err.json | from json)]} + print 'We got an error that will be chained!' + error make {msg: "bar" inner: [$err]} } ``` ## Notes -Errors are defined by an `error_record`, which is a record with a specific -structure. (`*`) indicates a required key: +Use either as a command with an `error_struct` or string as an input. The +`error_struct` is detailed below: - * `msg: string` (`*`) + * `msg: string` (required) * `code: string` - * `labels: oneof` + * `labels: table` * `help: string` * `url: string` - * `inner: table` + * `inner: table` + * `src: src_record` -The `labels` key allow for placing arrows to points in the code, optionally -using `span` to choose where it points (see `metadata`). `label` can be a table -(list of records) or a single record. There is an example of both in the -examples. Each record has the following structure: +The `error_label` should contain the following keys: - * `text: string` (`*`) + * `text: string` * `span: record` -The `inner` table takes a list of `error_struct` records, and can be used to -have detail the errors that happened in a previous `try {} catch {}` statement -or can be manually created. To use them from a `catch` statement, see the -example below. \ No newline at end of file +External errors (referencing external sources, not the default nu spans) are +created using the `src` column with the `src_record` record. This only changes +where the labels are placed. For this, the `code` key is ignored, and will +always be `nu::shell::outside`. Errors cannot use labels that reference both +inside and outside sources, to do that use an `inner` error. + + * `name: string` - name of the source + * `text: string` - the raw text to place the spans in + * `path: string` - a file path to place the spans in + +Errors can be chained together using the `inner` key, and multiple spans can be +specified to give more detailed error outputs. + +If a string is passed it will be the `msg` part of the `error_struct`. + +Errors can also be chained using `try {} catch {}`, allowing for related errors +to be printed out more easily. The code block for `catch` passes a record of the +`try` block's error into the catch block, which can be used in `error make` +either as the input or as an argument. These will be added as `inner` errors to +the most recent `error make`. \ No newline at end of file diff --git a/commands/docs/every.md b/commands/docs/every.md index 7d5c0fdc361..d8eb511e705 100644 --- a/commands/docs/every.md +++ b/commands/docs/every.md @@ -2,7 +2,7 @@ title: every categories: | filters -version: 0.109.0 +version: 0.110.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 75d54a3dccf..d59c1f04002 100644 --- a/commands/docs/exec.md +++ b/commands/docs/exec.md @@ -2,7 +2,7 @@ title: exec categories: | system -version: 0.109.0 +version: 0.110.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 a2e356f5406..584e111aadd 100644 --- a/commands/docs/exit.md +++ b/commands/docs/exit.md @@ -2,7 +2,7 @@ title: exit categories: | shells -version: 0.109.0 +version: 0.110.0 shells: | Exit Nu. usage: | diff --git a/commands/docs/explain.md b/commands/docs/explain.md index ca62f41f71c..6f8e2a1046c 100644 --- a/commands/docs/explain.md +++ b/commands/docs/explain.md @@ -2,7 +2,7 @@ title: explain categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Explain closure contents. usage: | diff --git a/commands/docs/explore.md b/commands/docs/explore.md index 91df337dd00..8932d78d155 100644 --- a/commands/docs/explore.md +++ b/commands/docs/explore.md @@ -2,7 +2,7 @@ title: explore categories: | viewers -version: 0.109.0 +version: 0.110.0 viewers: | Explore acts as a table pager, just like `less` does for text. usage: | @@ -64,6 +64,7 @@ Press `:` then `h` to get a help menu. ## Subcommands: -| name | description | type | -| -------------------------------------------------- | --------------------------------------------------------------------- | -------- | -| [`explore regex`](/commands/docs/explore_regex.md) | Launch a TUI to create and explore regular expressions interactively. | built-in | \ No newline at end of file +| name | description | type | +| ---------------------------------------------------- | ---------------------------------------------------------------------- | -------- | +| [`explore config`](/commands/docs/explore_config.md) | Launch a TUI to view and edit the nushell configuration interactively. | built-in | +| [`explore regex`](/commands/docs/explore_regex.md) | Launch a TUI to create and explore regular expressions interactively. | built-in | \ No newline at end of file diff --git a/commands/docs/explore_config.md b/commands/docs/explore_config.md new file mode 100644 index 00000000000..6da1a66a404 --- /dev/null +++ b/commands/docs/explore_config.md @@ -0,0 +1,74 @@ +--- +title: explore config +categories: | + viewers +version: 0.110.0 +viewers: | + Launch a TUI to view and edit the nushell configuration interactively. +usage: | + Launch a TUI to view and edit the nushell configuration interactively. +editLink: false +contributors: false +--- + + +# `explore config` for [viewers](/commands/categories/viewers.md) + +
Launch a TUI to view and edit the nushell configuration interactively.
+ +## Signature + +```> explore config {flags} ``` + +## Flags + + - `--use-example-data, -e`: Show the nushell configuration TUI using example data + - `--tree, -t`: Do not show the TUI, just show a tree structure of the data + - `--output, -o {string}`: Optional output file to save changes to (default: output.json) + + +## Input/output types: + +| input | output | +| ------- | ------ | +| nothing | string | +| string | string | +## Examples + +Open the nushell configuration in an interactive TUI editor +```nu +> explore config + +``` + +Explore JSON data interactively +```nu +> open --raw data.json | explore config + +``` + +Explore with example data to see TUI features +```nu +> explore config --use-example-data + +``` + +## Notes +By default, opens the current nushell configuration ($env.config) in the TUI. +Changes made in config mode are applied to the running session when you quit. + +You can also pipe JSON data to explore arbitrary data structures, or use +--use-example-data to see sample configuration data. + +TUI Keybindings: + Tab Switch between tree and editor panes + ↑↓ Navigate tree / scroll editor + ←→ Collapse/Expand tree nodes + Enter/Space Toggle tree node expansion + Enter/Space On leaf nodes, open editor pane and start editing + Enter/e Start editing (in editor pane) + Ctrl+S Apply edit + Alt+Enter Apply edit (alternative) + Esc Cancel edit + q Quit (applies config changes if modified) + Ctrl+C Force quit without saving \ No newline at end of file diff --git a/commands/docs/explore_regex.md b/commands/docs/explore_regex.md index 8ea38cf3cd7..8481647bc34 100644 --- a/commands/docs/explore_regex.md +++ b/commands/docs/explore_regex.md @@ -2,7 +2,7 @@ title: explore regex categories: | viewers -version: 0.109.0 +version: 0.110.0 viewers: | Launch a TUI to create and explore regular expressions interactively. usage: | diff --git a/commands/docs/export-env.md b/commands/docs/export-env.md index 5c02ea676ee..a96b6b56b80 100644 --- a/commands/docs/export-env.md +++ b/commands/docs/export-env.md @@ -2,7 +2,7 @@ title: export-env categories: | env -version: 0.109.0 +version: 0.110.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 cdf4ad10c09..4c3952238ba 100644 --- a/commands/docs/export.md +++ b/commands/docs/export.md @@ -2,7 +2,7 @@ title: export categories: | core -version: 0.109.0 +version: 0.110.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 df54fb1f334..3e6bea19c33 100644 --- a/commands/docs/export_alias.md +++ b/commands/docs/export_alias.md @@ -2,7 +2,7 @@ title: export alias categories: | core -version: 0.109.0 +version: 0.110.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 74ba8522b97..314106e218b 100644 --- a/commands/docs/export_const.md +++ b/commands/docs/export_const.md @@ -2,7 +2,7 @@ title: export const categories: | core -version: 0.109.0 +version: 0.110.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 8ae66b47bb0..ffac9d39664 100644 --- a/commands/docs/export_def.md +++ b/commands/docs/export_def.md @@ -2,7 +2,7 @@ title: export def categories: | core -version: 0.109.0 +version: 0.110.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 9df78a59b5c..47d3f562c6e 100644 --- a/commands/docs/export_extern.md +++ b/commands/docs/export_extern.md @@ -2,7 +2,7 @@ title: export extern categories: | core -version: 0.109.0 +version: 0.110.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 1f219c7303a..98105151399 100644 --- a/commands/docs/export_module.md +++ b/commands/docs/export_module.md @@ -2,7 +2,7 @@ title: export module categories: | core -version: 0.109.0 +version: 0.110.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 7485a653074..2ca1cb2ea84 100644 --- a/commands/docs/export_use.md +++ b/commands/docs/export_use.md @@ -2,7 +2,7 @@ title: export use categories: | core -version: 0.109.0 +version: 0.110.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 3c037d9cf54..176b909be81 100644 --- a/commands/docs/extern.md +++ b/commands/docs/extern.md @@ -2,7 +2,7 @@ title: extern categories: | core -version: 0.109.0 +version: 0.110.0 core: | Define a signature for an external command. usage: | diff --git a/commands/docs/fill.md b/commands/docs/fill.md index 8424dfe98a7..061a25b37f1 100644 --- a/commands/docs/fill.md +++ b/commands/docs/fill.md @@ -2,7 +2,7 @@ title: fill categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Fill and Align. usage: | diff --git a/commands/docs/filter.md b/commands/docs/filter.md index e8c0645d267..027e2b29d89 100644 --- a/commands/docs/filter.md +++ b/commands/docs/filter.md @@ -2,7 +2,7 @@ title: filter categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Filter values based on a predicate closure. usage: | diff --git a/commands/docs/find.md b/commands/docs/find.md index 634e96b20ff..90cb0543a2d 100644 --- a/commands/docs/find.md +++ b/commands/docs/find.md @@ -2,7 +2,7 @@ title: find categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Searches terms in the input. usage: | diff --git a/commands/docs/first.md b/commands/docs/first.md index 55faa7f1a08..69d8ca56150 100644 --- a/commands/docs/first.md +++ b/commands/docs/first.md @@ -2,7 +2,7 @@ title: first categories: | filters -version: 0.109.0 +version: 0.110.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 ffc3093b21c..d60b3accc35 100644 --- a/commands/docs/flatten.md +++ b/commands/docs/flatten.md @@ -2,7 +2,7 @@ title: flatten categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Flatten the table. usage: | diff --git a/commands/docs/for.md b/commands/docs/for.md index 858a78e3c93..16edc23a553 100644 --- a/commands/docs/for.md +++ b/commands/docs/for.md @@ -2,7 +2,7 @@ title: for categories: | core -version: 0.109.0 +version: 0.110.0 core: | Loop over a range. usage: | diff --git a/commands/docs/format.md b/commands/docs/format.md index 661e4be1035..3ececbad7d7 100644 --- a/commands/docs/format.md +++ b/commands/docs/format.md @@ -2,7 +2,7 @@ title: format categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Various commands for formatting data. usage: | diff --git a/commands/docs/format_bits.md b/commands/docs/format_bits.md index 3054a87e46d..10cec840cdc 100644 --- a/commands/docs/format_bits.md +++ b/commands/docs/format_bits.md @@ -2,7 +2,7 @@ title: format bits categories: | conversions -version: 0.109.0 +version: 0.110.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 27b42207f18..5598ae0d8da 100644 --- a/commands/docs/format_date.md +++ b/commands/docs/format_date.md @@ -2,7 +2,7 @@ title: format date categories: | strings -version: 0.109.0 +version: 0.110.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 c0d0c06e7df..7e211c92fcc 100644 --- a/commands/docs/format_duration.md +++ b/commands/docs/format_duration.md @@ -2,7 +2,7 @@ title: format duration categories: | strings -version: 0.109.0 +version: 0.110.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 3f29dc5f86c..7ce545254cf 100644 --- a/commands/docs/format_filesize.md +++ b/commands/docs/format_filesize.md @@ -2,7 +2,7 @@ title: format filesize categories: | strings -version: 0.109.0 +version: 0.110.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 0cc50dcb0e8..667e7d317b7 100644 --- a/commands/docs/format_number.md +++ b/commands/docs/format_number.md @@ -2,7 +2,7 @@ title: format number categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Format a number. usage: | diff --git a/commands/docs/format_pattern.md b/commands/docs/format_pattern.md index f78d5229cc4..4fdbe62c3ea 100644 --- a/commands/docs/format_pattern.md +++ b/commands/docs/format_pattern.md @@ -2,7 +2,7 @@ title: format pattern categories: | strings -version: 0.109.0 +version: 0.110.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 c3af0e41604..2d5110b20f8 100644 --- a/commands/docs/from.md +++ b/commands/docs/from.md @@ -2,7 +2,7 @@ title: from categories: | formats -version: 0.109.0 +version: 0.110.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 781102ddcb7..eb9c66a3e5b 100644 --- a/commands/docs/from_csv.md +++ b/commands/docs/from_csv.md @@ -2,7 +2,7 @@ title: from csv categories: | formats -version: 0.109.0 +version: 0.110.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 2827bfa65b8..b35d54fe06f 100644 --- a/commands/docs/from_eml.md +++ b/commands/docs/from_eml.md @@ -2,7 +2,7 @@ title: from eml categories: | formats -version: 0.109.0 +version: 0.110.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 378da3af17f..247954bb0de 100644 --- a/commands/docs/from_ics.md +++ b/commands/docs/from_ics.md @@ -2,7 +2,7 @@ title: from ics categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Parse text as .ics and create table. usage: | diff --git a/commands/docs/from_ini.md b/commands/docs/from_ini.md index 7f5001ba6bf..9731da67628 100644 --- a/commands/docs/from_ini.md +++ b/commands/docs/from_ini.md @@ -2,7 +2,7 @@ title: from ini categories: | formats -version: 0.109.0 +version: 0.110.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 1d305a377aa..cb7550ddcad 100644 --- a/commands/docs/from_json.md +++ b/commands/docs/from_json.md @@ -2,7 +2,7 @@ title: from json categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert from json to structured data. usage: | diff --git a/commands/docs/from_msgpack.md b/commands/docs/from_msgpack.md index e1d59812506..d80653cb285 100644 --- a/commands/docs/from_msgpack.md +++ b/commands/docs/from_msgpack.md @@ -2,7 +2,7 @@ title: from msgpack categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert MessagePack data into Nu values. usage: | diff --git a/commands/docs/from_msgpackz.md b/commands/docs/from_msgpackz.md index 49e66dc2fb6..b61ab3b3d90 100644 --- a/commands/docs/from_msgpackz.md +++ b/commands/docs/from_msgpackz.md @@ -2,7 +2,7 @@ title: from msgpackz categories: | formats -version: 0.109.0 +version: 0.110.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 994657bf324..2ce8c6dc96e 100644 --- a/commands/docs/from_nuon.md +++ b/commands/docs/from_nuon.md @@ -2,7 +2,7 @@ title: from nuon categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert from nuon to structured data. usage: | diff --git a/commands/docs/from_ods.md b/commands/docs/from_ods.md index 0f77c4b607e..de83eaac8d7 100644 --- a/commands/docs/from_ods.md +++ b/commands/docs/from_ods.md @@ -2,7 +2,7 @@ title: from ods categories: | formats -version: 0.109.0 +version: 0.110.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 f4588cc299b..7a939c5ad2a 100644 --- a/commands/docs/from_plist.md +++ b/commands/docs/from_plist.md @@ -2,7 +2,7 @@ title: from plist categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert plist to Nushell values usage: | diff --git a/commands/docs/from_ssv.md b/commands/docs/from_ssv.md index e58e6479745..e6e23b7ddde 100644 --- a/commands/docs/from_ssv.md +++ b/commands/docs/from_ssv.md @@ -2,7 +2,7 @@ title: from ssv categories: | formats -version: 0.109.0 +version: 0.110.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 22cd9165044..72d67ecff34 100644 --- a/commands/docs/from_toml.md +++ b/commands/docs/from_toml.md @@ -2,7 +2,7 @@ title: from toml categories: | formats -version: 0.109.0 +version: 0.110.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 afa48240713..c26892fa2da 100644 --- a/commands/docs/from_tsv.md +++ b/commands/docs/from_tsv.md @@ -2,7 +2,7 @@ title: from tsv categories: | formats -version: 0.109.0 +version: 0.110.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 f3be6ad6f15..b9767b36e52 100644 --- a/commands/docs/from_url.md +++ b/commands/docs/from_url.md @@ -2,7 +2,7 @@ title: from url categories: | formats -version: 0.109.0 +version: 0.110.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 8e00409fac7..e37794708b8 100644 --- a/commands/docs/from_vcf.md +++ b/commands/docs/from_vcf.md @@ -2,7 +2,7 @@ title: from vcf categories: | formats -version: 0.109.0 +version: 0.110.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 1d067e3f93a..d62fa7a6ca8 100644 --- a/commands/docs/from_xlsx.md +++ b/commands/docs/from_xlsx.md @@ -2,7 +2,7 @@ title: from xlsx categories: | formats -version: 0.109.0 +version: 0.110.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 d63a3c6e377..cfefb25874e 100644 --- a/commands/docs/from_xml.md +++ b/commands/docs/from_xml.md @@ -2,7 +2,7 @@ title: from xml categories: | formats -version: 0.109.0 +version: 0.110.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 595de3879b3..6a8ea9da6e8 100644 --- a/commands/docs/from_yaml.md +++ b/commands/docs/from_yaml.md @@ -2,7 +2,7 @@ title: from yaml categories: | formats -version: 0.109.0 +version: 0.110.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 e3c390413dd..e302b22360c 100644 --- a/commands/docs/from_yml.md +++ b/commands/docs/from_yml.md @@ -2,7 +2,7 @@ title: from yml categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Parse text as .yaml/.yml and create table. usage: | diff --git a/commands/docs/generate.md b/commands/docs/generate.md index 9d23ee1a770..2b242c4e3a3 100644 --- a/commands/docs/generate.md +++ b/commands/docs/generate.md @@ -2,7 +2,7 @@ title: generate categories: | generators -version: 0.109.0 +version: 0.110.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 8ae8219e7ae..a369d9590f4 100644 --- a/commands/docs/get.md +++ b/commands/docs/get.md @@ -2,7 +2,7 @@ title: get categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Extract data using a cell path. usage: | diff --git a/commands/docs/glob.md b/commands/docs/glob.md index 132481d51b9..dc6e4781b09 100644 --- a/commands/docs/glob.md +++ b/commands/docs/glob.md @@ -2,7 +2,7 @@ title: glob categories: | filesystem -version: 0.109.0 +version: 0.110.0 filesystem: | Creates a list of files and/or folders based on the glob pattern provided. usage: | diff --git a/commands/docs/grid.md b/commands/docs/grid.md index a3425076b9d..b7e077df80a 100644 --- a/commands/docs/grid.md +++ b/commands/docs/grid.md @@ -2,7 +2,7 @@ title: grid categories: | viewers -version: 0.109.0 +version: 0.110.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 ea6c415dd82..7986bbf6233 100644 --- a/commands/docs/group-by.md +++ b/commands/docs/group-by.md @@ -2,7 +2,7 @@ title: group-by categories: | filters -version: 0.109.0 +version: 0.110.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 dad6e18097f..fb023dca29d 100644 --- a/commands/docs/gstat.md +++ b/commands/docs/gstat.md @@ -2,7 +2,7 @@ title: gstat categories: | prompt -version: 0.109.0 +version: 0.110.0 prompt: | Get the git status of a repo usage: | diff --git a/commands/docs/hash.md b/commands/docs/hash.md index ced4115c433..eb0fa37f86c 100644 --- a/commands/docs/hash.md +++ b/commands/docs/hash.md @@ -2,7 +2,7 @@ title: hash categories: | hash -version: 0.109.0 +version: 0.110.0 hash: | Apply hash function. usage: | diff --git a/commands/docs/hash_md5.md b/commands/docs/hash_md5.md index 4ad46df87dd..cadf9293ab3 100644 --- a/commands/docs/hash_md5.md +++ b/commands/docs/hash_md5.md @@ -2,7 +2,7 @@ title: hash md5 categories: | hash -version: 0.109.0 +version: 0.110.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 3d73a5f2d1e..634572023d9 100644 --- a/commands/docs/hash_sha256.md +++ b/commands/docs/hash_sha256.md @@ -2,7 +2,7 @@ title: hash sha256 categories: | hash -version: 0.109.0 +version: 0.110.0 hash: | Hash a value using the sha256 hash algorithm. usage: | diff --git a/commands/docs/headers.md b/commands/docs/headers.md index 69c762c5f16..115798b418c 100644 --- a/commands/docs/headers.md +++ b/commands/docs/headers.md @@ -2,7 +2,7 @@ title: headers categories: | filters -version: 0.109.0 +version: 0.110.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 6af94ee9f5f..da7180b9cba 100644 --- a/commands/docs/help.md +++ b/commands/docs/help.md @@ -2,7 +2,7 @@ title: help categories: | core -version: 0.109.0 +version: 0.110.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 138f781f233..ab51cd350df 100644 --- a/commands/docs/help_aliases.md +++ b/commands/docs/help_aliases.md @@ -2,7 +2,7 @@ title: help aliases categories: | core -version: 0.109.0 +version: 0.110.0 core: | Show help on nushell aliases. usage: | diff --git a/commands/docs/help_commands.md b/commands/docs/help_commands.md index e260f4aa64b..4260aeeac11 100644 --- a/commands/docs/help_commands.md +++ b/commands/docs/help_commands.md @@ -2,7 +2,7 @@ title: help commands categories: | core -version: 0.109.0 +version: 0.110.0 core: | Show help on nushell commands. usage: | diff --git a/commands/docs/help_escapes.md b/commands/docs/help_escapes.md index b758089e2a4..6ff156c83ad 100644 --- a/commands/docs/help_escapes.md +++ b/commands/docs/help_escapes.md @@ -2,7 +2,7 @@ title: help escapes categories: | core -version: 0.109.0 +version: 0.110.0 core: | Show help on nushell string escapes. usage: | diff --git a/commands/docs/help_externs.md b/commands/docs/help_externs.md index 41f5ce89536..128cba78341 100644 --- a/commands/docs/help_externs.md +++ b/commands/docs/help_externs.md @@ -2,7 +2,7 @@ title: help externs categories: | core -version: 0.109.0 +version: 0.110.0 core: | Show help on nushell externs. usage: | diff --git a/commands/docs/help_modules.md b/commands/docs/help_modules.md index bf04922b99f..530e85cbb50 100644 --- a/commands/docs/help_modules.md +++ b/commands/docs/help_modules.md @@ -2,7 +2,7 @@ title: help modules categories: | core -version: 0.109.0 +version: 0.110.0 core: | Show help on nushell modules. usage: | diff --git a/commands/docs/help_operators.md b/commands/docs/help_operators.md index f7d44dd0e59..96fe4341540 100644 --- a/commands/docs/help_operators.md +++ b/commands/docs/help_operators.md @@ -2,7 +2,7 @@ title: help operators categories: | core -version: 0.109.0 +version: 0.110.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 cc904598477..89850e785cf 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.109.0 +version: 0.110.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 a1cde2f41d6..654e98987d6 100644 --- a/commands/docs/hide-env.md +++ b/commands/docs/hide-env.md @@ -2,7 +2,7 @@ title: hide-env categories: | core -version: 0.109.0 +version: 0.110.0 core: | Hide environment variables in the current scope. usage: | diff --git a/commands/docs/hide.md b/commands/docs/hide.md index b48811545d9..9d1caba48f1 100644 --- a/commands/docs/hide.md +++ b/commands/docs/hide.md @@ -2,7 +2,7 @@ title: hide categories: | core -version: 0.109.0 +version: 0.110.0 core: | Hide definitions in the current scope. usage: | diff --git a/commands/docs/histogram.md b/commands/docs/histogram.md index 989eec667e2..00bc98785c7 100644 --- a/commands/docs/histogram.md +++ b/commands/docs/histogram.md @@ -2,7 +2,7 @@ title: histogram categories: | chart -version: 0.109.0 +version: 0.110.0 chart: | Creates a new table with a histogram based on the column name passed in. usage: | diff --git a/commands/docs/history.md b/commands/docs/history.md index 410436a1cee..afdeaae9637 100644 --- a/commands/docs/history.md +++ b/commands/docs/history.md @@ -2,7 +2,7 @@ title: history categories: | history -version: 0.109.0 +version: 0.110.0 history: | Get the command history. usage: | diff --git a/commands/docs/history_import.md b/commands/docs/history_import.md index bd8af8ad571..d11c0c38f9e 100644 --- a/commands/docs/history_import.md +++ b/commands/docs/history_import.md @@ -2,7 +2,7 @@ title: history import categories: | history -version: 0.109.0 +version: 0.110.0 history: | Import command line history. usage: | diff --git a/commands/docs/history_session.md b/commands/docs/history_session.md index 125a7a4d5a4..994cff923bd 100644 --- a/commands/docs/history_session.md +++ b/commands/docs/history_session.md @@ -2,7 +2,7 @@ title: history session categories: | history -version: 0.109.0 +version: 0.110.0 history: | Get the command history session. usage: | diff --git a/commands/docs/http.md b/commands/docs/http.md index 34944067a4b..07564459777 100644 --- a/commands/docs/http.md +++ b/commands/docs/http.md @@ -2,7 +2,7 @@ title: http categories: | network -version: 0.109.0 +version: 0.110.0 network: | Various commands for working with http methods. usage: | @@ -83,5 +83,6 @@ Without a subcommand but with a URL provided, it performs a GET request by defau | [`http head`](/commands/docs/http_head.md) | Get the headers from a URL. | built-in | | [`http options`](/commands/docs/http_options.md) | Requests permitted communication options for a given URL. | built-in | | [`http patch`](/commands/docs/http_patch.md) | Patch a body to a URL. | built-in | +| [`http pool`](/commands/docs/http_pool.md) | Configure and reset builtin http connection pool. | built-in | | [`http post`](/commands/docs/http_post.md) | Post a body to a URL. | built-in | | [`http put`](/commands/docs/http_put.md) | Put a body to a URL. | built-in | \ No newline at end of file diff --git a/commands/docs/http_delete.md b/commands/docs/http_delete.md index fa29ae99881..d64cdda8217 100644 --- a/commands/docs/http_delete.md +++ b/commands/docs/http_delete.md @@ -2,7 +2,7 @@ title: http delete categories: | network -version: 0.109.0 +version: 0.110.0 network: | Delete the specified resource. usage: | @@ -32,6 +32,7 @@ contributors: false - `--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 + - `--pool`: using a global pool as a client - `--redirect-mode, -R {string}`: What to do when encountering redirects. Default: 'follow'. Valid options: 'follow' ('f'), 'manual' ('m'), 'error' ('e'). - `--unix-socket, -U {path}`: Connect to the specified Unix socket instead of using TCP diff --git a/commands/docs/http_get.md b/commands/docs/http_get.md index b361449d97c..fdf78d4c1b9 100644 --- a/commands/docs/http_get.md +++ b/commands/docs/http_get.md @@ -2,7 +2,7 @@ title: http get categories: | network -version: 0.109.0 +version: 0.110.0 network: | Fetch the contents from a URL. usage: | @@ -30,6 +30,7 @@ contributors: false - `--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 + - `--pool`: using a global pool as a client - `--redirect-mode, -R {string}`: What to do when encountering redirects. Default: 'follow'. Valid options: 'follow' ('f'), 'manual' ('m'), 'error' ('e'). - `--unix-socket, -U {path}`: Connect to the specified Unix socket instead of using TCP diff --git a/commands/docs/http_head.md b/commands/docs/http_head.md index e1971a5c198..948d6647e46 100644 --- a/commands/docs/http_head.md +++ b/commands/docs/http_head.md @@ -2,7 +2,7 @@ title: http head categories: | network -version: 0.109.0 +version: 0.110.0 network: | Get the headers from a URL. usage: | @@ -27,6 +27,7 @@ contributors: false - `--max-time, -m {duration}`: max duration before timeout occurs - `--headers, -H {any}`: custom headers you want to add - `--insecure, -k`: allow insecure server connections when using SSL + - `--pool`: using a global pool as a client - `--redirect-mode, -R {string}`: What to do when encountering redirects. Default: 'follow'. Valid options: 'follow' ('f'), 'manual' ('m'), 'error' ('e'). - `--unix-socket, -U {path}`: Connect to the specified Unix socket instead of using TCP diff --git a/commands/docs/http_options.md b/commands/docs/http_options.md index 4f21f9c3902..997bdfd40b3 100644 --- a/commands/docs/http_options.md +++ b/commands/docs/http_options.md @@ -2,7 +2,7 @@ title: http options categories: | network -version: 0.109.0 +version: 0.110.0 network: | Requests permitted communication options for a given URL. usage: | @@ -28,6 +28,7 @@ contributors: false - `--headers, -H {any}`: custom headers you want to add - `--insecure, -k`: allow insecure server connections when using SSL - `--allow-errors, -e`: do not fail if the server returns an error code + - `--pool`: using a global pool as a client - `--unix-socket, -U {path}`: Connect to the specified Unix socket instead of using TCP ## Parameters diff --git a/commands/docs/http_patch.md b/commands/docs/http_patch.md index f648f93396b..ebdaecd63e3 100644 --- a/commands/docs/http_patch.md +++ b/commands/docs/http_patch.md @@ -2,7 +2,7 @@ title: http patch categories: | network -version: 0.109.0 +version: 0.110.0 network: | Patch a body to a URL. usage: | @@ -31,6 +31,7 @@ contributors: false - `--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 + - `--pool`: using a global pool as a client - `--redirect-mode, -R {string}`: What to do when encountering redirects. Default: 'follow'. Valid options: 'follow' ('f'), 'manual' ('m'), 'error' ('e'). - `--unix-socket, -U {path}`: Connect to the specified Unix socket instead of using TCP diff --git a/commands/docs/http_pool.md b/commands/docs/http_pool.md new file mode 100644 index 00000000000..2faff1f5eca --- /dev/null +++ b/commands/docs/http_pool.md @@ -0,0 +1,37 @@ +--- +title: http pool +categories: | + network +version: 0.110.0 +network: | + Configure and reset builtin http connection pool. +usage: | + Configure and reset builtin http connection pool. +editLink: false +contributors: false +--- + + +# `http pool` for [network](/commands/categories/network.md) + +
Configure and reset builtin http connection pool.
+ +## Signature + +```> http pool {flags} ``` + +## Flags + + - `--insecure, -k`: allow insecure server connections when using SSL + - `--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'). + - `--unix-socket, -U {path}`: Connect to the specified Unix socket instead of using TCP + + +## Input/output types: + +| input | output | +| ------- | ------ | +| nothing | any | +## Notes +All connections inside http connection poll will be closed. \ No newline at end of file diff --git a/commands/docs/http_post.md b/commands/docs/http_post.md index 677252c1834..1242835180d 100644 --- a/commands/docs/http_post.md +++ b/commands/docs/http_post.md @@ -2,7 +2,7 @@ title: http post categories: | network -version: 0.109.0 +version: 0.110.0 network: | Post a body to a URL. usage: | @@ -31,6 +31,7 @@ contributors: false - `--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 + - `--pool`: using a global pool as a client - `--redirect-mode, -R {string}`: What to do when encountering redirects. Default: 'follow'. Valid options: 'follow' ('f'), 'manual' ('m'), 'error' ('e'). - `--unix-socket, -U {path}`: Connect to the specified Unix socket instead of using TCP diff --git a/commands/docs/http_put.md b/commands/docs/http_put.md index 4fd7214bd76..f422899fbb6 100644 --- a/commands/docs/http_put.md +++ b/commands/docs/http_put.md @@ -2,7 +2,7 @@ title: http put categories: | network -version: 0.109.0 +version: 0.110.0 network: | Put a body to a URL. usage: | @@ -31,6 +31,7 @@ contributors: false - `--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 + - `--pool`: using a global pool as a client - `--redirect-mode, -R {string}`: What to do when encountering redirects. Default: 'follow'. Valid options: 'follow' ('f'), 'manual' ('m'), 'error' ('e'). - `--unix-socket, -U {path}`: Connect to the specified Unix socket instead of using TCP diff --git a/commands/docs/if.md b/commands/docs/if.md index 16394c78200..afab1bda062 100644 --- a/commands/docs/if.md +++ b/commands/docs/if.md @@ -2,7 +2,7 @@ title: if categories: | core -version: 0.109.0 +version: 0.110.0 core: | Conditionally run a block. usage: | diff --git a/commands/docs/ignore.md b/commands/docs/ignore.md index 13104cc1e04..290b71bbddf 100644 --- a/commands/docs/ignore.md +++ b/commands/docs/ignore.md @@ -2,7 +2,7 @@ title: ignore categories: | core -version: 0.109.0 +version: 0.110.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 2cc4f59cad0..d27a3ebdd9a 100644 --- a/commands/docs/inc.md +++ b/commands/docs/inc.md @@ -2,7 +2,7 @@ title: inc categories: | default -version: 0.109.0 +version: 0.110.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 e32826b3219..fc190605b45 100644 --- a/commands/docs/input.md +++ b/commands/docs/input.md @@ -2,7 +2,7 @@ title: input categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Get input from the user. usage: | diff --git a/commands/docs/input_list.md b/commands/docs/input_list.md index 5e4cda7e3e2..29cafb5a12a 100644 --- a/commands/docs/input_list.md +++ b/commands/docs/input_list.md @@ -2,7 +2,7 @@ title: input list categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Interactive list selection. usage: | diff --git a/commands/docs/input_listen.md b/commands/docs/input_listen.md index 75e8ebb0892..ab5b4adaba2 100644 --- a/commands/docs/input_listen.md +++ b/commands/docs/input_listen.md @@ -2,7 +2,7 @@ title: input listen categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Listen for user interface event. usage: | diff --git a/commands/docs/insert.md b/commands/docs/insert.md index 15c2c16ee59..889ecc98200 100644 --- a/commands/docs/insert.md +++ b/commands/docs/insert.md @@ -2,7 +2,7 @@ title: insert categories: | filters -version: 0.109.0 +version: 0.110.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 53c980b3287..9268e1815fd 100644 --- a/commands/docs/inspect.md +++ b/commands/docs/inspect.md @@ -2,7 +2,7 @@ title: inspect categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Inspect pipeline results while running a pipeline. usage: | diff --git a/commands/docs/interleave.md b/commands/docs/interleave.md index 5f18c684967..12c4a81cef5 100644 --- a/commands/docs/interleave.md +++ b/commands/docs/interleave.md @@ -2,7 +2,7 @@ title: interleave categories: | filters -version: 0.109.0 +version: 0.110.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 51f4558367b..9d7064025a5 100644 --- a/commands/docs/into.md +++ b/commands/docs/into.md @@ -2,7 +2,7 @@ title: into categories: | conversions -version: 0.109.0 +version: 0.110.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 bdcc7ae6791..f217efced3c 100644 --- a/commands/docs/into_binary.md +++ b/commands/docs/into_binary.md @@ -2,7 +2,7 @@ title: into binary categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert value to a binary primitive. usage: | diff --git a/commands/docs/into_bool.md b/commands/docs/into_bool.md index 1119c06448d..9cc99457648 100644 --- a/commands/docs/into_bool.md +++ b/commands/docs/into_bool.md @@ -2,7 +2,7 @@ title: into bool categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert value to boolean. usage: | diff --git a/commands/docs/into_cell-path.md b/commands/docs/into_cell-path.md index 1fe35d65c57..721e9d0ce10 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.109.0 +version: 0.110.0 conversions: | Convert value to a cell-path. usage: | diff --git a/commands/docs/into_datetime.md b/commands/docs/into_datetime.md index 6022dd29b79..cbc4ae63611 100644 --- a/commands/docs/into_datetime.md +++ b/commands/docs/into_datetime.md @@ -2,7 +2,7 @@ title: into datetime categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert text or timestamp into a datetime. usage: | @@ -92,7 +92,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 (7 months ago) +Sun, 30 Mar 2025 10:15:59 +0000 (9 months ago) ``` Convert list of timestamps to datetimes diff --git a/commands/docs/into_duration.md b/commands/docs/into_duration.md index ab52ea9cf30..0666c2f24b5 100644 --- a/commands/docs/into_duration.md +++ b/commands/docs/into_duration.md @@ -2,7 +2,7 @@ title: into duration categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert value to duration. usage: | diff --git a/commands/docs/into_filesize.md b/commands/docs/into_filesize.md index 45ccaeb10be..bfe5d84daff 100644 --- a/commands/docs/into_filesize.md +++ b/commands/docs/into_filesize.md @@ -2,7 +2,7 @@ title: into filesize categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert value to filesize. usage: | diff --git a/commands/docs/into_float.md b/commands/docs/into_float.md index c0b14e08404..68f682e33d7 100644 --- a/commands/docs/into_float.md +++ b/commands/docs/into_float.md @@ -2,7 +2,7 @@ title: into float categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert data into floating point number. usage: | diff --git a/commands/docs/into_glob.md b/commands/docs/into_glob.md index c640fa8712b..e81b78c3eba 100644 --- a/commands/docs/into_glob.md +++ b/commands/docs/into_glob.md @@ -2,7 +2,7 @@ title: into glob categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert value to glob. usage: | diff --git a/commands/docs/into_int.md b/commands/docs/into_int.md index 0d79a15eb06..aef38a14b31 100644 --- a/commands/docs/into_int.md +++ b/commands/docs/into_int.md @@ -2,7 +2,7 @@ title: into int categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert value to integer. usage: | diff --git a/commands/docs/into_record.md b/commands/docs/into_record.md index aa3443b5578..0864c200275 100644 --- a/commands/docs/into_record.md +++ b/commands/docs/into_record.md @@ -2,7 +2,7 @@ title: into record categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert value to record. usage: | diff --git a/commands/docs/into_sqlite.md b/commands/docs/into_sqlite.md index ccb5ec9e712..36e0ed433a5 100644 --- a/commands/docs/into_sqlite.md +++ b/commands/docs/into_sqlite.md @@ -2,7 +2,7 @@ title: into sqlite categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert table into a SQLite database. usage: | diff --git a/commands/docs/into_string.md b/commands/docs/into_string.md index c8c05bf6ef7..6d486bad442 100644 --- a/commands/docs/into_string.md +++ b/commands/docs/into_string.md @@ -2,7 +2,7 @@ title: into string categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert value to string. usage: | diff --git a/commands/docs/into_value.md b/commands/docs/into_value.md index 32565095783..ac608eb49f4 100644 --- a/commands/docs/into_value.md +++ b/commands/docs/into_value.md @@ -2,7 +2,7 @@ title: into value categories: | conversions -version: 0.109.0 +version: 0.110.0 conversions: | Convert custom values into base values. usage: | diff --git a/commands/docs/is-admin.md b/commands/docs/is-admin.md index 8cd3ccb4744..f72d5115bdc 100644 --- a/commands/docs/is-admin.md +++ b/commands/docs/is-admin.md @@ -2,7 +2,7 @@ title: is-admin categories: | core -version: 0.109.0 +version: 0.110.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 ffa12cac698..677c2a5fedd 100644 --- a/commands/docs/is-empty.md +++ b/commands/docs/is-empty.md @@ -2,7 +2,7 @@ title: is-empty categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Check for empty values. usage: | diff --git a/commands/docs/is-not-empty.md b/commands/docs/is-not-empty.md index 1f2ae377511..c8ab2665cfb 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.109.0 +version: 0.110.0 filters: | Check for non-empty values. usage: | diff --git a/commands/docs/is-terminal.md b/commands/docs/is-terminal.md index c4e5fb18eb0..02d5c018a40 100644 --- a/commands/docs/is-terminal.md +++ b/commands/docs/is-terminal.md @@ -2,7 +2,7 @@ title: is-terminal categories: | platform -version: 0.109.0 +version: 0.110.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 b93989a7ff6..afafa38476a 100644 --- a/commands/docs/items.md +++ b/commands/docs/items.md @@ -2,7 +2,7 @@ title: items categories: | filters -version: 0.109.0 +version: 0.110.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 8bece84979c..97a8fac7ab9 100644 --- a/commands/docs/job.md +++ b/commands/docs/job.md @@ -2,7 +2,7 @@ title: job categories: | experimental -version: 0.109.0 +version: 0.110.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 18638bfdb2d..4147a07954d 100644 --- a/commands/docs/job_flush.md +++ b/commands/docs/job_flush.md @@ -2,7 +2,7 @@ title: job flush categories: | experimental -version: 0.109.0 +version: 0.110.0 experimental: | Clear this job's mailbox. usage: | @@ -20,6 +20,10 @@ contributors: false ```> job flush {flags} ``` +## Flags + + - `--tag {int}`: Clear messages with this tag + ## Input/output types: diff --git a/commands/docs/job_id.md b/commands/docs/job_id.md index cee9f2f134d..47d3bd1c363 100644 --- a/commands/docs/job_id.md +++ b/commands/docs/job_id.md @@ -2,7 +2,7 @@ title: job id categories: | experimental -version: 0.109.0 +version: 0.110.0 experimental: | Get id of current job. usage: | diff --git a/commands/docs/job_kill.md b/commands/docs/job_kill.md index 7743ba9e23d..93fe87ad691 100644 --- a/commands/docs/job_kill.md +++ b/commands/docs/job_kill.md @@ -2,7 +2,7 @@ title: job kill categories: | experimental -version: 0.109.0 +version: 0.110.0 experimental: | Kill a background job. usage: | diff --git a/commands/docs/job_list.md b/commands/docs/job_list.md index 765bcd05e52..fdf58894723 100644 --- a/commands/docs/job_list.md +++ b/commands/docs/job_list.md @@ -2,7 +2,7 @@ title: job list categories: | experimental -version: 0.109.0 +version: 0.110.0 experimental: | List background jobs. usage: | diff --git a/commands/docs/job_recv.md b/commands/docs/job_recv.md index 3aa31abd6aa..271de496137 100644 --- a/commands/docs/job_recv.md +++ b/commands/docs/job_recv.md @@ -2,7 +2,7 @@ title: job recv categories: | experimental -version: 0.109.0 +version: 0.110.0 experimental: | Read a message from the mailbox. usage: | diff --git a/commands/docs/job_send.md b/commands/docs/job_send.md index 81811839307..81e852d250f 100644 --- a/commands/docs/job_send.md +++ b/commands/docs/job_send.md @@ -2,7 +2,7 @@ title: job send categories: | experimental -version: 0.109.0 +version: 0.110.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 0186106472c..4249d468b24 100644 --- a/commands/docs/job_spawn.md +++ b/commands/docs/job_spawn.md @@ -2,7 +2,7 @@ title: job spawn categories: | experimental -version: 0.109.0 +version: 0.110.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 1655084f27d..a7ee73c7de8 100644 --- a/commands/docs/job_tag.md +++ b/commands/docs/job_tag.md @@ -2,7 +2,7 @@ title: job tag categories: | experimental -version: 0.109.0 +version: 0.110.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 85e72311609..6791838a701 100644 --- a/commands/docs/job_unfreeze.md +++ b/commands/docs/job_unfreeze.md @@ -2,7 +2,7 @@ title: job unfreeze categories: | experimental -version: 0.109.0 +version: 0.110.0 experimental: | Unfreeze a frozen process job in foreground. usage: | diff --git a/commands/docs/join.md b/commands/docs/join.md index 6d5e7489ab0..27c07569e10 100644 --- a/commands/docs/join.md +++ b/commands/docs/join.md @@ -2,7 +2,7 @@ title: join categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Join two tables. usage: | diff --git a/commands/docs/keybindings.md b/commands/docs/keybindings.md index d8fe69dc7b6..e242095a38a 100644 --- a/commands/docs/keybindings.md +++ b/commands/docs/keybindings.md @@ -2,7 +2,7 @@ title: keybindings categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Keybindings related commands. usage: | diff --git a/commands/docs/keybindings_default.md b/commands/docs/keybindings_default.md index e7ad9284f5b..737f519ad88 100644 --- a/commands/docs/keybindings_default.md +++ b/commands/docs/keybindings_default.md @@ -2,7 +2,7 @@ title: keybindings default categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | List default keybindings. usage: | diff --git a/commands/docs/keybindings_list.md b/commands/docs/keybindings_list.md index 68a3b8d4cff..b52874bf338 100644 --- a/commands/docs/keybindings_list.md +++ b/commands/docs/keybindings_list.md @@ -2,7 +2,7 @@ title: keybindings list categories: | platform -version: 0.109.0 +version: 0.110.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 cdf5a3303a0..7f11c13dcea 100644 --- a/commands/docs/keybindings_listen.md +++ b/commands/docs/keybindings_listen.md @@ -2,7 +2,7 @@ title: keybindings listen categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Get input from the user. usage: | diff --git a/commands/docs/kill.md b/commands/docs/kill.md index 27fcd47200f..f1f5ec0c4d3 100644 --- a/commands/docs/kill.md +++ b/commands/docs/kill.md @@ -2,7 +2,7 @@ title: kill categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Kill a process using the process id. usage: | diff --git a/commands/docs/last.md b/commands/docs/last.md index 0363cddf1e4..13308a6531b 100644 --- a/commands/docs/last.md +++ b/commands/docs/last.md @@ -2,7 +2,7 @@ title: last categories: | filters -version: 0.109.0 +version: 0.110.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 ef9e2ffdeb4..e879352e861 100644 --- a/commands/docs/length.md +++ b/commands/docs/length.md @@ -2,7 +2,7 @@ title: length categories: | filters -version: 0.109.0 +version: 0.110.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 cdd922a522a..ca86f699986 100644 --- a/commands/docs/let-env.md +++ b/commands/docs/let-env.md @@ -2,7 +2,7 @@ title: let-env categories: | removed -version: 0.109.0 +version: 0.110.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 eb7dc20eeea..0584f71aa1a 100644 --- a/commands/docs/let.md +++ b/commands/docs/let.md @@ -2,7 +2,7 @@ title: let categories: | core -version: 0.109.0 +version: 0.110.0 core: | Create a variable and give it a value. usage: | @@ -51,6 +51,12 @@ Set a variable based on the condition ``` +Set a variable to the output of a pipeline +```nu +> ls | let files + +``` + ## Notes This command is a parser keyword. For details, check: https://www.nushell.sh/book/thinking_in_nu.html \ No newline at end of file diff --git a/commands/docs/lines.md b/commands/docs/lines.md index b4bd60710ce..3de77f95e19 100644 --- a/commands/docs/lines.md +++ b/commands/docs/lines.md @@ -2,7 +2,7 @@ title: lines categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Converts input to lines. usage: | diff --git a/commands/docs/load-env.md b/commands/docs/load-env.md index e045a7d7410..7169792419c 100644 --- a/commands/docs/load-env.md +++ b/commands/docs/load-env.md @@ -2,7 +2,7 @@ title: load-env categories: | filesystem -version: 0.109.0 +version: 0.110.0 filesystem: | Loads an environment update from a record. usage: | diff --git a/commands/docs/loop.md b/commands/docs/loop.md index 8a834bb06b4..0db85a68747 100644 --- a/commands/docs/loop.md +++ b/commands/docs/loop.md @@ -2,7 +2,7 @@ title: loop categories: | core -version: 0.109.0 +version: 0.110.0 core: | Run a block in a loop. usage: | diff --git a/commands/docs/ls.md b/commands/docs/ls.md index 550351b11ea..83db56ace27 100644 --- a/commands/docs/ls.md +++ b/commands/docs/ls.md @@ -2,7 +2,7 @@ title: ls categories: | filesystem -version: 0.109.0 +version: 0.110.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 a6fefb67553..0f0420f8819 100644 --- a/commands/docs/match.md +++ b/commands/docs/match.md @@ -2,7 +2,7 @@ title: match categories: | core -version: 0.109.0 +version: 0.110.0 core: | Conditionally run a block on a matched value. usage: | diff --git a/commands/docs/math.md b/commands/docs/math.md index 58847c6b66c..2a5ea462fbb 100644 --- a/commands/docs/math.md +++ b/commands/docs/math.md @@ -2,7 +2,7 @@ title: math categories: | math -version: 0.109.0 +version: 0.110.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 4cb3f0da780..7935813848e 100644 --- a/commands/docs/math_abs.md +++ b/commands/docs/math_abs.md @@ -2,7 +2,7 @@ title: math abs categories: | math -version: 0.109.0 +version: 0.110.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 a9289fdbc64..0516ffc1b6b 100644 --- a/commands/docs/math_arccos.md +++ b/commands/docs/math_arccos.md @@ -2,7 +2,7 @@ title: math arccos categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the arccosine of the number. usage: | diff --git a/commands/docs/math_arccosh.md b/commands/docs/math_arccosh.md index 2db9ba9143d..7b0e10b0a3e 100644 --- a/commands/docs/math_arccosh.md +++ b/commands/docs/math_arccosh.md @@ -2,7 +2,7 @@ title: math arccosh categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the inverse of the hyperbolic cosine function. usage: | diff --git a/commands/docs/math_arcsin.md b/commands/docs/math_arcsin.md index 8dbe8aa0cf3..932f4d1d8dd 100644 --- a/commands/docs/math_arcsin.md +++ b/commands/docs/math_arcsin.md @@ -2,7 +2,7 @@ title: math arcsin categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the arcsine of the number. usage: | diff --git a/commands/docs/math_arcsinh.md b/commands/docs/math_arcsinh.md index 4e9face6093..f97512d9e0a 100644 --- a/commands/docs/math_arcsinh.md +++ b/commands/docs/math_arcsinh.md @@ -2,7 +2,7 @@ title: math arcsinh categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the inverse of the hyperbolic sine function. usage: | diff --git a/commands/docs/math_arctan.md b/commands/docs/math_arctan.md index d2e1c922f80..f983891b52c 100644 --- a/commands/docs/math_arctan.md +++ b/commands/docs/math_arctan.md @@ -2,7 +2,7 @@ title: math arctan categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the arctangent of the number. usage: | diff --git a/commands/docs/math_arctanh.md b/commands/docs/math_arctanh.md index f48afb0cf2d..e1a6715d557 100644 --- a/commands/docs/math_arctanh.md +++ b/commands/docs/math_arctanh.md @@ -2,7 +2,7 @@ title: math arctanh categories: | math -version: 0.109.0 +version: 0.110.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 4d5c1b972ff..cee379591bc 100644 --- a/commands/docs/math_avg.md +++ b/commands/docs/math_avg.md @@ -2,7 +2,7 @@ title: math avg categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the average of a list of numbers. usage: | diff --git a/commands/docs/math_ceil.md b/commands/docs/math_ceil.md index 40fad2c727f..b4c7155e41c 100644 --- a/commands/docs/math_ceil.md +++ b/commands/docs/math_ceil.md @@ -2,7 +2,7 @@ title: math ceil categories: | math -version: 0.109.0 +version: 0.110.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 47898eda431..21f94732048 100644 --- a/commands/docs/math_cos.md +++ b/commands/docs/math_cos.md @@ -2,7 +2,7 @@ title: math cos categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the cosine of the number. usage: | diff --git a/commands/docs/math_cosh.md b/commands/docs/math_cosh.md index 59c5a9735ad..2c0e52c9392 100644 --- a/commands/docs/math_cosh.md +++ b/commands/docs/math_cosh.md @@ -2,7 +2,7 @@ title: math cosh categories: | math -version: 0.109.0 +version: 0.110.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 55d465bc80f..03ae8a7fd96 100644 --- a/commands/docs/math_exp.md +++ b/commands/docs/math_exp.md @@ -2,7 +2,7 @@ title: math exp categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns e raised to the power of x. usage: | diff --git a/commands/docs/math_floor.md b/commands/docs/math_floor.md index 08078b3cb57..c363fce50e6 100644 --- a/commands/docs/math_floor.md +++ b/commands/docs/math_floor.md @@ -2,7 +2,7 @@ title: math floor categories: | math -version: 0.109.0 +version: 0.110.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 d31dd5bc232..d47c37d5857 100644 --- a/commands/docs/math_ln.md +++ b/commands/docs/math_ln.md @@ -2,7 +2,7 @@ title: math ln categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the natural logarithm. Base: (math e). usage: | diff --git a/commands/docs/math_log.md b/commands/docs/math_log.md index a85149bcb79..29b449ee50e 100644 --- a/commands/docs/math_log.md +++ b/commands/docs/math_log.md @@ -2,7 +2,7 @@ title: math log categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the logarithm for an arbitrary base. usage: | diff --git a/commands/docs/math_max.md b/commands/docs/math_max.md index c10e3cd5ac5..635ba9e6c06 100644 --- a/commands/docs/math_max.md +++ b/commands/docs/math_max.md @@ -2,7 +2,7 @@ title: math max categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the maximum of a list of values, or of columns in a table. usage: | @@ -52,5 +52,5 @@ Find the maxima of the columns of a table Find the maximum of a list of dates ```nu > [2022-02-02 2022-12-30 2012-12-12] | math max -Fri, 30 Dec 2022 00:00:00 +0000 (2 years ago) +Fri, 30 Dec 2022 00:00:00 +0000 (3 years ago) ``` diff --git a/commands/docs/math_median.md b/commands/docs/math_median.md index 3e1a9e54257..ff0fdfcc689 100644 --- a/commands/docs/math_median.md +++ b/commands/docs/math_median.md @@ -2,7 +2,7 @@ title: math median categories: | math -version: 0.109.0 +version: 0.110.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 a7f55da31ed..6c431deb7b2 100644 --- a/commands/docs/math_min.md +++ b/commands/docs/math_min.md @@ -2,7 +2,7 @@ title: math min categories: | math -version: 0.109.0 +version: 0.110.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 5e3b3919e42..4a5f2fb321b 100644 --- a/commands/docs/math_mode.md +++ b/commands/docs/math_mode.md @@ -2,7 +2,7 @@ title: math mode categories: | math -version: 0.109.0 +version: 0.110.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 45697115699..c5d7df40e9e 100644 --- a/commands/docs/math_product.md +++ b/commands/docs/math_product.md @@ -2,7 +2,7 @@ title: math product categories: | math -version: 0.109.0 +version: 0.110.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 5673d8aab9e..69763ebd736 100644 --- a/commands/docs/math_round.md +++ b/commands/docs/math_round.md @@ -2,7 +2,7 @@ title: math round categories: | math -version: 0.109.0 +version: 0.110.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 c0cba36b060..03f37bbd494 100644 --- a/commands/docs/math_sin.md +++ b/commands/docs/math_sin.md @@ -2,7 +2,7 @@ title: math sin categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the sine of the number. usage: | diff --git a/commands/docs/math_sinh.md b/commands/docs/math_sinh.md index 4122f68ba1d..0c9028f6a1e 100644 --- a/commands/docs/math_sinh.md +++ b/commands/docs/math_sinh.md @@ -2,7 +2,7 @@ title: math sinh categories: | math -version: 0.109.0 +version: 0.110.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 617f7d2ccf7..e9ad2b8fbd2 100644 --- a/commands/docs/math_sqrt.md +++ b/commands/docs/math_sqrt.md @@ -2,7 +2,7 @@ title: math sqrt categories: | math -version: 0.109.0 +version: 0.110.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 9d6113545ac..e5de6c0ecab 100644 --- a/commands/docs/math_stddev.md +++ b/commands/docs/math_stddev.md @@ -2,7 +2,7 @@ title: math stddev categories: | math -version: 0.109.0 +version: 0.110.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 a6dfaa966f3..2e7a0932ea9 100644 --- a/commands/docs/math_sum.md +++ b/commands/docs/math_sum.md @@ -2,7 +2,7 @@ title: math sum categories: | math -version: 0.109.0 +version: 0.110.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 26a9bd9cf9f..de16ce35f57 100644 --- a/commands/docs/math_tan.md +++ b/commands/docs/math_tan.md @@ -2,7 +2,7 @@ title: math tan categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the tangent of the number. usage: | diff --git a/commands/docs/math_tanh.md b/commands/docs/math_tanh.md index 508a4048183..6c5d6aaf0a7 100644 --- a/commands/docs/math_tanh.md +++ b/commands/docs/math_tanh.md @@ -2,7 +2,7 @@ title: math tanh categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the hyperbolic tangent of the number. usage: | diff --git a/commands/docs/math_variance.md b/commands/docs/math_variance.md index 8dcc80d4542..2d1c4380fd3 100644 --- a/commands/docs/math_variance.md +++ b/commands/docs/math_variance.md @@ -2,7 +2,7 @@ title: math variance categories: | math -version: 0.109.0 +version: 0.110.0 math: | Returns the variance of a list of numbers or of each column in a table. usage: | diff --git a/commands/docs/merge.md b/commands/docs/merge.md index 140afed898a..b025dcd2831 100644 --- a/commands/docs/merge.md +++ b/commands/docs/merge.md @@ -2,7 +2,7 @@ title: merge categories: | filters -version: 0.109.0 +version: 0.110.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 661ce66eb3e..7b723d0b03d 100644 --- a/commands/docs/merge_deep.md +++ b/commands/docs/merge_deep.md @@ -2,7 +2,7 @@ title: merge deep categories: | filters -version: 0.109.0 +version: 0.110.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 6d93f293ad1..5899499da04 100644 --- a/commands/docs/metadata.md +++ b/commands/docs/metadata.md @@ -2,7 +2,7 @@ title: metadata categories: | debug -version: 0.109.0 +version: 0.110.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 2e9193d9104..7ccbc0e26e4 100644 --- a/commands/docs/metadata_access.md +++ b/commands/docs/metadata_access.md @@ -2,7 +2,7 @@ title: metadata access categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Access the metadata for the input stream within a closure. usage: | diff --git a/commands/docs/metadata_set.md b/commands/docs/metadata_set.md index 6345139d88f..ed9d2bf57b7 100644 --- a/commands/docs/metadata_set.md +++ b/commands/docs/metadata_set.md @@ -2,7 +2,7 @@ title: metadata set categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Set the metadata for items in the stream. usage: | diff --git a/commands/docs/mkdir.md b/commands/docs/mkdir.md index de4f461addb..012947fd5f5 100644 --- a/commands/docs/mkdir.md +++ b/commands/docs/mkdir.md @@ -2,7 +2,7 @@ title: mkdir categories: | filesystem -version: 0.109.0 +version: 0.110.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 37e90606d44..eebdef2e0f8 100644 --- a/commands/docs/mktemp.md +++ b/commands/docs/mktemp.md @@ -2,7 +2,7 @@ title: mktemp categories: | filesystem -version: 0.109.0 +version: 0.110.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 34db335439b..628148939c1 100644 --- a/commands/docs/module.md +++ b/commands/docs/module.md @@ -2,7 +2,7 @@ title: module categories: | core -version: 0.109.0 +version: 0.110.0 core: | Define a custom module. usage: | diff --git a/commands/docs/move.md b/commands/docs/move.md index a58a325adac..55891febdc0 100644 --- a/commands/docs/move.md +++ b/commands/docs/move.md @@ -2,7 +2,7 @@ title: move categories: | filters -version: 0.109.0 +version: 0.110.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 7db7d7ca246..dbc95bee8be 100644 --- a/commands/docs/mut.md +++ b/commands/docs/mut.md @@ -2,7 +2,7 @@ title: mut categories: | core -version: 0.109.0 +version: 0.110.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 3de0d5325fd..eca2e0d7f3f 100644 --- a/commands/docs/mv.md +++ b/commands/docs/mv.md @@ -2,7 +2,7 @@ title: mv categories: | filesystem -version: 0.109.0 +version: 0.110.0 filesystem: | Move files or directories using uutils/coreutils mv. usage: | @@ -28,6 +28,7 @@ contributors: false - `--interactive, -i`: prompt before overwriting - `--update, -u`: move and overwrite only when the SOURCE file is newer than the destination file or when the destination file is missing - `--no-clobber, -n`: do not overwrite an existing file + - `--all, -a`: move hidden files if '*' is provided ## Parameters diff --git a/commands/docs/nu-check.md b/commands/docs/nu-check.md index 1ea716e0ce9..e8ed6383632 100644 --- a/commands/docs/nu-check.md +++ b/commands/docs/nu-check.md @@ -2,7 +2,7 @@ title: nu-check categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Validate and parse input content. usage: | diff --git a/commands/docs/nu-highlight.md b/commands/docs/nu-highlight.md index 5481e7f28ec..5d9cba09c1f 100644 --- a/commands/docs/nu-highlight.md +++ b/commands/docs/nu-highlight.md @@ -2,7 +2,7 @@ title: nu-highlight categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Syntax highlight the input string. usage: | diff --git a/commands/docs/open.md b/commands/docs/open.md index 916de62996b..e5d1a763854 100644 --- a/commands/docs/open.md +++ b/commands/docs/open.md @@ -2,7 +2,7 @@ title: open categories: | filesystem -version: 0.109.0 +version: 0.110.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 88adab2245e..588dbd6d2d6 100644 --- a/commands/docs/overlay.md +++ b/commands/docs/overlay.md @@ -2,7 +2,7 @@ title: overlay categories: | core -version: 0.109.0 +version: 0.110.0 core: | Commands for manipulating overlays. usage: | diff --git a/commands/docs/overlay_hide.md b/commands/docs/overlay_hide.md index 2a2a2736409..6fd316f38df 100644 --- a/commands/docs/overlay_hide.md +++ b/commands/docs/overlay_hide.md @@ -2,7 +2,7 @@ title: overlay hide categories: | core -version: 0.109.0 +version: 0.110.0 core: | Hide an active overlay. usage: | diff --git a/commands/docs/overlay_list.md b/commands/docs/overlay_list.md index 126a1fa1b68..b94b1d8c957 100644 --- a/commands/docs/overlay_list.md +++ b/commands/docs/overlay_list.md @@ -2,7 +2,7 @@ title: overlay list categories: | core -version: 0.109.0 +version: 0.110.0 core: | List all overlays with their active status. usage: | diff --git a/commands/docs/overlay_new.md b/commands/docs/overlay_new.md index de5b0050229..cfde1ef12e6 100644 --- a/commands/docs/overlay_new.md +++ b/commands/docs/overlay_new.md @@ -2,7 +2,7 @@ title: overlay new categories: | core -version: 0.109.0 +version: 0.110.0 core: | Create an empty overlay. usage: | diff --git a/commands/docs/overlay_use.md b/commands/docs/overlay_use.md index 16d6d2c2985..5a302cae5c8 100644 --- a/commands/docs/overlay_use.md +++ b/commands/docs/overlay_use.md @@ -2,7 +2,7 @@ title: overlay use categories: | core -version: 0.109.0 +version: 0.110.0 core: | Use definitions from a module as an overlay. usage: | diff --git a/commands/docs/panic.md b/commands/docs/panic.md index 1b128b4e064..d936f6b8eac 100644 --- a/commands/docs/panic.md +++ b/commands/docs/panic.md @@ -2,7 +2,7 @@ title: panic categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Causes nushell to panic. usage: | diff --git a/commands/docs/par-each.md b/commands/docs/par-each.md index 0bfe1cc0e20..939259851ba 100644 --- a/commands/docs/par-each.md +++ b/commands/docs/par-each.md @@ -2,7 +2,7 @@ title: par-each categories: | filters -version: 0.109.0 +version: 0.110.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 e5ca30f4f6e..fb7ef7861fa 100644 --- a/commands/docs/parse.md +++ b/commands/docs/parse.md @@ -2,7 +2,7 @@ title: parse categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Parse columns from string data using a simple pattern or a supplied regular expression. usage: | diff --git a/commands/docs/path.md b/commands/docs/path.md index 38ec6500522..834c4e0c1c2 100644 --- a/commands/docs/path.md +++ b/commands/docs/path.md @@ -2,7 +2,7 @@ title: path categories: | path -version: 0.109.0 +version: 0.110.0 path: | Explore and manipulate paths. usage: | diff --git a/commands/docs/path_basename.md b/commands/docs/path_basename.md index 3a00ecfb4eb..ab35da2788a 100644 --- a/commands/docs/path_basename.md +++ b/commands/docs/path_basename.md @@ -2,7 +2,7 @@ title: path basename categories: | path -version: 0.109.0 +version: 0.110.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 0efbc596552..7bf3c6ebb06 100644 --- a/commands/docs/path_dirname.md +++ b/commands/docs/path_dirname.md @@ -2,7 +2,7 @@ title: path dirname categories: | path -version: 0.109.0 +version: 0.110.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 56d1fc8bf1a..22939147a2c 100644 --- a/commands/docs/path_exists.md +++ b/commands/docs/path_exists.md @@ -2,7 +2,7 @@ title: path exists categories: | path -version: 0.109.0 +version: 0.110.0 path: | Check whether a path exists. usage: | diff --git a/commands/docs/path_expand.md b/commands/docs/path_expand.md index 93579d7d844..2b5bfa2376c 100644 --- a/commands/docs/path_expand.md +++ b/commands/docs/path_expand.md @@ -2,7 +2,7 @@ title: path expand categories: | path -version: 0.109.0 +version: 0.110.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 af31e816c0a..b55aa02dd6a 100644 --- a/commands/docs/path_join.md +++ b/commands/docs/path_join.md @@ -2,7 +2,7 @@ title: path join categories: | path -version: 0.109.0 +version: 0.110.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 6d6fe085478..bcf2e536b12 100644 --- a/commands/docs/path_parse.md +++ b/commands/docs/path_parse.md @@ -2,7 +2,7 @@ title: path parse categories: | path -version: 0.109.0 +version: 0.110.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 e62e96186a1..c1d6471d084 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.109.0 +version: 0.110.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 07ebeaba7e4..713f3948c14 100644 --- a/commands/docs/path_self.md +++ b/commands/docs/path_self.md @@ -2,7 +2,7 @@ title: path self categories: | path -version: 0.109.0 +version: 0.110.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 4de778fc606..88cd1400da9 100644 --- a/commands/docs/path_split.md +++ b/commands/docs/path_split.md @@ -2,7 +2,7 @@ title: path split categories: | path -version: 0.109.0 +version: 0.110.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 a7c17a365bc..d7cefa5a756 100644 --- a/commands/docs/path_type.md +++ b/commands/docs/path_type.md @@ -2,7 +2,7 @@ title: path type categories: | path -version: 0.109.0 +version: 0.110.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 4945621951e..c8a2c67d7bf 100644 --- a/commands/docs/plugin.md +++ b/commands/docs/plugin.md @@ -2,7 +2,7 @@ title: plugin categories: | plugin -version: 0.109.0 +version: 0.110.0 plugin: | Commands for managing plugins. usage: | diff --git a/commands/docs/plugin_add.md b/commands/docs/plugin_add.md index cb05ef6dd25..113b2aad418 100644 --- a/commands/docs/plugin_add.md +++ b/commands/docs/plugin_add.md @@ -2,7 +2,7 @@ title: plugin add categories: | plugin -version: 0.109.0 +version: 0.110.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 262845fe4a1..fa153c57ba5 100644 --- a/commands/docs/plugin_list.md +++ b/commands/docs/plugin_list.md @@ -2,7 +2,7 @@ title: plugin list categories: | plugin -version: 0.109.0 +version: 0.110.0 plugin: | List loaded and installed plugins. usage: | @@ -40,7 +40,7 @@ List installed plugins. ╭────┬───────┬─────────────────────┬──────────┬────────┬───────────────────────────────┬───────┬─────────────╮ │ # │ name │ version │ status │ pid │ filename │ shell │ commands │ ├────┼───────┼─────────────────────┼──────────┼────────┼───────────────────────────────┼───────┼─────────────┤ -│ 0 │ inc │ 0.109.0 │ running │ 106480 │ /opt/nu/plugins/nu_plugin_inc │ │ ╭───┬─────╮ │ +│ 0 │ inc │ 0.110.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 b3b57ec9551..0e662fd1bb1 100644 --- a/commands/docs/plugin_rm.md +++ b/commands/docs/plugin_rm.md @@ -2,7 +2,7 @@ title: plugin rm categories: | plugin -version: 0.109.0 +version: 0.110.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 0fcc34e7ebf..7a49984f95d 100644 --- a/commands/docs/plugin_stop.md +++ b/commands/docs/plugin_stop.md @@ -2,7 +2,7 @@ title: plugin stop categories: | plugin -version: 0.109.0 +version: 0.110.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 6d7e6edb09f..25af5446c05 100644 --- a/commands/docs/plugin_use.md +++ b/commands/docs/plugin_use.md @@ -2,7 +2,7 @@ title: plugin use categories: | plugin -version: 0.109.0 +version: 0.110.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 d2fdf43ee9a..e46d8fd102a 100644 --- a/commands/docs/polars.md +++ b/commands/docs/polars.md @@ -2,7 +2,7 @@ title: polars categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Operate with data in a dataframe format. usage: | @@ -145,6 +145,12 @@ to the `polars agg` command with some column expressions for aggregation which t | [`polars save`](/commands/docs/polars_save.md) | 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). | plugin | | [`polars schema`](/commands/docs/polars_schema.md) | Show schema for a dataframe. | plugin | | [`polars select`](/commands/docs/polars_select.md) | Selects columns from lazyframe. | plugin | +| [`polars selector`](/commands/docs/polars_selector.md) | Create column selectors for use in polars commands. | plugin | +| [`polars selector all`](/commands/docs/polars_selector_all.md) | Creates a selector that selects all columns. | plugin | +| [`polars selector by-dtype`](/commands/docs/polars_selector_by-dtype.md) | Creates a selector that selects columns by data type. | plugin | +| [`polars selector by-name`](/commands/docs/polars_selector_by-name.md) | Creates a selector that selects columns by name. | plugin | +| [`polars selector first`](/commands/docs/polars_selector_first.md) | Creates a selector that selects the first column(s) by index. | plugin | +| [`polars selector last`](/commands/docs/polars_selector_last.md) | Creates a selector that selects the last column(s) by index. | plugin | | [`polars set`](/commands/docs/polars_set.md) | Sets value where given mask is true. | plugin | | [`polars set-with-idx`](/commands/docs/polars_set-with-idx.md) | Sets value in the given index. | plugin | | [`polars shape`](/commands/docs/polars_shape.md) | Shows column and row size for a dataframe. | plugin | diff --git a/commands/docs/polars_agg-groups.md b/commands/docs/polars_agg-groups.md index 15bc0a9a512..62828e55a84 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.109.0 +version: 0.110.0 dataframe: | Creates an agg_groups expression. usage: | @@ -26,6 +26,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Get the group index of the group by operations. diff --git a/commands/docs/polars_agg.md b/commands/docs/polars_agg.md index e3251183b75..e7a934002f1 100644 --- a/commands/docs/polars_agg.md +++ b/commands/docs/polars_agg.md @@ -2,7 +2,7 @@ title: polars agg categories: | lazyframe -version: 0.109.0 +version: 0.110.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 8f7fd27bcce..f3db5d4a47d 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.109.0 +version: 0.110.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 0ee906ac68b..d17fcefbf43 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.109.0 +version: 0.110.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 360767ee96e..b87b8e30652 100644 --- a/commands/docs/polars_append.md +++ b/commands/docs/polars_append.md @@ -2,7 +2,7 @@ title: polars append categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Appends a new dataframe. usage: | diff --git a/commands/docs/polars_arg-max.md b/commands/docs/polars_arg-max.md index 63dde16a5d1..1e257d81661 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.109.0 +version: 0.110.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 3f6b5f9314b..f3aae4372af 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.109.0 +version: 0.110.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 3c586b96b78..dc9fac54a50 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.109.0 +version: 0.110.0 dataframe: | Returns indexes for a sorted series. usage: | diff --git a/commands/docs/polars_arg-true.md b/commands/docs/polars_arg-true.md index 08783ff4d0a..6f3a04e5ffc 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.109.0 +version: 0.110.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 2ebf7bfd1cc..88fa7c9e6de 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.109.0 +version: 0.110.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 2c5235ddb1f..e9502492f93 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.109.0 +version: 0.110.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 568e77bf2ed..015adb37b76 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.109.0 +version: 0.110.0 dataframe: | Converts string to date. usage: | @@ -44,8 +44,8 @@ Converts string to date ╭───┬─────────────╮ │ # │ date │ ├───┼─────────────┤ -│ 0 │ 3 years ago │ -│ 1 │ 3 years ago │ +│ 0 │ 4 years ago │ +│ 1 │ 4 years ago │ ╰───┴─────────────╯ ``` @@ -56,8 +56,8 @@ Converts string to date ╭───┬─────────────╮ │ # │ date │ ├───┼─────────────┤ -│ 0 │ 3 years ago │ -│ 1 │ 3 years ago │ +│ 0 │ 4 years ago │ +│ 1 │ 4 years ago │ ╰───┴─────────────╯ ``` @@ -68,8 +68,8 @@ Converts string to date in an expression ╭───┬─────────────╮ │ # │ date │ ├───┼─────────────┤ -│ 0 │ 3 years ago │ -│ 1 │ 3 years ago │ +│ 0 │ 4 years ago │ +│ 1 │ 4 years ago │ ╰───┴─────────────╯ ``` diff --git a/commands/docs/polars_as-datetime.md b/commands/docs/polars_as-datetime.md index 5eb78811b97..9667af22dc8 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.109.0 +version: 0.110.0 dataframe: | Converts string to datetime. usage: | @@ -53,8 +53,8 @@ Converts string to datetime ╭───┬─────────────╮ │ # │ datetime │ ├───┼─────────────┤ -│ 0 │ 3 years ago │ -│ 1 │ 3 years ago │ +│ 0 │ 4 years ago │ +│ 1 │ 4 years ago │ ╰───┴─────────────╯ ``` @@ -65,8 +65,8 @@ Converts string to datetime with high resolutions ╭───┬─────────────╮ │ # │ datetime │ ├───┼─────────────┤ -│ 0 │ 3 years ago │ -│ 1 │ 3 years ago │ +│ 0 │ 4 years ago │ +│ 1 │ 4 years ago │ ╰───┴─────────────╯ ``` @@ -77,7 +77,7 @@ Converts string to datetime using the `--not-exact` flag even with excessive sym ╭───┬─────────────╮ │ # │ datetime │ ├───┼─────────────┤ -│ 0 │ 3 years ago │ +│ 0 │ 4 years ago │ ╰───┴─────────────╯ ``` @@ -85,14 +85,14 @@ Converts string to datetime using the `--not-exact` flag even with excessive sym Converts string to datetime using the `--not-exact` flag even with excessive symbols in an expression ```nu > ["2025-11-02 00:00:00", "2025-11-02 01:00:00", "2025-11-02 02:00:00", "2025-11-02 03:00:00"] | polars into-df | polars select (polars col 0 | polars as-datetime "%Y-%m-%d %H:%M:%S") -╭───┬─────────────╮ -│ # │ datetime │ -├───┼─────────────┤ -│ 0 │ 3 weeks ago │ -│ 1 │ 3 weeks ago │ -│ 2 │ 3 weeks ago │ -│ 3 │ 3 weeks ago │ -╰───┴─────────────╯ +╭───┬──────────────╮ +│ # │ datetime │ +├───┼──────────────┤ +│ 0 │ 2 months ago │ +│ 1 │ 2 months ago │ +│ 2 │ 2 months ago │ +│ 3 │ 2 months ago │ +╰───┴──────────────╯ ``` diff --git a/commands/docs/polars_as.md b/commands/docs/polars_as.md index 179edf59e3f..aba6a9707c5 100644 --- a/commands/docs/polars_as.md +++ b/commands/docs/polars_as.md @@ -2,7 +2,7 @@ title: polars as categories: | expression -version: 0.109.0 +version: 0.110.0 expression: | Creates an alias expression. usage: | @@ -30,6 +30,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Creates and alias expression diff --git a/commands/docs/polars_cache.md b/commands/docs/polars_cache.md index b1db21bcf3a..f4d92d60276 100644 --- a/commands/docs/polars_cache.md +++ b/commands/docs/polars_cache.md @@ -2,7 +2,7 @@ title: polars cache categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Caches operations in a new LazyFrame. usage: | diff --git a/commands/docs/polars_cast.md b/commands/docs/polars_cast.md index 730a729899e..79335cb939e 100644 --- a/commands/docs/polars_cast.md +++ b/commands/docs/polars_cast.md @@ -2,7 +2,7 @@ title: polars cast categories: | dataframe -version: 0.109.0 +version: 0.110.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 f9dea4ce81e..307ddef0d62 100644 --- a/commands/docs/polars_col.md +++ b/commands/docs/polars_col.md @@ -2,7 +2,7 @@ title: polars col categories: | expression -version: 0.109.0 +version: 0.110.0 expression: | Creates a named column expression. usage: | diff --git a/commands/docs/polars_collect.md b/commands/docs/polars_collect.md index b6ea9e47585..8c3c73d0075 100644 --- a/commands/docs/polars_collect.md +++ b/commands/docs/polars_collect.md @@ -2,7 +2,7 @@ title: polars collect categories: | lazyframe -version: 0.109.0 +version: 0.110.0 lazyframe: | Collect lazy dataframe into eager dataframe. usage: | diff --git a/commands/docs/polars_columns.md b/commands/docs/polars_columns.md index b81e0379ca6..a126fc22049 100644 --- a/commands/docs/polars_columns.md +++ b/commands/docs/polars_columns.md @@ -2,7 +2,7 @@ title: polars columns categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Show dataframe columns. usage: | diff --git a/commands/docs/polars_concat-str.md b/commands/docs/polars_concat-str.md index 011e1598676..d91006a7dcb 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.109.0 +version: 0.110.0 expression: | Creates a concat string expression. usage: | diff --git a/commands/docs/polars_concat.md b/commands/docs/polars_concat.md index f47f50c3347..b6ca1c0bee6 100644 --- a/commands/docs/polars_concat.md +++ b/commands/docs/polars_concat.md @@ -2,7 +2,7 @@ title: polars concat categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Concatenate two or more dataframes. usage: | diff --git a/commands/docs/polars_contains.md b/commands/docs/polars_contains.md index 5fc3af6a8fd..65bbc856d8c 100644 --- a/commands/docs/polars_contains.md +++ b/commands/docs/polars_contains.md @@ -2,7 +2,7 @@ title: polars contains categories: | dataframe -version: 0.109.0 +version: 0.110.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 ec078172362..1198be9af6a 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.109.0 +version: 0.110.0 dataframe: | Convert datetime to target timezone. usage: | @@ -30,6 +30,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Convert timezone for timezone-aware datetime @@ -40,8 +41,8 @@ Convert timezone for timezone-aware datetime ╭───┬──────────────╮ │ # │ datetime │ ├───┼──────────────┤ -│ 0 │ 7 months ago │ -│ 1 │ 7 months ago │ +│ 0 │ 9 months ago │ +│ 1 │ 9 months ago │ ╰───┴──────────────╯ ``` @@ -54,8 +55,8 @@ Timezone conversions for timezone-naive datetime will assume the original timezo ╭───┬──────────────╮ │ # │ datetime │ ├───┼──────────────┤ -│ 0 │ 7 months ago │ -│ 1 │ 7 months ago │ +│ 0 │ 9 months ago │ +│ 1 │ 9 months ago │ ╰───┴──────────────╯ ``` diff --git a/commands/docs/polars_count-null.md b/commands/docs/polars_count-null.md index f3b59c53bee..61da4d4b111 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.109.0 +version: 0.110.0 dataframe: | Counts null values. usage: | diff --git a/commands/docs/polars_count.md b/commands/docs/polars_count.md index 1f131985730..ca3cf658f31 100644 --- a/commands/docs/polars_count.md +++ b/commands/docs/polars_count.md @@ -2,7 +2,7 @@ title: polars count categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Returns the number of non-null values in the column. usage: | @@ -26,6 +26,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Count the number of non-null values in a column diff --git a/commands/docs/polars_cumulative.md b/commands/docs/polars_cumulative.md index 87e04a3b51f..9803abb7a47 100644 --- a/commands/docs/polars_cumulative.md +++ b/commands/docs/polars_cumulative.md @@ -2,7 +2,7 @@ title: polars cumulative categories: | dataframe -version: 0.109.0 +version: 0.110.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 beabf3936d4..3d1f237aaad 100644 --- a/commands/docs/polars_cut.md +++ b/commands/docs/polars_cut.md @@ -2,7 +2,7 @@ title: polars cut categories: | dataframe -version: 0.109.0 +version: 0.110.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 42d4d457ab2..bd539f0a0da 100644 --- a/commands/docs/polars_datepart.md +++ b/commands/docs/polars_datepart.md @@ -2,7 +2,7 @@ title: polars datepart categories: | expression -version: 0.109.0 +version: 0.110.0 expression: | Creates an expression for capturing the specified datepart in a column. usage: | @@ -38,7 +38,7 @@ Creates an expression to capture the year date part ╭───┬─────────────┬───────────────╮ │ # │ datetime │ datetime_year │ ├───┼─────────────┼───────────────┤ -│ 0 │ 3 years ago │ 2021 │ +│ 0 │ 4 years ago │ 2021 │ ╰───┴─────────────┴───────────────╯ ``` @@ -66,7 +66,7 @@ Creates an expression to capture multiple date parts │ │ │ │ │ │ │ │ │ n │ │ │ │ │ │ │ │ │ │ s │ ├───┼─────────────┼───────────────┼────────────────┼──────────────┼───────────────┼─────────────────┼────┼───┤ -│ 0 │ 3 years ago │ 2021 │ 12 │ 30 │ 1 │ 2 │ 3 │ 1 │ +│ 0 │ 4 years ago │ 2021 │ 12 │ 30 │ 1 │ 2 │ 3 │ 1 │ │ │ │ │ │ │ │ │ │ 2 │ │ │ │ │ │ │ │ │ │ 3 │ │ │ │ │ │ │ │ │ │ 4 │ diff --git a/commands/docs/polars_decimal.md b/commands/docs/polars_decimal.md index 722305c1cc6..1db86c92a50 100644 --- a/commands/docs/polars_decimal.md +++ b/commands/docs/polars_decimal.md @@ -2,7 +2,7 @@ title: polars decimal categories: | dataframe -version: 0.109.0 +version: 0.110.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 92ebc703dcf..dbfeb08945d 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.109.0 +version: 0.110.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 7393b0b2a8e..7312953dd56 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.109.0 +version: 0.110.0 dataframe: | Drops null values in dataframe. usage: | diff --git a/commands/docs/polars_drop.md b/commands/docs/polars_drop.md index c7980d09544..71a39aea774 100644 --- a/commands/docs/polars_drop.md +++ b/commands/docs/polars_drop.md @@ -2,7 +2,7 @@ title: polars drop categories: | dataframe -version: 0.109.0 +version: 0.110.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 feb51d7f58f..bb85f17a5ff 100644 --- a/commands/docs/polars_dummies.md +++ b/commands/docs/polars_dummies.md @@ -2,7 +2,7 @@ title: polars dummies categories: | dataframe -version: 0.109.0 +version: 0.110.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 86cbd39c029..a9e8509067c 100644 --- a/commands/docs/polars_explode.md +++ b/commands/docs/polars_explode.md @@ -2,7 +2,7 @@ title: polars explode categories: | lazyframe -version: 0.109.0 +version: 0.110.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 129652d7550..388ed0b7a1e 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.109.0 +version: 0.110.0 dataframe: | Creates a not expression. usage: | @@ -26,6 +26,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Creates a not expression diff --git a/commands/docs/polars_fill-nan.md b/commands/docs/polars_fill-nan.md index 870d537c4ee..507b271dad2 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.109.0 +version: 0.110.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 664210cec94..5149bded70a 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.109.0 +version: 0.110.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 933d5591f79..484ee87ee2c 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.109.0 +version: 0.110.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 5661ac8f148..dfd76aa2c1a 100644 --- a/commands/docs/polars_filter.md +++ b/commands/docs/polars_filter.md @@ -2,7 +2,7 @@ title: polars filter categories: | lazyframe -version: 0.109.0 +version: 0.110.0 lazyframe: | Filter dataframe based in expression. usage: | @@ -52,8 +52,8 @@ Filter dataframe for rows where dt is within the last 2 days of the maximum dt v ╭───┬──────────────┬─────╮ │ # │ dt │ val │ ├───┼──────────────┼─────┤ -│ 0 │ 7 months ago │ 3 │ -│ 1 │ 7 months ago │ 4 │ +│ 0 │ 9 months ago │ 3 │ +│ 1 │ 9 months ago │ 4 │ ╰───┴──────────────┴─────╯ ``` diff --git a/commands/docs/polars_first.md b/commands/docs/polars_first.md index 6218f361764..d978e9ed1e9 100644 --- a/commands/docs/polars_first.md +++ b/commands/docs/polars_first.md @@ -2,7 +2,7 @@ title: polars first categories: | dataframe -version: 0.109.0 +version: 0.110.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 b9696bd6577..620fca04d25 100644 --- a/commands/docs/polars_flatten.md +++ b/commands/docs/polars_flatten.md @@ -2,7 +2,7 @@ title: polars flatten categories: | lazyframe -version: 0.109.0 +version: 0.110.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 3c5c70c3c4c..2b963372588 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.109.0 +version: 0.110.0 dataframe: | Gets day from date. usage: | diff --git a/commands/docs/polars_get-hour.md b/commands/docs/polars_get-hour.md index 90355f693c6..f1cdbb12e7e 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.109.0 +version: 0.110.0 dataframe: | Gets hour from datetime. usage: | diff --git a/commands/docs/polars_get-minute.md b/commands/docs/polars_get-minute.md index 47cc75db09d..30c2a75c84c 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.109.0 +version: 0.110.0 dataframe: | Gets minute from date. usage: | diff --git a/commands/docs/polars_get-month.md b/commands/docs/polars_get-month.md index d0154068e56..7ebc7fed179 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.109.0 +version: 0.110.0 dataframe: | Gets month from date. usage: | diff --git a/commands/docs/polars_get-nanosecond.md b/commands/docs/polars_get-nanosecond.md index 4a11efef0b8..b3b99a198e9 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.109.0 +version: 0.110.0 dataframe: | Gets nanosecond from date. usage: | diff --git a/commands/docs/polars_get-ordinal.md b/commands/docs/polars_get-ordinal.md index ce30005c621..4e1ba338b61 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.109.0 +version: 0.110.0 dataframe: | Gets ordinal from date. usage: | diff --git a/commands/docs/polars_get-second.md b/commands/docs/polars_get-second.md index 53ebe8b6ab7..e8405f6ace4 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.109.0 +version: 0.110.0 dataframe: | Gets second from date. usage: | diff --git a/commands/docs/polars_get-week.md b/commands/docs/polars_get-week.md index b69d2baf397..8ce1b48533c 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.109.0 +version: 0.110.0 dataframe: | Gets week from date. usage: | diff --git a/commands/docs/polars_get-weekday.md b/commands/docs/polars_get-weekday.md index fe3aa9f1639..72fd97739d9 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.109.0 +version: 0.110.0 dataframe: | Gets weekday from date. usage: | diff --git a/commands/docs/polars_get-year.md b/commands/docs/polars_get-year.md index b38bf837393..4500e4c75fd 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.109.0 +version: 0.110.0 dataframe: | Gets year from date. usage: | diff --git a/commands/docs/polars_get.md b/commands/docs/polars_get.md index 64dd84b822a..5bf7d8f5128 100644 --- a/commands/docs/polars_get.md +++ b/commands/docs/polars_get.md @@ -2,7 +2,7 @@ title: polars get categories: | dataframe -version: 0.109.0 +version: 0.110.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 728d4c425a5..38991886ad8 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.109.0 +version: 0.110.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 95a751eaa70..503da77426b 100644 --- a/commands/docs/polars_horizontal.md +++ b/commands/docs/polars_horizontal.md @@ -2,7 +2,7 @@ title: polars horizontal categories: | expression -version: 0.109.0 +version: 0.110.0 expression: | Horizontal calculation across multiple columns. usage: | diff --git a/commands/docs/polars_implode.md b/commands/docs/polars_implode.md index dfd98488410..510a256dce0 100644 --- a/commands/docs/polars_implode.md +++ b/commands/docs/polars_implode.md @@ -2,7 +2,7 @@ title: polars implode categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Aggregates values into a list. usage: | diff --git a/commands/docs/polars_integer.md b/commands/docs/polars_integer.md index 220a3f66590..fc948fa4931 100644 --- a/commands/docs/polars_integer.md +++ b/commands/docs/polars_integer.md @@ -2,7 +2,7 @@ title: polars integer categories: | dataframe -version: 0.109.0 +version: 0.110.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 0c6e731c571..658a2c66a03 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.109.0 +version: 0.110.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 8c7081b92aa..d4b4be920e8 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.109.0 +version: 0.110.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 9409640d75f..69f33e45049 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.109.0 +version: 0.110.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 43c2637f11d..ec9cf2737f8 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.109.0 +version: 0.110.0 dataframe: | Converts a dataframe or an expression into nushell value for access and exploration. usage: | @@ -38,6 +38,7 @@ contributors: false | polars_when | any | | polars_datatype | any | | polars_schema | any | +| polars_selector | any | ## Examples Shows head rows from dataframe diff --git a/commands/docs/polars_into-repr.md b/commands/docs/polars_into-repr.md index 5c9798aba19..00efd3a6cca 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.109.0 +version: 0.110.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 0288a22bcae..fda6c87a6ae 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.109.0 +version: 0.110.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 77a82854f52..8438c1b8ffb 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.109.0 +version: 0.110.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 15329f51ec5..b67ee63fe3f 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.109.0 +version: 0.110.0 expression: | Creates an is-in expression or checks to see if the elements are contained in the right series usage: | @@ -30,9 +30,10 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples -Creates a is-in expression +Creates a is-in expression using a list ```nu > let df = ([[a b]; [one 1] [two 2] [three 3]] | polars into-df); $df | polars with-column (polars col a | polars is-in [one two] | polars as a_in) @@ -45,3 +46,31 @@ Creates a is-in expression ╰───┴───────┴───┴───────╯ ``` + +Creates a is-in expression using a polars series +```nu +> let df = ([[a b]; [one 1] [two 2] [three 3]] | polars into-df); + $df | polars with-column (polars col a | polars is-in ([one two] | polars into-df) | polars as a_in) +╭───┬───────┬───┬───────╮ +│ # │ a │ b │ a_in │ +├───┼───────┼───┼───────┤ +│ 0 │ one │ 1 │ true │ +│ 1 │ two │ 2 │ true │ +│ 2 │ three │ 3 │ false │ +╰───┴───────┴───┴───────╯ + +``` + +Creates a is-in expression using a polars expr +```nu +> let df = ([[a b]; [one 1] [two 2] [three 3]] | polars into-df); + $df | polars with-column (polars col a | polars is-in (polars lit [one two] | polars implode) | polars as a_in) +╭───┬───────┬───┬───────╮ +│ # │ a │ b │ a_in │ +├───┼───────┼───┼───────┤ +│ 0 │ one │ 1 │ true │ +│ 1 │ two │ 2 │ true │ +│ 2 │ three │ 3 │ false │ +╰───┴───────┴───┴───────╯ + +``` diff --git a/commands/docs/polars_is-not-null.md b/commands/docs/polars_is-not-null.md index a40903eb205..b75b7e61c82 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.109.0 +version: 0.110.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 2bf591a6069..0e15a8c2eee 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.109.0 +version: 0.110.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 0def7b250d7..790b652ab46 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.109.0 +version: 0.110.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 530b09e9876..e7a3b7c52d5 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.109.0 +version: 0.110.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 7c2b40ec3a7..f4109f70cab 100644 --- a/commands/docs/polars_join.md +++ b/commands/docs/polars_join.md @@ -2,7 +2,7 @@ title: polars join categories: | lazyframe -version: 0.109.0 +version: 0.110.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 6736c2dc80d..c9dda198691 100644 --- a/commands/docs/polars_last.md +++ b/commands/docs/polars_last.md @@ -2,7 +2,7 @@ title: polars last categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Creates new dataframe with tail rows or creates a last expression. usage: | diff --git a/commands/docs/polars_len.md b/commands/docs/polars_len.md index b8efbdd4e7d..0e4cfcdab93 100644 --- a/commands/docs/polars_len.md +++ b/commands/docs/polars_len.md @@ -2,7 +2,7 @@ title: polars len categories: | dataframe -version: 0.109.0 +version: 0.110.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 4901a809f91..67adf375ad6 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.109.0 +version: 0.110.0 dataframe: | Checks if an element is contained in a list. usage: | @@ -30,6 +30,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Returns boolean indicating if a literal element was found in a list column diff --git a/commands/docs/polars_lit.md b/commands/docs/polars_lit.md index c3fd1b176f6..b17a7dac2b5 100644 --- a/commands/docs/polars_lit.md +++ b/commands/docs/polars_lit.md @@ -2,7 +2,7 @@ title: polars lit categories: | expression -version: 0.109.0 +version: 0.110.0 expression: | Creates a literal expression. usage: | diff --git a/commands/docs/polars_lowercase.md b/commands/docs/polars_lowercase.md index 2548da3407d..f77483183fd 100644 --- a/commands/docs/polars_lowercase.md +++ b/commands/docs/polars_lowercase.md @@ -2,7 +2,7 @@ title: polars lowercase categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Lowercase the strings in the column. usage: | diff --git a/commands/docs/polars_math.md b/commands/docs/polars_math.md index b4b9b2c133b..ddd9b4731cd 100644 --- a/commands/docs/polars_math.md +++ b/commands/docs/polars_math.md @@ -2,7 +2,7 @@ title: polars math categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Collection of math functions to be applied on one or more column expressions usage: | @@ -31,6 +31,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Apply function to column expression diff --git a/commands/docs/polars_max.md b/commands/docs/polars_max.md index 50b7df484cd..c979588e3ec 100644 --- a/commands/docs/polars_max.md +++ b/commands/docs/polars_max.md @@ -2,7 +2,7 @@ title: polars max categories: | dataframe -version: 0.109.0 +version: 0.110.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 b466c5e107a..a11360a4455 100644 --- a/commands/docs/polars_mean.md +++ b/commands/docs/polars_mean.md @@ -2,7 +2,7 @@ title: polars mean categories: | dataframe -version: 0.109.0 +version: 0.110.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 0a2e84d6381..2e639bbb582 100644 --- a/commands/docs/polars_median.md +++ b/commands/docs/polars_median.md @@ -2,7 +2,7 @@ title: polars median categories: | lazyframe -version: 0.109.0 +version: 0.110.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 4f33fd072f3..39cad964617 100644 --- a/commands/docs/polars_min.md +++ b/commands/docs/polars_min.md @@ -2,7 +2,7 @@ title: polars min categories: | dataframe -version: 0.109.0 +version: 0.110.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 a78b8558474..d9feb8b998a 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.109.0 +version: 0.110.0 dataframe: | Counts unique values. usage: | diff --git a/commands/docs/polars_not.md b/commands/docs/polars_not.md index 8e914499418..b2366613459 100644 --- a/commands/docs/polars_not.md +++ b/commands/docs/polars_not.md @@ -2,7 +2,7 @@ title: polars not categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Inverts boolean mask. usage: | diff --git a/commands/docs/polars_open.md b/commands/docs/polars_open.md index 009651a383b..d843815aeb5 100644 --- a/commands/docs/polars_open.md +++ b/commands/docs/polars_open.md @@ -2,7 +2,7 @@ title: polars open categories: | dataframe -version: 0.109.0 +version: 0.110.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 511652f677d..7d65781c18f 100644 --- a/commands/docs/polars_otherwise.md +++ b/commands/docs/polars_otherwise.md @@ -2,7 +2,7 @@ title: polars otherwise categories: | expression -version: 0.109.0 +version: 0.110.0 expression: | Completes a when expression. usage: | diff --git a/commands/docs/polars_over.md b/commands/docs/polars_over.md index caa540a4526..af9847c2a0e 100644 --- a/commands/docs/polars_over.md +++ b/commands/docs/polars_over.md @@ -2,7 +2,7 @@ title: polars over categories: | lazyframe -version: 0.109.0 +version: 0.110.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 249e2b8e597..d60255eba34 100644 --- a/commands/docs/polars_pivot.md +++ b/commands/docs/polars_pivot.md @@ -2,7 +2,7 @@ title: polars pivot categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Pivot a DataFrame from long to wide format. usage: | @@ -46,8 +46,8 @@ Perform a pivot in order to show individuals test score by subject ╭───┬───────┬──────────────┬───────┬─────────╮ │ # │ name │ date │ maths │ physics │ ├───┼───────┼──────────────┼───────┼─────────┤ -│ 0 │ Cady │ 7 months ago │ 98 │ 99 │ -│ 1 │ Karen │ 7 months ago │ 61 │ 58 │ +│ 0 │ Cady │ 9 months ago │ 98 │ 99 │ +│ 1 │ Karen │ 9 months ago │ 61 │ 58 │ ╰───┴───────┴──────────────┴───────┴─────────╯ ``` diff --git a/commands/docs/polars_profile.md b/commands/docs/polars_profile.md index 907c5cb52e3..62abd6cddd7 100644 --- a/commands/docs/polars_profile.md +++ b/commands/docs/polars_profile.md @@ -2,7 +2,7 @@ title: polars profile categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Profile a lazy dataframe. usage: | diff --git a/commands/docs/polars_qcut.md b/commands/docs/polars_qcut.md index fe1646f53bd..7444843b292 100644 --- a/commands/docs/polars_qcut.md +++ b/commands/docs/polars_qcut.md @@ -2,7 +2,7 @@ title: polars qcut categories: | dataframe -version: 0.109.0 +version: 0.110.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 731e3cd6509..96170fce1b6 100644 --- a/commands/docs/polars_quantile.md +++ b/commands/docs/polars_quantile.md @@ -2,7 +2,7 @@ title: polars quantile categories: | lazyframe -version: 0.109.0 +version: 0.110.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 5024d1c0e2b..2114efc29c0 100644 --- a/commands/docs/polars_query.md +++ b/commands/docs/polars_query.md @@ -2,7 +2,7 @@ title: polars query categories: | dataframe -version: 0.109.0 +version: 0.110.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 4b38d1b2aa7..e64f8111143 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.109.0 +version: 0.110.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 e266c61afd9..fd3fe901db6 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.109.0 +version: 0.110.0 dataframe: | Replace the timezone information in a datetime column. usage: | @@ -39,6 +39,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Apply timezone to a naive datetime @@ -49,8 +50,8 @@ Apply timezone to a naive datetime ╭───┬─────────────╮ │ # │ datetime │ ├───┼─────────────┤ -│ 0 │ 3 years ago │ -│ 1 │ 3 years ago │ +│ 0 │ 4 years ago │ +│ 1 │ 4 years ago │ ╰───┴─────────────╯ ``` @@ -61,14 +62,14 @@ Apply timezone with ambiguous datetime | polars into-df | polars as-datetime "%Y-%m-%d %H:%M:%S" --naive | polars select (polars col datetime | polars replace-time-zone "America/New_York" --ambiguous null) -╭───┬─────────────╮ -│ # │ datetime │ -├───┼─────────────┤ -│ 0 │ 3 weeks ago │ -│ 1 │ │ -│ 2 │ 3 weeks ago │ -│ 3 │ 3 weeks ago │ -╰───┴─────────────╯ +╭───┬──────────────╮ +│ # │ datetime │ +├───┼──────────────┤ +│ 0 │ 2 months ago │ +│ 1 │ │ +│ 2 │ 2 months ago │ +│ 3 │ 2 months ago │ +╰───┴──────────────╯ ``` @@ -78,13 +79,13 @@ Apply timezone with nonexistent datetime | polars into-df | polars as-datetime "%Y-%m-%d %H:%M:%S" --naive | polars select (polars col datetime | polars replace-time-zone "America/New_York" --nonexistent null) -╭───┬──────────────╮ -│ # │ datetime │ -├───┼──────────────┤ -│ 0 │ 8 months ago │ -│ 1 │ │ -│ 2 │ 8 months ago │ -│ 3 │ 8 months ago │ -╰───┴──────────────╯ +╭───┬───────────────╮ +│ # │ datetime │ +├───┼───────────────┤ +│ 0 │ 10 months ago │ +│ 1 │ │ +│ 2 │ 10 months ago │ +│ 3 │ 10 months ago │ +╰───┴───────────────╯ ``` diff --git a/commands/docs/polars_replace.md b/commands/docs/polars_replace.md index 89264539535..80286d1bcee 100644 --- a/commands/docs/polars_replace.md +++ b/commands/docs/polars_replace.md @@ -2,7 +2,7 @@ title: polars replace categories: | expression -version: 0.109.0 +version: 0.110.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 1a7ede0429c..38f5ccf2046 100644 --- a/commands/docs/polars_reverse.md +++ b/commands/docs/polars_reverse.md @@ -2,7 +2,7 @@ title: polars reverse categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Reverses the LazyFrame usage: | diff --git a/commands/docs/polars_rolling.md b/commands/docs/polars_rolling.md index eb6906ae3f8..ffb26f6b4b0 100644 --- a/commands/docs/polars_rolling.md +++ b/commands/docs/polars_rolling.md @@ -2,7 +2,7 @@ title: polars rolling categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Rolling calculation for a series. usage: | diff --git a/commands/docs/polars_sample.md b/commands/docs/polars_sample.md index da5bb78525b..c5890129bdc 100644 --- a/commands/docs/polars_sample.md +++ b/commands/docs/polars_sample.md @@ -2,7 +2,7 @@ title: polars sample categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Create sample dataframe. usage: | diff --git a/commands/docs/polars_save.md b/commands/docs/polars_save.md index 425d9ba25d0..f5b6944b3db 100644 --- a/commands/docs/polars_save.md +++ b/commands/docs/polars_save.md @@ -2,7 +2,7 @@ title: polars save categories: | lazyframe -version: 0.109.0 +version: 0.110.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 fb4afea4124..fd0e4f0310e 100644 --- a/commands/docs/polars_schema.md +++ b/commands/docs/polars_schema.md @@ -2,7 +2,7 @@ title: polars schema categories: | dataframe -version: 0.109.0 +version: 0.110.0 dataframe: | Show schema for a dataframe. usage: | diff --git a/commands/docs/polars_select.md b/commands/docs/polars_select.md index 09fa8a82748..d9c905d9400 100644 --- a/commands/docs/polars_select.md +++ b/commands/docs/polars_select.md @@ -2,7 +2,7 @@ title: polars select categories: | lazyframe -version: 0.109.0 +version: 0.110.0 lazyframe: | Selects columns from lazyframe. usage: | @@ -71,3 +71,40 @@ Select a column from a dataframe using a mix of expressions and record of expres ╰───┴───┴───┴────╯ ``` + +Select all columns from a dataframe using a selector +```nu +> [[a b]; [6 2] [4 2] [2 2]] | polars into-df | polars select (polars selector all) +╭───┬───┬───╮ +│ # │ a │ b │ +├───┼───┼───┤ +│ 0 │ 6 │ 2 │ +│ 1 │ 4 │ 2 │ +│ 2 │ 2 │ 2 │ +╰───┴───┴───╯ + +``` + +Select columns by name using a selector +```nu +> [[a b c]; [1 2 3] [4 5 6]] | polars into-df | polars select (polars selector by-name a c) +╭───┬───┬───╮ +│ # │ a │ c │ +├───┼───┼───┤ +│ 0 │ 1 │ 3 │ +│ 1 │ 4 │ 6 │ +╰───┴───┴───╯ + +``` + +Select the first column using a selector +```nu +> [[a b c]; [1 2 3] [4 5 6]] | polars into-df | polars select (polars selector first) +╭───┬───╮ +│ # │ a │ +├───┼───┤ +│ 0 │ 1 │ +│ 1 │ 4 │ +╰───┴───╯ + +``` diff --git a/commands/docs/polars_selector.md b/commands/docs/polars_selector.md new file mode 100644 index 00000000000..96c510929d6 --- /dev/null +++ b/commands/docs/polars_selector.md @@ -0,0 +1,35 @@ +--- +title: polars selector +categories: | + expression +version: 0.110.0 +expression: | + Create column selectors for use in polars commands. +usage: | + Create column selectors for use in polars commands. +editLink: false +contributors: false +--- + + +# `polars selector` for [expression](/commands/categories/expression.md) + +
Create column selectors for use in polars commands.
+ +## Signature + +```> polars selector {flags} ``` + + +## Input/output types: + +| input | output | +| ------- | ------ | +| nothing | string | +## Notes + +You must use one of the subcommands below. Using this command as-is will only produce this help message. + +Selectors are expressions that can be used to select columns in dataframes based on various criteria. +These selectors can be used with commands that accept column expressions, such as `polars select`, +`polars with-column`, and others. diff --git a/commands/docs/polars_selector_all.md b/commands/docs/polars_selector_all.md new file mode 100644 index 00000000000..5cbf22f48ea --- /dev/null +++ b/commands/docs/polars_selector_all.md @@ -0,0 +1,50 @@ +--- +title: polars selector all +categories: | + expression +version: 0.110.0 +expression: | + Creates a selector that selects all columns. +usage: | + Creates a selector that selects all columns. +editLink: false +contributors: false +--- + + +# `polars selector all` for [expression](/commands/categories/expression.md) + +
Creates a selector that selects all columns.
+ +## Signature + +```> polars selector all {flags} ``` + + +## Input/output types: + +| input | output | +| ----- | --------------- | +| any | polars_selector | +## Examples + +Create a selector for all columns +```nu +> polars selector all + +``` + +Multiply all columns by 2 using with-column +```nu +> [[a b]; [1 2] [3 4]] + | polars into-df + | polars with-column ((polars selector all) * 2) + | polars collect +╭───┬───┬───╮ +│ # │ a │ b │ +├───┼───┼───┤ +│ 0 │ 2 │ 4 │ +│ 1 │ 6 │ 8 │ +╰───┴───┴───╯ + +``` diff --git a/commands/docs/polars_selector_by-dtype.md b/commands/docs/polars_selector_by-dtype.md new file mode 100644 index 00000000000..76563e1f5b9 --- /dev/null +++ b/commands/docs/polars_selector_by-dtype.md @@ -0,0 +1,54 @@ +--- +title: polars selector by-dtype +categories: | + expression +version: 0.110.0 +expression: | + Creates a selector that selects columns by data type. +usage: | + Creates a selector that selects columns by data type. +editLink: false +contributors: false +--- + + +# `polars selector by-dtype` for [expression](/commands/categories/expression.md) + +
Creates a selector that selects columns by data type.
+ +## Signature + +```> polars selector by-dtype {flags} ...rest``` + +## Parameters + + - `...rest`: Data types to select (e.g., i64, f64, str, bool) + + +## Input/output types: + +| input | output | +| ----- | --------------- | +| any | polars_selector | +## Examples + +Create a selector for numeric columns +```nu +> polars selector by-dtype i64 f64 + +``` + +Double all integer columns using with-column +```nu +> [[a b c]; [1 2 "x"] [3 4 "y"]] + | polars into-df + | polars with-column ((polars selector by-dtype i64) * 2) + | polars collect +╭───┬───┬───┬───╮ +│ # │ a │ b │ c │ +├───┼───┼───┼───┤ +│ 0 │ 2 │ 4 │ x │ +│ 1 │ 6 │ 8 │ y │ +╰───┴───┴───┴───╯ + +``` diff --git a/commands/docs/polars_selector_by-name.md b/commands/docs/polars_selector_by-name.md new file mode 100644 index 00000000000..7ad5e06d6db --- /dev/null +++ b/commands/docs/polars_selector_by-name.md @@ -0,0 +1,54 @@ +--- +title: polars selector by-name +categories: | + expression +version: 0.110.0 +expression: | + Creates a selector that selects columns by name. +usage: | + Creates a selector that selects columns by name. +editLink: false +contributors: false +--- + + +# `polars selector by-name` for [expression](/commands/categories/expression.md) + +
Creates a selector that selects columns by name.
+ +## Signature + +```> polars selector by-name {flags} ...rest``` + +## Parameters + + - `...rest`: Names of columns to select + + +## Input/output types: + +| input | output | +| ----- | --------------- | +| any | polars_selector | +## Examples + +Create a selector for columns by name +```nu +> polars selector by-name foo bar + +``` + +Add 10 to specific columns using with-column +```nu +> [[a b c]; [1 2 3] [4 5 6]] + | polars into-df + | polars with-column ((polars selector by-name a c) + 10) + | polars collect +╭───┬────┬───┬────╮ +│ # │ a │ b │ c │ +├───┼────┼───┼────┤ +│ 0 │ 11 │ 2 │ 13 │ +│ 1 │ 14 │ 5 │ 16 │ +╰───┴────┴───┴────╯ + +``` diff --git a/commands/docs/polars_selector_first.md b/commands/docs/polars_selector_first.md new file mode 100644 index 00000000000..eabe51670c0 --- /dev/null +++ b/commands/docs/polars_selector_first.md @@ -0,0 +1,60 @@ +--- +title: polars selector first +categories: | + expression +version: 0.110.0 +expression: | + Creates a selector that selects the first column(s) by index. +usage: | + Creates a selector that selects the first column(s) by index. +editLink: false +contributors: false +--- + + +# `polars selector first` for [expression](/commands/categories/expression.md) + +
Creates a selector that selects the first column(s) by index.
+ +## Signature + +```> polars selector first {flags} (n)``` + +## Parameters + + - `n`: Number of columns to select from the beginning (default: 1) + + +## Input/output types: + +| input | output | +| ----- | --------------- | +| any | polars_selector | +## Examples + +Create a selector for the first column +```nu +> polars selector first + +``` + +Create a selector for the first 3 columns +```nu +> polars selector first 3 + +``` + +Create a new column from the first column using with-column +```nu +> [[a b c]; [1 2 3] [4 5 6]] + | polars into-df + | polars with-column ((polars selector first) * 10 | polars as a_times_10) + | polars collect +╭───┬───┬───┬───┬────────────╮ +│ # │ a │ b │ c │ a_times_10 │ +├───┼───┼───┼───┼────────────┤ +│ 0 │ 1 │ 2 │ 3 │ 10 │ +│ 1 │ 4 │ 5 │ 6 │ 40 │ +╰───┴───┴───┴───┴────────────╯ + +``` diff --git a/commands/docs/polars_selector_last.md b/commands/docs/polars_selector_last.md new file mode 100644 index 00000000000..22ea00e3547 --- /dev/null +++ b/commands/docs/polars_selector_last.md @@ -0,0 +1,60 @@ +--- +title: polars selector last +categories: | + expression +version: 0.110.0 +expression: | + Creates a selector that selects the last column(s) by index. +usage: | + Creates a selector that selects the last column(s) by index. +editLink: false +contributors: false +--- + + +# `polars selector last` for [expression](/commands/categories/expression.md) + +
Creates a selector that selects the last column(s) by index.
+ +## Signature + +```> polars selector last {flags} (n)``` + +## Parameters + + - `n`: Number of columns to select from the end (default: 1) + + +## Input/output types: + +| input | output | +| ----- | --------------- | +| any | polars_selector | +## Examples + +Create a selector for the last column +```nu +> polars selector last + +``` + +Create a selector for the last 3 columns +```nu +> polars selector last 3 + +``` + +Create a new column from the last column using with-column +```nu +> [[a b c]; [1 2 3] [4 5 6]] + | polars into-df + | polars with-column ((polars selector last) * 100 | polars as c_times_100) + | polars collect +╭───┬───┬───┬───┬─────────────╮ +│ # │ a │ b │ c │ c_times_100 │ +├───┼───┼───┼───┼─────────────┤ +│ 0 │ 1 │ 2 │ 3 │ 300 │ +│ 1 │ 4 │ 5 │ 6 │ 600 │ +╰───┴───┴───┴───┴─────────────╯ + +``` diff --git a/commands/docs/polars_set-with-idx.md b/commands/docs/polars_set-with-idx.md index c43e0329b79..322199e9704 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.109.0 +version: 0.110.0 dataframe: | Sets value in the given index. usage: | diff --git a/commands/docs/polars_set.md b/commands/docs/polars_set.md index a91cdbf6e13..74a8ff0012f 100644 --- a/commands/docs/polars_set.md +++ b/commands/docs/polars_set.md @@ -2,7 +2,7 @@ title: polars set categories: | dataframe -version: 0.109.0 +version: 0.110.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 3e8b04ac43f..0641db30cc8 100644 --- a/commands/docs/polars_shape.md +++ b/commands/docs/polars_shape.md @@ -2,7 +2,7 @@ title: polars shape categories: | dataframe -version: 0.109.0 +version: 0.110.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 9a17769630e..0d70329c9b0 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.109.0 +version: 0.110.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 29d9616d359..0605657a82d 100644 --- a/commands/docs/polars_slice.md +++ b/commands/docs/polars_slice.md @@ -2,7 +2,7 @@ title: polars slice categories: | dataframe -version: 0.109.0 +version: 0.110.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 691d8db54d7..56f69857476 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.109.0 +version: 0.110.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 ab085c5d3b1..cae18533359 100644 --- a/commands/docs/polars_std.md +++ b/commands/docs/polars_std.md @@ -2,7 +2,7 @@ title: polars std categories: | dataframe -version: 0.109.0 +version: 0.110.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 049db2ef110..5d5c29ce3f1 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.109.0 +version: 0.110.0 dataframe: | Gets a Dataframe or other object from the plugin cache. usage: | @@ -36,6 +36,7 @@ contributors: false | any | polars_when | | any | polars_datatype | | any | polars_schema | +| any | polars_selector | ## Examples Get a stored object diff --git a/commands/docs/polars_store-ls.md b/commands/docs/polars_store-ls.md index e8d6248a48b..a600c76d481 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.109.0 +version: 0.110.0 dataframe: | Lists stored polars objects. usage: | diff --git a/commands/docs/polars_store-rm.md b/commands/docs/polars_store-rm.md index 91d79f25a6f..4ced98aad07 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.109.0 +version: 0.110.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 586019975c0..9531a62c279 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.109.0 +version: 0.110.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 5d118c4a669..66eb5e0d7f2 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.109.0 +version: 0.110.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 075bc328856..434bb0abdb1 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.109.0 +version: 0.110.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 a4aa808facc..822c1ae650a 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.109.0 +version: 0.110.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 fd1dbdfa618..be6634fd26a 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.109.0 +version: 0.110.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 c0799da8c33..c00a1bdb01e 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.109.0 +version: 0.110.0 dataframe: | Split the string by a substring. The resulting dtype is list. usage: | @@ -30,6 +30,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Split the string by comma, then create a new row for each string diff --git a/commands/docs/polars_str-strip-chars.md b/commands/docs/polars_str-strip-chars.md index 6e641c9243c..1caff3a1ba8 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.109.0 +version: 0.110.0 dataframe: | Strips specified characters from strings in a column usage: | @@ -35,6 +35,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Strip characters from both ends of strings in a column diff --git a/commands/docs/polars_strftime.md b/commands/docs/polars_strftime.md index b055ca14831..bbaa10811d6 100644 --- a/commands/docs/polars_strftime.md +++ b/commands/docs/polars_strftime.md @@ -2,7 +2,7 @@ title: polars strftime categories: | dataframe -version: 0.109.0 +version: 0.110.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 7ea2c945228..2cb24e9aefa 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.109.0 +version: 0.110.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 6c16591de0d..8b67e151987 100644 --- a/commands/docs/polars_sum.md +++ b/commands/docs/polars_sum.md @@ -2,7 +2,7 @@ title: polars sum categories: | dataframe -version: 0.109.0 +version: 0.110.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 106161714a3..6f80de2972e 100644 --- a/commands/docs/polars_summary.md +++ b/commands/docs/polars_summary.md @@ -2,7 +2,7 @@ title: polars summary categories: | dataframe -version: 0.109.0 +version: 0.110.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 cb4034726d3..5b198934bd4 100644 --- a/commands/docs/polars_take.md +++ b/commands/docs/polars_take.md @@ -2,7 +2,7 @@ title: polars take categories: | dataframe -version: 0.109.0 +version: 0.110.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 0c5fa069879..361185daa23 100644 --- a/commands/docs/polars_truncate.md +++ b/commands/docs/polars_truncate.md @@ -2,7 +2,7 @@ title: polars truncate categories: | expression -version: 0.109.0 +version: 0.110.0 expression: | Divide the date/datetime range into buckets. usage: | @@ -30,6 +30,7 @@ contributors: false | input | output | | ----------------- | ----------------- | | polars_expression | polars_expression | +| polars_selector | polars_expression | ## Examples Truncate a series of dates by period length @@ -38,10 +39,10 @@ Truncate a series of dates by period length ╭───┬───────────────┬───────────────╮ │ # │ datetime │ truncated │ ├───┼───────────────┼───────────────┤ -│ 0 │ 10 months ago │ 10 months ago │ -│ 1 │ 9 months ago │ 9 months ago │ -│ 2 │ 8 months ago │ 8 months ago │ -│ 3 │ 6 months ago │ 6 months ago │ +│ 0 │ a year ago │ a year ago │ +│ 1 │ 11 months ago │ 11 months ago │ +│ 2 │ 9 months ago │ 10 months ago │ +│ 3 │ 8 months ago │ 8 months ago │ ╰───┴───────────────┴───────────────╯ ``` diff --git a/commands/docs/polars_unique.md b/commands/docs/polars_unique.md index d5abe142219..d4a63dcfb1c 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.109.0 +version: 0.110.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 36824247ddb..600a0f8858e 100644 --- a/commands/docs/polars_unnest.md +++ b/commands/docs/polars_unnest.md @@ -2,7 +2,7 @@ title: polars unnest categories: | dataframe -version: 0.109.0 +version: 0.110.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 e4d8f761865..67b6833c28a 100644 --- a/commands/docs/polars_unpivot.md +++ b/commands/docs/polars_unpivot.md @@ -2,7 +2,7 @@ title: polars unpivot categories: | dataframe -version: 0.109.0 +version: 0.110.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 7ba4a815ed6..4c9ed649275 100644 --- a/commands/docs/polars_uppercase.md +++ b/commands/docs/polars_uppercase.md @@ -2,7 +2,7 @@ title: polars uppercase categories: | dataframe -version: 0.109.0 +version: 0.110.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 523b03507be..8d62761b35b 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.109.0 +version: 0.110.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 a02d36e43cb..2351b0c4f37 100644 --- a/commands/docs/polars_var.md +++ b/commands/docs/polars_var.md @@ -2,7 +2,7 @@ title: polars var categories: | dataframe -version: 0.109.0 +version: 0.110.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 6ea384562dd..76e6110c7c2 100644 --- a/commands/docs/polars_when.md +++ b/commands/docs/polars_when.md @@ -2,7 +2,7 @@ title: polars when categories: | expression -version: 0.109.0 +version: 0.110.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 16405fdc639..bab9fd4f8af 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.109.0 +version: 0.110.0 dataframe_or_lazyframe: | Adds a series to the dataframe. usage: | @@ -104,3 +104,33 @@ Add series to a dataframe using a record ╰───┴───┴───┴───┴───╯ ``` + +Add columns using a selector to multiply all columns by 2 +```nu +> [[a b]; [1 2] [3 4]] + | polars into-df + | polars with-column ((polars selector all) * 2) + | polars collect +╭───┬───┬───╮ +│ # │ a │ b │ +├───┼───┼───┤ +│ 0 │ 2 │ 4 │ +│ 1 │ 6 │ 8 │ +╰───┴───┴───╯ + +``` + +Add a new column using a selector on the first column +```nu +> [[a b c]; [1 2 3] [4 5 6]] + | polars into-df + | polars with-column ((polars selector first) * 10 | polars as a_times_10) + | polars collect +╭───┬───┬───┬───┬────────────╮ +│ # │ a │ b │ c │ a_times_10 │ +├───┼───┼───┼───┼────────────┤ +│ 0 │ 1 │ 2 │ 3 │ 10 │ +│ 1 │ 4 │ 5 │ 6 │ 40 │ +╰───┴───┴───┴───┴────────────╯ + +``` diff --git a/commands/docs/port.md b/commands/docs/port.md index 94a5443f765..64dcffb5a2b 100644 --- a/commands/docs/port.md +++ b/commands/docs/port.md @@ -2,7 +2,7 @@ title: port categories: | network -version: 0.109.0 +version: 0.110.0 network: | Get a free TCP port from system. usage: | diff --git a/commands/docs/prepend.md b/commands/docs/prepend.md index 045b0c6e899..9685b310c44 100644 --- a/commands/docs/prepend.md +++ b/commands/docs/prepend.md @@ -2,7 +2,7 @@ title: prepend categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Prepend any number of rows to a table. usage: | diff --git a/commands/docs/print.md b/commands/docs/print.md index f1c6a7f5784..9c105b4ec2b 100644 --- a/commands/docs/print.md +++ b/commands/docs/print.md @@ -2,7 +2,7 @@ title: print categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Print the given values to stdout. usage: | diff --git a/commands/docs/ps.md b/commands/docs/ps.md index b2df8dcc02a..673b6987224 100644 --- a/commands/docs/ps.md +++ b/commands/docs/ps.md @@ -2,7 +2,7 @@ title: ps categories: | system -version: 0.109.0 +version: 0.110.0 system: | View information about system processes. usage: | diff --git a/commands/docs/pwd.md b/commands/docs/pwd.md index 1b82c0017aa..6f3316d5a11 100644 --- a/commands/docs/pwd.md +++ b/commands/docs/pwd.md @@ -2,7 +2,7 @@ title: pwd categories: | default -version: 0.109.0 +version: 0.110.0 default: | Return the current working directory usage: | diff --git a/commands/docs/query.md b/commands/docs/query.md index cf05b52ed1b..c5581c04f4a 100644 --- a/commands/docs/query.md +++ b/commands/docs/query.md @@ -2,7 +2,7 @@ title: query categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Show all the query commands usage: | diff --git a/commands/docs/query_db.md b/commands/docs/query_db.md index 4df9bf7ea11..57c6c735b10 100644 --- a/commands/docs/query_db.md +++ b/commands/docs/query_db.md @@ -2,7 +2,7 @@ title: query db categories: | database -version: 0.109.0 +version: 0.110.0 database: | Query a SQLite database with SQL statements. usage: | diff --git a/commands/docs/query_json.md b/commands/docs/query_json.md index 21a62ad7f6b..49c1bbd030c 100644 --- a/commands/docs/query_json.md +++ b/commands/docs/query_json.md @@ -2,7 +2,7 @@ title: query json categories: | filters -version: 0.109.0 +version: 0.110.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 da8c51f92d0..842b5ab1c11 100644 --- a/commands/docs/query_web.md +++ b/commands/docs/query_web.md @@ -2,7 +2,7 @@ title: query web categories: | network -version: 0.109.0 +version: 0.110.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 d110105012a..ced3ac2a527 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.109.0 +version: 0.110.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 466f724a003..83710f0cb1c 100644 --- a/commands/docs/query_xml.md +++ b/commands/docs/query_xml.md @@ -2,7 +2,7 @@ title: query xml categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Execute XPath 1.0 query on XML input usage: | diff --git a/commands/docs/random.md b/commands/docs/random.md index bc13cee7e89..8221ac22379 100644 --- a/commands/docs/random.md +++ b/commands/docs/random.md @@ -2,7 +2,7 @@ title: random categories: | random -version: 0.109.0 +version: 0.110.0 random: | Generate a random value. usage: | diff --git a/commands/docs/random_binary.md b/commands/docs/random_binary.md index 0c7927ecbc4..7b878bd1e01 100644 --- a/commands/docs/random_binary.md +++ b/commands/docs/random_binary.md @@ -2,7 +2,7 @@ title: random binary categories: | random -version: 0.109.0 +version: 0.110.0 random: | Generate random bytes. usage: | diff --git a/commands/docs/random_bool.md b/commands/docs/random_bool.md index 0a9956fedf0..377510bf903 100644 --- a/commands/docs/random_bool.md +++ b/commands/docs/random_bool.md @@ -2,7 +2,7 @@ title: random bool categories: | random -version: 0.109.0 +version: 0.110.0 random: | Generate a random boolean value. usage: | diff --git a/commands/docs/random_chars.md b/commands/docs/random_chars.md index b29c1c01817..8beca101295 100644 --- a/commands/docs/random_chars.md +++ b/commands/docs/random_chars.md @@ -2,7 +2,7 @@ title: random chars categories: | random -version: 0.109.0 +version: 0.110.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 0ea6e336d8c..ef7d24acfb9 100644 --- a/commands/docs/random_dice.md +++ b/commands/docs/random_dice.md @@ -2,7 +2,7 @@ title: random dice categories: | random -version: 0.109.0 +version: 0.110.0 random: | Generate a random dice roll. usage: | diff --git a/commands/docs/random_float.md b/commands/docs/random_float.md index 56eb92c302a..78b6de4bb6a 100644 --- a/commands/docs/random_float.md +++ b/commands/docs/random_float.md @@ -2,7 +2,7 @@ title: random float categories: | random -version: 0.109.0 +version: 0.110.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 152f9a1f920..eda0e1e2fac 100644 --- a/commands/docs/random_int.md +++ b/commands/docs/random_int.md @@ -2,7 +2,7 @@ title: random int categories: | random -version: 0.109.0 +version: 0.110.0 random: | Generate a random integer [min..max]. usage: | diff --git a/commands/docs/random_uuid.md b/commands/docs/random_uuid.md index c415dc9493b..1892a6fe59e 100644 --- a/commands/docs/random_uuid.md +++ b/commands/docs/random_uuid.md @@ -2,7 +2,7 @@ title: random uuid categories: | random -version: 0.109.0 +version: 0.110.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 e70d61e7ecb..318c0dfe9ae 100644 --- a/commands/docs/reduce.md +++ b/commands/docs/reduce.md @@ -2,7 +2,7 @@ title: reduce categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Aggregate a list (starting from the left) to a single value using an accumulator closure. usage: | diff --git a/commands/docs/reject.md b/commands/docs/reject.md index bb73a810680..0f1a508fc72 100644 --- a/commands/docs/reject.md +++ b/commands/docs/reject.md @@ -2,7 +2,7 @@ title: reject categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Remove the given columns or rows from the table. Opposite of `select`. usage: | diff --git a/commands/docs/rename.md b/commands/docs/rename.md index 3cde7a36cce..38258dbe192 100644 --- a/commands/docs/rename.md +++ b/commands/docs/rename.md @@ -2,7 +2,7 @@ title: rename categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Creates a new table with columns renamed. usage: | diff --git a/commands/docs/return.md b/commands/docs/return.md index 1d646e8d767..1699f0caa0e 100644 --- a/commands/docs/return.md +++ b/commands/docs/return.md @@ -2,7 +2,7 @@ title: return categories: | core -version: 0.109.0 +version: 0.110.0 core: | Return early from a custom command. usage: | diff --git a/commands/docs/reverse.md b/commands/docs/reverse.md index b83040ea66e..a9f370e2bf7 100644 --- a/commands/docs/reverse.md +++ b/commands/docs/reverse.md @@ -2,7 +2,7 @@ title: reverse categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Reverses the input list or table. usage: | diff --git a/commands/docs/rm.md b/commands/docs/rm.md index feabe8ddb0b..a1670d13447 100644 --- a/commands/docs/rm.md +++ b/commands/docs/rm.md @@ -2,7 +2,7 @@ title: rm categories: | filesystem -version: 0.109.0 +version: 0.110.0 filesystem: | Remove files and directories. usage: | diff --git a/commands/docs/roll.md b/commands/docs/roll.md index 48d2cc3eaaf..d512a18d7c3 100644 --- a/commands/docs/roll.md +++ b/commands/docs/roll.md @@ -2,7 +2,7 @@ title: roll categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Rolling commands for tables. usage: | diff --git a/commands/docs/roll_down.md b/commands/docs/roll_down.md index 3db26e238c5..99022680cc2 100644 --- a/commands/docs/roll_down.md +++ b/commands/docs/roll_down.md @@ -2,7 +2,7 @@ title: roll down categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Roll table rows down. usage: | diff --git a/commands/docs/roll_left.md b/commands/docs/roll_left.md index b65f24e0df6..cf2237252a6 100644 --- a/commands/docs/roll_left.md +++ b/commands/docs/roll_left.md @@ -2,7 +2,7 @@ title: roll left categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Roll record or table columns left. usage: | diff --git a/commands/docs/roll_right.md b/commands/docs/roll_right.md index da3452be602..d026a5ab2af 100644 --- a/commands/docs/roll_right.md +++ b/commands/docs/roll_right.md @@ -2,7 +2,7 @@ title: roll right categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Roll table columns right. usage: | diff --git a/commands/docs/roll_up.md b/commands/docs/roll_up.md index d6dbf3912a1..f849aa95bcf 100644 --- a/commands/docs/roll_up.md +++ b/commands/docs/roll_up.md @@ -2,7 +2,7 @@ title: roll up categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Roll table rows up. usage: | diff --git a/commands/docs/rotate.md b/commands/docs/rotate.md index 66ede99749f..75574e599e2 100644 --- a/commands/docs/rotate.md +++ b/commands/docs/rotate.md @@ -2,7 +2,7 @@ title: rotate categories: | filters -version: 0.109.0 +version: 0.110.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 1839f897f28..0f053876902 100644 --- a/commands/docs/run-external.md +++ b/commands/docs/run-external.md @@ -2,7 +2,7 @@ title: run-external categories: | system -version: 0.109.0 +version: 0.110.0 system: | Runs external command. usage: | diff --git a/commands/docs/save.md b/commands/docs/save.md index 130cd823278..dc51903f201 100644 --- a/commands/docs/save.md +++ b/commands/docs/save.md @@ -2,7 +2,7 @@ title: save categories: | filesystem -version: 0.109.0 +version: 0.110.0 filesystem: | Save a file. usage: | diff --git a/commands/docs/schema.md b/commands/docs/schema.md index 3c283641423..9f34380e394 100644 --- a/commands/docs/schema.md +++ b/commands/docs/schema.md @@ -2,7 +2,7 @@ title: schema categories: | database -version: 0.109.0 +version: 0.110.0 database: | Show the schema of a SQLite database. usage: | diff --git a/commands/docs/scope.md b/commands/docs/scope.md index 1db69a3476a..828a7d6fd30 100644 --- a/commands/docs/scope.md +++ b/commands/docs/scope.md @@ -2,7 +2,7 @@ title: scope categories: | core -version: 0.109.0 +version: 0.110.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 b8ce2237215..28d825a71a1 100644 --- a/commands/docs/scope_aliases.md +++ b/commands/docs/scope_aliases.md @@ -2,7 +2,7 @@ title: scope aliases categories: | core -version: 0.109.0 +version: 0.110.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 1771c2786c3..f6e3419157c 100644 --- a/commands/docs/scope_commands.md +++ b/commands/docs/scope_commands.md @@ -2,7 +2,7 @@ title: scope commands categories: | core -version: 0.109.0 +version: 0.110.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 ad997b01f3e..3d72b426d6e 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.109.0 +version: 0.110.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 8087383a0fd..d15096ec1b0 100644 --- a/commands/docs/scope_externs.md +++ b/commands/docs/scope_externs.md @@ -2,7 +2,7 @@ title: scope externs categories: | core -version: 0.109.0 +version: 0.110.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 4941f0dd4c7..5537a49e033 100644 --- a/commands/docs/scope_modules.md +++ b/commands/docs/scope_modules.md @@ -2,7 +2,7 @@ title: scope modules categories: | core -version: 0.109.0 +version: 0.110.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 d9d0d2fefe3..e384378ff81 100644 --- a/commands/docs/scope_variables.md +++ b/commands/docs/scope_variables.md @@ -2,7 +2,7 @@ title: scope variables categories: | core -version: 0.109.0 +version: 0.110.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 5430d2527a4..1c74093c197 100644 --- a/commands/docs/select.md +++ b/commands/docs/select.md @@ -2,7 +2,7 @@ title: select categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Select only these columns or rows from the input. Opposite of `reject`. usage: | diff --git a/commands/docs/seq.md b/commands/docs/seq.md index f21dc328b33..428e3f67faa 100644 --- a/commands/docs/seq.md +++ b/commands/docs/seq.md @@ -2,7 +2,7 @@ title: seq categories: | generators -version: 0.109.0 +version: 0.110.0 generators: | Output sequences of numbers. usage: | diff --git a/commands/docs/seq_char.md b/commands/docs/seq_char.md index 39f7941ef02..422da434482 100644 --- a/commands/docs/seq_char.md +++ b/commands/docs/seq_char.md @@ -2,7 +2,7 @@ title: seq char categories: | generators -version: 0.109.0 +version: 0.110.0 generators: | Print a sequence of ASCII characters. usage: | diff --git a/commands/docs/seq_date.md b/commands/docs/seq_date.md index 3423f745bed..f76a6bbab85 100644 --- a/commands/docs/seq_date.md +++ b/commands/docs/seq_date.md @@ -2,7 +2,7 @@ title: seq date categories: | generators -version: 0.109.0 +version: 0.110.0 generators: | Print sequences of dates. usage: | diff --git a/commands/docs/shuffle.md b/commands/docs/shuffle.md index 1793e1218fe..8d66a0d6b2e 100644 --- a/commands/docs/shuffle.md +++ b/commands/docs/shuffle.md @@ -2,7 +2,7 @@ title: shuffle categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Shuffle rows randomly. usage: | diff --git a/commands/docs/skip.md b/commands/docs/skip.md index e9ce170a186..bd3e1145cbb 100644 --- a/commands/docs/skip.md +++ b/commands/docs/skip.md @@ -2,7 +2,7 @@ title: skip categories: | filters -version: 0.109.0 +version: 0.110.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 71272590857..4e3fc2b0434 100644 --- a/commands/docs/skip_until.md +++ b/commands/docs/skip_until.md @@ -2,7 +2,7 @@ title: skip until categories: | filters -version: 0.109.0 +version: 0.110.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 587d049359b..ee35c2f39eb 100644 --- a/commands/docs/skip_while.md +++ b/commands/docs/skip_while.md @@ -2,7 +2,7 @@ title: skip while categories: | filters -version: 0.109.0 +version: 0.110.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 563c075e8d1..861d04682de 100644 --- a/commands/docs/sleep.md +++ b/commands/docs/sleep.md @@ -2,7 +2,7 @@ title: sleep categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Delay for a specified amount of time. usage: | diff --git a/commands/docs/slice.md b/commands/docs/slice.md index 60c043f2c60..e6b0d1b060c 100644 --- a/commands/docs/slice.md +++ b/commands/docs/slice.md @@ -2,7 +2,7 @@ title: slice categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Return only the selected rows. usage: | diff --git a/commands/docs/sort-by.md b/commands/docs/sort-by.md index 40c97250e7a..a14a8e59b2a 100644 --- a/commands/docs/sort-by.md +++ b/commands/docs/sort-by.md @@ -2,7 +2,7 @@ title: sort-by categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Sort by the given cell path or closure. usage: | diff --git a/commands/docs/sort.md b/commands/docs/sort.md index cccd0b91f1a..760e1fe9c1f 100644 --- a/commands/docs/sort.md +++ b/commands/docs/sort.md @@ -2,7 +2,7 @@ title: sort categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Sort in increasing order. usage: | diff --git a/commands/docs/source-env.md b/commands/docs/source-env.md index dccb0eb8ad3..b5fd0d72371 100644 --- a/commands/docs/source-env.md +++ b/commands/docs/source-env.md @@ -2,7 +2,7 @@ title: source-env categories: | core -version: 0.109.0 +version: 0.110.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 0597c68e63b..23969e6043e 100644 --- a/commands/docs/source.md +++ b/commands/docs/source.md @@ -2,7 +2,7 @@ title: source categories: | core -version: 0.109.0 +version: 0.110.0 core: | Runs a script file in the current context. usage: | diff --git a/commands/docs/split.md b/commands/docs/split.md index b8ad9826642..b45a7fa554a 100644 --- a/commands/docs/split.md +++ b/commands/docs/split.md @@ -2,7 +2,7 @@ title: split categories: | strings -version: 0.109.0 +version: 0.110.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 3f66ad544ab..cb559f42663 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.109.0 +version: 0.110.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 40fa6e40f58..3b938e04a1b 100644 --- a/commands/docs/split_chars.md +++ b/commands/docs/split_chars.md @@ -2,7 +2,7 @@ title: split chars categories: | strings -version: 0.109.0 +version: 0.110.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 338dd6fde70..500e0a25256 100644 --- a/commands/docs/split_column.md +++ b/commands/docs/split_column.md @@ -2,7 +2,7 @@ title: split column categories: | strings -version: 0.109.0 +version: 0.110.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 e88d5ce0a66..69458687092 100644 --- a/commands/docs/split_list.md +++ b/commands/docs/split_list.md @@ -2,7 +2,7 @@ title: split list categories: | filters -version: 0.109.0 +version: 0.110.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 e10a82d9d4f..b16380edbb4 100644 --- a/commands/docs/split_row.md +++ b/commands/docs/split_row.md @@ -2,7 +2,7 @@ title: split row categories: | strings -version: 0.109.0 +version: 0.110.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 75c7914085d..27eccf55208 100644 --- a/commands/docs/split_words.md +++ b/commands/docs/split_words.md @@ -2,7 +2,7 @@ title: split words categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Split a string's words into separate rows. usage: | diff --git a/commands/docs/start.md b/commands/docs/start.md index 8876dc1f087..63a0ffe45d0 100644 --- a/commands/docs/start.md +++ b/commands/docs/start.md @@ -2,7 +2,7 @@ title: start categories: | filesystem -version: 0.109.0 +version: 0.110.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 a63b611e5df..424f5ec4655 100644 --- a/commands/docs/stor.md +++ b/commands/docs/stor.md @@ -2,7 +2,7 @@ title: stor categories: | database -version: 0.109.0 +version: 0.110.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 1374ea25022..c07b5325b51 100644 --- a/commands/docs/stor_create.md +++ b/commands/docs/stor_create.md @@ -2,7 +2,7 @@ title: stor create categories: | database -version: 0.109.0 +version: 0.110.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 81170f6f885..5cf261093d3 100644 --- a/commands/docs/stor_delete.md +++ b/commands/docs/stor_delete.md @@ -2,7 +2,7 @@ title: stor delete categories: | database -version: 0.109.0 +version: 0.110.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 1570a9b30dc..5b9fc8dce0b 100644 --- a/commands/docs/stor_export.md +++ b/commands/docs/stor_export.md @@ -2,7 +2,7 @@ title: stor export categories: | database -version: 0.109.0 +version: 0.110.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 4d735d900d1..1d702b390a1 100644 --- a/commands/docs/stor_import.md +++ b/commands/docs/stor_import.md @@ -2,7 +2,7 @@ title: stor import categories: | database -version: 0.109.0 +version: 0.110.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 341ba99bc1e..dd67e96c319 100644 --- a/commands/docs/stor_insert.md +++ b/commands/docs/stor_insert.md @@ -2,7 +2,7 @@ title: stor insert categories: | database -version: 0.109.0 +version: 0.110.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 ecc96189626..3a2c134397f 100644 --- a/commands/docs/stor_open.md +++ b/commands/docs/stor_open.md @@ -2,7 +2,7 @@ title: stor open categories: | database -version: 0.109.0 +version: 0.110.0 database: | Opens the in-memory sqlite database. usage: | diff --git a/commands/docs/stor_reset.md b/commands/docs/stor_reset.md index c23f752258c..7ae5ad05695 100644 --- a/commands/docs/stor_reset.md +++ b/commands/docs/stor_reset.md @@ -2,7 +2,7 @@ title: stor reset categories: | database -version: 0.109.0 +version: 0.110.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 35ea882b78f..908c8463de9 100644 --- a/commands/docs/stor_update.md +++ b/commands/docs/stor_update.md @@ -2,7 +2,7 @@ title: stor update categories: | database -version: 0.109.0 +version: 0.110.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 5ce9200c1be..a408cf5f23d 100644 --- a/commands/docs/str.md +++ b/commands/docs/str.md @@ -2,7 +2,7 @@ title: str categories: | strings -version: 0.109.0 +version: 0.110.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 c206818e954..76a5cd8cc56 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.109.0 +version: 0.110.0 strings: | Convert a string to camelCase. usage: | diff --git a/commands/docs/str_capitalize.md b/commands/docs/str_capitalize.md index 8fd7e4d0f63..9079dffbc0a 100644 --- a/commands/docs/str_capitalize.md +++ b/commands/docs/str_capitalize.md @@ -2,7 +2,7 @@ title: str capitalize categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Capitalize first letter of text. usage: | diff --git a/commands/docs/str_contains.md b/commands/docs/str_contains.md index d44502f4b5b..d5c9ef9cf84 100644 --- a/commands/docs/str_contains.md +++ b/commands/docs/str_contains.md @@ -2,7 +2,7 @@ title: str contains categories: | strings -version: 0.109.0 +version: 0.110.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 d832c1f2c34..2fafbd8f9ba 100644 --- a/commands/docs/str_distance.md +++ b/commands/docs/str_distance.md @@ -2,7 +2,7 @@ title: str distance categories: | strings -version: 0.109.0 +version: 0.110.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 849e13d8d6f..423f46641ca 100644 --- a/commands/docs/str_downcase.md +++ b/commands/docs/str_downcase.md @@ -2,7 +2,7 @@ title: str downcase categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Make text lowercase. usage: | diff --git a/commands/docs/str_ends-with.md b/commands/docs/str_ends-with.md index cd65d7d2591..28305368d9e 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.109.0 +version: 0.110.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 501f911118b..e0bacd6c0bc 100644 --- a/commands/docs/str_expand.md +++ b/commands/docs/str_expand.md @@ -2,7 +2,7 @@ title: str expand categories: | strings -version: 0.109.0 +version: 0.110.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 3049a807cf3..c02b1d530b7 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.109.0 +version: 0.110.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 e496b2b14b4..9d7cc284e51 100644 --- a/commands/docs/str_join.md +++ b/commands/docs/str_join.md @@ -2,7 +2,7 @@ title: str join categories: | strings -version: 0.109.0 +version: 0.110.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 be64a527bc8..31bf249a0b7 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.109.0 +version: 0.110.0 strings: | Convert a string to kebab-case. usage: | diff --git a/commands/docs/str_length.md b/commands/docs/str_length.md index dde301a8f61..f891b15c80e 100644 --- a/commands/docs/str_length.md +++ b/commands/docs/str_length.md @@ -2,7 +2,7 @@ title: str length categories: | strings -version: 0.109.0 +version: 0.110.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 432b59305d0..c3447f0bed8 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.109.0 +version: 0.110.0 strings: | Convert a string to PascalCase. usage: | diff --git a/commands/docs/str_replace.md b/commands/docs/str_replace.md index 99d6f149edd..bba3312f99d 100644 --- a/commands/docs/str_replace.md +++ b/commands/docs/str_replace.md @@ -2,7 +2,7 @@ title: str replace categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Find and replace text. usage: | diff --git a/commands/docs/str_reverse.md b/commands/docs/str_reverse.md index b6e16039aab..1ca736d97f9 100644 --- a/commands/docs/str_reverse.md +++ b/commands/docs/str_reverse.md @@ -2,7 +2,7 @@ title: str reverse categories: | strings -version: 0.109.0 +version: 0.110.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 665b0c622ba..3701888dc8c 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.109.0 +version: 0.110.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 4778ced4ccc..ed57fc16753 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.109.0 +version: 0.110.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 f843f1b3b06..86d0beac075 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.109.0 +version: 0.110.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 a4e90a48d87..0e1e1cc9f4f 100644 --- a/commands/docs/str_stats.md +++ b/commands/docs/str_stats.md @@ -2,7 +2,7 @@ title: str stats categories: | strings -version: 0.109.0 +version: 0.110.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 71682358cda..510fac5dec5 100644 --- a/commands/docs/str_substring.md +++ b/commands/docs/str_substring.md @@ -2,7 +2,7 @@ title: str substring categories: | strings -version: 0.109.0 +version: 0.110.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 b030d078821..155eee23dfa 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.109.0 +version: 0.110.0 strings: | Convert a string to Title Case. usage: | diff --git a/commands/docs/str_trim.md b/commands/docs/str_trim.md index 86b8b1e39ed..9f15f6e7ab0 100644 --- a/commands/docs/str_trim.md +++ b/commands/docs/str_trim.md @@ -2,7 +2,7 @@ title: str trim categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Trim whitespace or specific character. usage: | diff --git a/commands/docs/str_upcase.md b/commands/docs/str_upcase.md index 1b30c423c42..7f36000fcb8 100644 --- a/commands/docs/str_upcase.md +++ b/commands/docs/str_upcase.md @@ -2,7 +2,7 @@ title: str upcase categories: | strings -version: 0.109.0 +version: 0.110.0 strings: | Make text uppercase. usage: | diff --git a/commands/docs/sys.md b/commands/docs/sys.md index 50ba637b000..300ec701e96 100644 --- a/commands/docs/sys.md +++ b/commands/docs/sys.md @@ -2,7 +2,7 @@ title: sys categories: | system -version: 0.109.0 +version: 0.110.0 system: | View information about the system. usage: | diff --git a/commands/docs/sys_cpu.md b/commands/docs/sys_cpu.md index 960eef9e00d..33182dd713a 100644 --- a/commands/docs/sys_cpu.md +++ b/commands/docs/sys_cpu.md @@ -2,7 +2,7 @@ title: sys cpu categories: | system -version: 0.109.0 +version: 0.110.0 system: | View information about the system CPUs. usage: | diff --git a/commands/docs/sys_disks.md b/commands/docs/sys_disks.md index a1edee4629f..911f3780b8b 100644 --- a/commands/docs/sys_disks.md +++ b/commands/docs/sys_disks.md @@ -2,7 +2,7 @@ title: sys disks categories: | system -version: 0.109.0 +version: 0.110.0 system: | View information about the system disks. usage: | diff --git a/commands/docs/sys_host.md b/commands/docs/sys_host.md index 55a3542a785..4e2e98bcc52 100644 --- a/commands/docs/sys_host.md +++ b/commands/docs/sys_host.md @@ -2,7 +2,7 @@ title: sys host categories: | system -version: 0.109.0 +version: 0.110.0 system: | View information about the system host. usage: | diff --git a/commands/docs/sys_mem.md b/commands/docs/sys_mem.md index 7537880ac30..13975c149b9 100644 --- a/commands/docs/sys_mem.md +++ b/commands/docs/sys_mem.md @@ -2,7 +2,7 @@ title: sys mem categories: | system -version: 0.109.0 +version: 0.110.0 system: | View information about the system memory. usage: | diff --git a/commands/docs/sys_net.md b/commands/docs/sys_net.md index e0295e06631..db5ec98456d 100644 --- a/commands/docs/sys_net.md +++ b/commands/docs/sys_net.md @@ -2,7 +2,7 @@ title: sys net categories: | system -version: 0.109.0 +version: 0.110.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 c74b5c33295..4fa9568b1f6 100644 --- a/commands/docs/sys_temp.md +++ b/commands/docs/sys_temp.md @@ -2,7 +2,7 @@ title: sys temp categories: | system -version: 0.109.0 +version: 0.110.0 system: | View the temperatures of system components. usage: | diff --git a/commands/docs/sys_users.md b/commands/docs/sys_users.md index a9a26b11652..3645575a1a4 100644 --- a/commands/docs/sys_users.md +++ b/commands/docs/sys_users.md @@ -2,7 +2,7 @@ title: sys users categories: | system -version: 0.109.0 +version: 0.110.0 system: | View information about the users on the system. usage: | diff --git a/commands/docs/table.md b/commands/docs/table.md index 9b3600a0ea1..45e5d4616a6 100644 --- a/commands/docs/table.md +++ b/commands/docs/table.md @@ -2,7 +2,7 @@ title: table categories: | viewers -version: 0.109.0 +version: 0.110.0 viewers: | Render the table. usage: | @@ -33,6 +33,7 @@ contributors: false Be aware collapse mode currently doesn't support width control - `--abbreviated, -a {int}`: abbreviate the data in the table by truncating the middle part and only showing amount provided on top and bottom - `--list, -l`: list available table modes/themes + - `--icons, -o`: adds icons to ls tables ## Input/output types: diff --git a/commands/docs/take.md b/commands/docs/take.md index d6979cd9050..70a7562302a 100644 --- a/commands/docs/take.md +++ b/commands/docs/take.md @@ -2,7 +2,7 @@ title: take categories: | filters -version: 0.109.0 +version: 0.110.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 260d156a788..6de6ef7840c 100644 --- a/commands/docs/take_until.md +++ b/commands/docs/take_until.md @@ -2,7 +2,7 @@ title: take until categories: | filters -version: 0.109.0 +version: 0.110.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 b1e4c0f66ff..6f697ebda58 100644 --- a/commands/docs/take_while.md +++ b/commands/docs/take_while.md @@ -2,7 +2,7 @@ title: take while categories: | filters -version: 0.109.0 +version: 0.110.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 673e6049179..3032668c465 100644 --- a/commands/docs/tee.md +++ b/commands/docs/tee.md @@ -2,7 +2,7 @@ title: tee categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Copy a stream to another command in parallel. usage: | diff --git a/commands/docs/term.md b/commands/docs/term.md index c0a118596a7..d9c8fe053b3 100644 --- a/commands/docs/term.md +++ b/commands/docs/term.md @@ -2,7 +2,7 @@ title: term categories: | platform -version: 0.109.0 +version: 0.110.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 10afd172507..007f9afbafa 100644 --- a/commands/docs/term_query.md +++ b/commands/docs/term_query.md @@ -2,7 +2,7 @@ title: term query categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Query the terminal for information. usage: | diff --git a/commands/docs/term_size.md b/commands/docs/term_size.md index a13fa01e976..11e28f10adf 100644 --- a/commands/docs/term_size.md +++ b/commands/docs/term_size.md @@ -2,7 +2,7 @@ title: term size categories: | platform -version: 0.109.0 +version: 0.110.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 84625db4108..d5185a08e39 100644 --- a/commands/docs/timeit.md +++ b/commands/docs/timeit.md @@ -2,7 +2,7 @@ title: timeit categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Time how long it takes a closure to run. usage: | @@ -20,6 +20,10 @@ contributors: false ```> timeit {flags} (command)``` +## Flags + + - `--output, -o`: Include the closure output. + ## Parameters - `command`: The closure to run. @@ -27,16 +31,18 @@ contributors: false ## Input/output types: -| input | output | -| ------- | -------- | -| any | duration | -| nothing | duration | +| input | output | +| ------- | ----------------------------------- | +| any | duration | +| nothing | duration | +| any | record<time: duration, output: any> | +| nothing | record<time: duration, output: any> | ## Examples Time a closure containing one command ```nu > timeit { sleep 500ms } - +500ms 631µs 800ns ``` Time a closure with an input value @@ -57,7 +63,16 @@ Time a closure containing a pipeline ``` +Time a closure and also return the output +```nu +> timeit --output { 'example text' } +╭────────┬──────────────╮ +│ time │ 14µs 328ns │ +│ output │ example text │ +╰────────┴──────────────╯ +``` + ## Notes Any pipeline input given to this command is passed to the closure. Note that streaming inputs may affect timing results, and it is recommended to add a `collect` command before this if the input is a stream. -This command will bubble up any errors encountered when running the closure. The return pipeline of the closure is collected into a value and then discarded. \ No newline at end of file +This command will bubble up any errors encountered when running the closure. The return pipeline of the closure is collected into a value and then discarded if `--output` is not set. \ No newline at end of file diff --git a/commands/docs/to.md b/commands/docs/to.md index e43bcc3f0e7..6638e0fdf86 100644 --- a/commands/docs/to.md +++ b/commands/docs/to.md @@ -2,7 +2,7 @@ title: to categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Translate structured data to a format. usage: | diff --git a/commands/docs/to_csv.md b/commands/docs/to_csv.md index 67cc5b5191e..6ec13e7399d 100644 --- a/commands/docs/to_csv.md +++ b/commands/docs/to_csv.md @@ -2,7 +2,7 @@ title: to csv categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert table into .csv text . usage: | diff --git a/commands/docs/to_html.md b/commands/docs/to_html.md index 6325df6540d..a671ad0f66b 100644 --- a/commands/docs/to_html.md +++ b/commands/docs/to_html.md @@ -2,7 +2,7 @@ title: to html categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert table into simple HTML. usage: | diff --git a/commands/docs/to_json.md b/commands/docs/to_json.md index b67d97eba09..6fc2e552baf 100644 --- a/commands/docs/to_json.md +++ b/commands/docs/to_json.md @@ -2,7 +2,7 @@ title: to json categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Converts table data into JSON text. usage: | diff --git a/commands/docs/to_md.md b/commands/docs/to_md.md index 688206343c6..3b803987248 100644 --- a/commands/docs/to_md.md +++ b/commands/docs/to_md.md @@ -2,7 +2,7 @@ title: to md categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert table into simple Markdown. usage: | @@ -28,6 +28,7 @@ contributors: false - `--escape-md, -m`: Escapes Markdown special characters - `--escape-html, -t`: Escapes HTML special characters - `--escape-all, -a`: Escapes both Markdown and HTML special characters + - `--list, -l {string}`: Format lists as 'ordered' (1. 2. 3.), 'unordered' (* * *), or 'none'. Default: unordered ## Input/output types: @@ -62,12 +63,12 @@ Treat each row as a markdown element | 1 | 2 | ``` -Render a list +Render a list (unordered by default) ```nu -> [0 1 2] | to md --pretty -0 -1 -2 +> [0 1 2] | to md +* 0 +* 1 +* 2 ``` Separate list into markdown tables @@ -108,3 +109,19 @@ Escape html special characters | --- | --- | | p | <p>Welcome to nushell</p> | ``` + +Render a list as an ordered markdown list +```nu +> [one two three] | to md --list ordered +1. one +2. two +3. three +``` + +Render a list without markers +```nu +> [one two three] | to md --list none +one +two +three +``` diff --git a/commands/docs/to_msgpack.md b/commands/docs/to_msgpack.md index 73d4d6201a0..bfb4d12b82a 100644 --- a/commands/docs/to_msgpack.md +++ b/commands/docs/to_msgpack.md @@ -2,7 +2,7 @@ title: to msgpack categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert Nu values into MessagePack. usage: | diff --git a/commands/docs/to_msgpackz.md b/commands/docs/to_msgpackz.md index 7ec7c2d0388..34968688e05 100644 --- a/commands/docs/to_msgpackz.md +++ b/commands/docs/to_msgpackz.md @@ -2,7 +2,7 @@ title: to msgpackz categories: | formats -version: 0.109.0 +version: 0.110.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 d7100c8300f..2ddbf71bccd 100644 --- a/commands/docs/to_nuon.md +++ b/commands/docs/to_nuon.md @@ -2,7 +2,7 @@ title: to nuon categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Converts table data into Nuon (Nushell Object Notation) text. usage: | @@ -26,6 +26,7 @@ contributors: false - `--indent, -i {number}`: specify indentation width - `--tabs, -t {number}`: specify indentation tab quantity - `--serialize, -s`: serialize nushell types that cannot be deserialized + - `--raw-strings`: use raw string syntax (r#'...'#) for strings with quotes or backslashes ## Input/output types: @@ -78,3 +79,9 @@ A more complex record with --raw > {date: 2000-01-01, data: [1 [2 3] 4.56]} | to nuon --raw {date:2000-01-01T00:00:00+00:00,data:[1,[2,3],4.56]} ``` + +Use raw string syntax for strings with quotes or backslashes +```nu +> 'hello "world"' | to nuon --raw-strings +r#'hello "world"'# +``` diff --git a/commands/docs/to_plist.md b/commands/docs/to_plist.md index b6f06f881d6..8830c7b7c1f 100644 --- a/commands/docs/to_plist.md +++ b/commands/docs/to_plist.md @@ -2,7 +2,7 @@ title: to plist categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert Nu values into plist usage: | diff --git a/commands/docs/to_text.md b/commands/docs/to_text.md index 0beb385b0c3..8d5c479fae4 100644 --- a/commands/docs/to_text.md +++ b/commands/docs/to_text.md @@ -2,7 +2,7 @@ title: to text categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Converts data into simple text. usage: | diff --git a/commands/docs/to_toml.md b/commands/docs/to_toml.md index dd9ab6062ff..0cec2e1c7a8 100644 --- a/commands/docs/to_toml.md +++ b/commands/docs/to_toml.md @@ -2,7 +2,7 @@ title: to toml categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert record into .toml text. usage: | diff --git a/commands/docs/to_tsv.md b/commands/docs/to_tsv.md index ac2fabb5a67..78ce7657f99 100644 --- a/commands/docs/to_tsv.md +++ b/commands/docs/to_tsv.md @@ -2,7 +2,7 @@ title: to tsv categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert table into .tsv text. usage: | diff --git a/commands/docs/to_xml.md b/commands/docs/to_xml.md index 66fec947d80..6779b26019e 100644 --- a/commands/docs/to_xml.md +++ b/commands/docs/to_xml.md @@ -2,7 +2,7 @@ title: to xml categories: | formats -version: 0.109.0 +version: 0.110.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 7acf1abd009..0d54e770a5f 100644 --- a/commands/docs/to_yaml.md +++ b/commands/docs/to_yaml.md @@ -2,7 +2,7 @@ title: to yaml categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert table into .yaml/.yml text. usage: | diff --git a/commands/docs/to_yml.md b/commands/docs/to_yml.md index abab3c41bb4..706899a1be9 100644 --- a/commands/docs/to_yml.md +++ b/commands/docs/to_yml.md @@ -2,7 +2,7 @@ title: to yml categories: | formats -version: 0.109.0 +version: 0.110.0 formats: | Convert table into .yaml/.yml text. usage: | diff --git a/commands/docs/touch.md b/commands/docs/touch.md index 96d461ed901..9574b05159a 100644 --- a/commands/docs/touch.md +++ b/commands/docs/touch.md @@ -2,7 +2,7 @@ title: touch categories: | filesystem -version: 0.109.0 +version: 0.110.0 filesystem: | Creates one or more files. usage: | diff --git a/commands/docs/transpose.md b/commands/docs/transpose.md index 5a27d442dff..f24b1be66c9 100644 --- a/commands/docs/transpose.md +++ b/commands/docs/transpose.md @@ -2,7 +2,7 @@ title: transpose categories: | filters -version: 0.109.0 +version: 0.110.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 0268a4d4ac0..f361a966495 100644 --- a/commands/docs/try.md +++ b/commands/docs/try.md @@ -2,7 +2,7 @@ title: try categories: | core -version: 0.109.0 +version: 0.110.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 b8e3e41cb62..40a22e2b82b 100644 --- a/commands/docs/tutor.md +++ b/commands/docs/tutor.md @@ -2,7 +2,7 @@ title: tutor categories: | misc -version: 0.109.0 +version: 0.110.0 misc: | Run the tutorial. To begin, run: tutor. usage: | diff --git a/commands/docs/ulimit.md b/commands/docs/ulimit.md index 6dcbaaf9794..18854f4ffdd 100644 --- a/commands/docs/ulimit.md +++ b/commands/docs/ulimit.md @@ -2,7 +2,7 @@ title: ulimit categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Set or get resource usage limits. usage: | diff --git a/commands/docs/uname.md b/commands/docs/uname.md index 4e53c28f275..5a49834b160 100644 --- a/commands/docs/uname.md +++ b/commands/docs/uname.md @@ -2,7 +2,7 @@ title: uname categories: | system -version: 0.109.0 +version: 0.110.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 b8e46c0878b..61f02657a84 100644 --- a/commands/docs/uniq-by.md +++ b/commands/docs/uniq-by.md @@ -2,7 +2,7 @@ title: uniq-by categories: | filters -version: 0.109.0 +version: 0.110.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 f1fd2334dcb..e09ae8ca8af 100644 --- a/commands/docs/uniq.md +++ b/commands/docs/uniq.md @@ -2,7 +2,7 @@ title: uniq categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Return the distinct values in the input. usage: | diff --git a/commands/docs/unlet.md b/commands/docs/unlet.md new file mode 100644 index 00000000000..509bca28698 --- /dev/null +++ b/commands/docs/unlet.md @@ -0,0 +1,57 @@ +--- +title: unlet +categories: | + experimental +version: 0.110.0 +experimental: | + Delete variables from nushell memory, making them unrecoverable. +usage: | + Delete variables from nushell memory, making them unrecoverable. +editLink: false +contributors: false +--- + + +# `unlet` for [experimental](/commands/categories/experimental.md) + +
Delete variables from nushell memory, making them unrecoverable.
+ +## Signature + +```> unlet {flags} ...rest``` + +## Parameters + + - `...rest`: The variables to delete (pass as $variable_name). + + +## Input/output types: + +| input | output | +| ------- | ------- | +| nothing | nothing | +## Examples + +Delete a variable from memory +```nu +> let x = 42; unlet $x + +``` + +Delete multiple variables from memory +```nu +> let x = 1; let y = 2; unlet $x $y + +``` + +Attempting to delete a built-in variable fails +```nu +> unlet $nu + +``` + +Attempting to delete a non-variable fails +```nu +> unlet 42 + +``` diff --git a/commands/docs/update.md b/commands/docs/update.md index b8a33241cdf..d71106236a8 100644 --- a/commands/docs/update.md +++ b/commands/docs/update.md @@ -2,7 +2,7 @@ title: update categories: | filters -version: 0.109.0 +version: 0.110.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 03fb11272ad..ac60a4dffaa 100644 --- a/commands/docs/update_cells.md +++ b/commands/docs/update_cells.md @@ -2,7 +2,7 @@ title: update cells categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Update the table cells. usage: | diff --git a/commands/docs/upsert.md b/commands/docs/upsert.md index 82cf10c81a9..c3dd789071e 100644 --- a/commands/docs/upsert.md +++ b/commands/docs/upsert.md @@ -2,7 +2,7 @@ title: upsert categories: | filters -version: 0.109.0 +version: 0.110.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 5bc5c683fa9..5385bede06f 100644 --- a/commands/docs/url.md +++ b/commands/docs/url.md @@ -2,7 +2,7 @@ title: url categories: | network -version: 0.109.0 +version: 0.110.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 21ba794be2e..443d7b23f54 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.109.0 +version: 0.110.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 d9325f8314e..8b30404037f 100644 --- a/commands/docs/url_decode.md +++ b/commands/docs/url_decode.md @@ -2,7 +2,7 @@ title: url decode categories: | strings -version: 0.109.0 +version: 0.110.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 0176a1a8e43..9c67142f9ff 100644 --- a/commands/docs/url_encode.md +++ b/commands/docs/url_encode.md @@ -2,7 +2,7 @@ title: url encode categories: | strings -version: 0.109.0 +version: 0.110.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 e7c3b3f1805..bfde71c208c 100644 --- a/commands/docs/url_join.md +++ b/commands/docs/url_join.md @@ -2,7 +2,7 @@ title: url join categories: | network -version: 0.109.0 +version: 0.110.0 network: | Converts a record to url. usage: | diff --git a/commands/docs/url_parse.md b/commands/docs/url_parse.md index 0bed87ca03e..3f94ed37302 100644 --- a/commands/docs/url_parse.md +++ b/commands/docs/url_parse.md @@ -2,7 +2,7 @@ title: url parse categories: | network -version: 0.109.0 +version: 0.110.0 network: | Parses a url. usage: | diff --git a/commands/docs/url_split-query.md b/commands/docs/url_split-query.md index d1a6b7d9184..848d0c28a84 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.109.0 +version: 0.110.0 network: | Converts query string into table applying percent-decoding. usage: | diff --git a/commands/docs/use.md b/commands/docs/use.md index 51a13d09d7e..5d704653a7f 100644 --- a/commands/docs/use.md +++ b/commands/docs/use.md @@ -2,7 +2,7 @@ title: use categories: | core -version: 0.109.0 +version: 0.110.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 576568efa9e..ee84e86a890 100644 --- a/commands/docs/values.md +++ b/commands/docs/values.md @@ -2,7 +2,7 @@ title: values categories: | filters -version: 0.109.0 +version: 0.110.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 fbb8443f295..c4e71b1850b 100644 --- a/commands/docs/version.md +++ b/commands/docs/version.md @@ -2,7 +2,7 @@ title: version categories: | core -version: 0.109.0 +version: 0.110.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 2d67d859dbf..f7b19ed5923 100644 --- a/commands/docs/version_check.md +++ b/commands/docs/version_check.md @@ -2,7 +2,7 @@ title: version check categories: | platform -version: 0.109.0 +version: 0.110.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 dc604bf88c1..aca706b6b76 100644 --- a/commands/docs/view.md +++ b/commands/docs/view.md @@ -2,7 +2,7 @@ title: view categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | Various commands for viewing debug information. usage: | diff --git a/commands/docs/view_blocks.md b/commands/docs/view_blocks.md index 05d64a6cbe9..c3221dff416 100644 --- a/commands/docs/view_blocks.md +++ b/commands/docs/view_blocks.md @@ -2,7 +2,7 @@ title: view blocks categories: | debug -version: 0.109.0 +version: 0.110.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 3ceb8357bbf..16be7a80453 100644 --- a/commands/docs/view_files.md +++ b/commands/docs/view_files.md @@ -2,7 +2,7 @@ title: view files categories: | debug -version: 0.109.0 +version: 0.110.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 ae13e5ed8d7..73d22249a98 100644 --- a/commands/docs/view_ir.md +++ b/commands/docs/view_ir.md @@ -2,7 +2,7 @@ title: view ir categories: | debug -version: 0.109.0 +version: 0.110.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 7487b743e25..62b1f08475c 100644 --- a/commands/docs/view_source.md +++ b/commands/docs/view_source.md @@ -2,7 +2,7 @@ title: view source categories: | debug -version: 0.109.0 +version: 0.110.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 8b56098ba54..a047c9a1e41 100644 --- a/commands/docs/view_span.md +++ b/commands/docs/view_span.md @@ -2,7 +2,7 @@ title: view span categories: | debug -version: 0.109.0 +version: 0.110.0 debug: | View the contents of a span. usage: | diff --git a/commands/docs/watch.md b/commands/docs/watch.md index e0390fb6f37..213abc03120 100644 --- a/commands/docs/watch.md +++ b/commands/docs/watch.md @@ -2,7 +2,7 @@ title: watch categories: | filesystem -version: 0.109.0 +version: 0.110.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 c49e8c76a79..224de2ca8d2 100644 --- a/commands/docs/where.md +++ b/commands/docs/where.md @@ -2,7 +2,7 @@ title: where categories: | filters -version: 0.109.0 +version: 0.110.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 a79529d0579..f0b89901aa8 100644 --- a/commands/docs/which.md +++ b/commands/docs/which.md @@ -2,7 +2,7 @@ title: which categories: | system -version: 0.109.0 +version: 0.110.0 system: | Finds a program file, alias or custom command. If `application` is not provided, all deduplicated commands will be returned. usage: | diff --git a/commands/docs/while.md b/commands/docs/while.md index f607f9166d6..2038a997304 100644 --- a/commands/docs/while.md +++ b/commands/docs/while.md @@ -2,7 +2,7 @@ title: while categories: | core -version: 0.109.0 +version: 0.110.0 core: | Conditionally run a block in a loop. usage: | diff --git a/commands/docs/whoami.md b/commands/docs/whoami.md index 08a512fb846..e0c73be77cd 100644 --- a/commands/docs/whoami.md +++ b/commands/docs/whoami.md @@ -2,7 +2,7 @@ title: whoami categories: | platform -version: 0.109.0 +version: 0.110.0 platform: | Get the current username using uutils/coreutils whoami. usage: | diff --git a/commands/docs/window.md b/commands/docs/window.md index 18ec976ef4d..aff325b4b69 100644 --- a/commands/docs/window.md +++ b/commands/docs/window.md @@ -2,7 +2,7 @@ title: window categories: | filters -version: 0.109.0 +version: 0.110.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 f6e1be9a747..afe7a7ed47e 100644 --- a/commands/docs/with-env.md +++ b/commands/docs/with-env.md @@ -2,7 +2,7 @@ title: with-env categories: | env -version: 0.109.0 +version: 0.110.0 env: | Runs a block with an environment variable set. usage: | diff --git a/commands/docs/wrap.md b/commands/docs/wrap.md index 19a9955e622..cb783e8a390 100644 --- a/commands/docs/wrap.md +++ b/commands/docs/wrap.md @@ -2,7 +2,7 @@ title: wrap categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Wrap the value into a column. usage: | diff --git a/commands/docs/zip.md b/commands/docs/zip.md index c80c579632e..368a235c1dc 100644 --- a/commands/docs/zip.md +++ b/commands/docs/zip.md @@ -2,7 +2,7 @@ title: zip categories: | filters -version: 0.109.0 +version: 0.110.0 filters: | Combine a stream with the input. usage: |