diff --git a/commands/categories/bits.md b/commands/categories/bits.md index 014d878ae76..66c0c7aef67 100644 --- a/commands/categories/bits.md +++ b/commands/categories/bits.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Bits - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/bytes.md b/commands/categories/bytes.md index 50584dab9cc..a5e400f62bf 100644 --- a/commands/categories/bytes.md +++ b/commands/categories/bytes.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Bytes - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/chart.md b/commands/categories/chart.md index d2c46939a23..60863c73412 100644 --- a/commands/categories/chart.md +++ b/commands/categories/chart.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Chart - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/conversions.md b/commands/categories/conversions.md index a5bb11139e8..453d1e0d7fb 100644 --- a/commands/categories/conversions.md +++ b/commands/categories/conversions.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Conversions - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/core.md b/commands/categories/core.md index 5489796e80b..ba75860a2a6 100644 --- a/commands/categories/core.md +++ b/commands/categories/core.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Core - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/database.md b/commands/categories/database.md index 585f8166379..24adbec354c 100644 --- a/commands/categories/database.md +++ b/commands/categories/database.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Database - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/dataframe.md b/commands/categories/dataframe.md index 06b0f5ca896..64a1d4d09d6 100644 --- a/commands/categories/dataframe.md +++ b/commands/categories/dataframe.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Dataframe - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/dataframe_or_lazyframe.md b/commands/categories/dataframe_or_lazyframe.md index 63d80247360..184eb960f33 100644 --- a/commands/categories/dataframe_or_lazyframe.md +++ b/commands/categories/dataframe_or_lazyframe.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Dataframe Or Lazyframe - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/date.md b/commands/categories/date.md index c563d672b2f..afdf30fcf92 100644 --- a/commands/categories/date.md +++ b/commands/categories/date.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Date - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/debug.md b/commands/categories/debug.md index 8aac7248fb2..c76bac126c8 100644 --- a/commands/categories/debug.md +++ b/commands/categories/debug.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Debug - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/default.md b/commands/categories/default.md index 81286869521..f603be4066d 100644 --- a/commands/categories/default.md +++ b/commands/categories/default.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Default - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/deprecated.md b/commands/categories/deprecated.md index 319829d2e33..cf99ff4104e 100644 --- a/commands/categories/deprecated.md +++ b/commands/categories/deprecated.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Deprecated - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/env.md b/commands/categories/env.md index 981fb2b05ed..61ce9e5e958 100644 --- a/commands/categories/env.md +++ b/commands/categories/env.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Env - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/expression.md b/commands/categories/expression.md index d34aea9d9d1..1ba1729ecc3 100644 --- a/commands/categories/expression.md +++ b/commands/categories/expression.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Expression - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/filesystem.md b/commands/categories/filesystem.md index a4826d9dc09..6d1efb0079d 100644 --- a/commands/categories/filesystem.md +++ b/commands/categories/filesystem.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Filesystem - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/filters.md b/commands/categories/filters.md index fa369f782c7..0f5673ce6aa 100644 --- a/commands/categories/filters.md +++ b/commands/categories/filters.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Filters - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/formats.md b/commands/categories/formats.md index 6b66981f89a..4de0ca688d4 100644 --- a/commands/categories/formats.md +++ b/commands/categories/formats.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Formats - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/generators.md b/commands/categories/generators.md index 2f1e1f1e836..0f84f9e999d 100644 --- a/commands/categories/generators.md +++ b/commands/categories/generators.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Generators - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/hash.md b/commands/categories/hash.md index 09654b4413d..517aac927be 100644 --- a/commands/categories/hash.md +++ b/commands/categories/hash.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Hash - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/history.md b/commands/categories/history.md index d82e54a268f..2d06159b55b 100644 --- a/commands/categories/history.md +++ b/commands/categories/history.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # History - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/lazyframe.md b/commands/categories/lazyframe.md index 2fcb835525e..57747ef89e7 100644 --- a/commands/categories/lazyframe.md +++ b/commands/categories/lazyframe.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Lazyframe - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/math.md b/commands/categories/math.md index 03571c3143d..221c4663a9e 100644 --- a/commands/categories/math.md +++ b/commands/categories/math.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Math - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/misc.md b/commands/categories/misc.md index cc42c55e31d..b78d6a379d2 100644 --- a/commands/categories/misc.md +++ b/commands/categories/misc.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Misc - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/network.md b/commands/categories/network.md index e0eb5ec52f5..d49eaac4b3b 100644 --- a/commands/categories/network.md +++ b/commands/categories/network.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Network - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/path.md b/commands/categories/path.md index 7b115a964b8..f228c14cca8 100644 --- a/commands/categories/path.md +++ b/commands/categories/path.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Path - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/platform.md b/commands/categories/platform.md index c7199d8b86f..e881dfb5fca 100644 --- a/commands/categories/platform.md +++ b/commands/categories/platform.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Platform - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/plugin.md b/commands/categories/plugin.md index 65bace283d1..f27e506fe66 100644 --- a/commands/categories/plugin.md +++ b/commands/categories/plugin.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Plugin - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/prompt.md b/commands/categories/prompt.md index 54a77458609..e3aad6ff5bb 100644 --- a/commands/categories/prompt.md +++ b/commands/categories/prompt.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Prompt - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/random.md b/commands/categories/random.md index fecaffb616a..b8d3660d082 100644 --- a/commands/categories/random.md +++ b/commands/categories/random.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Random - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/removed.md b/commands/categories/removed.md index 5827cf388b8..3827a7f8dfe 100644 --- a/commands/categories/removed.md +++ b/commands/categories/removed.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Removed - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/shells.md b/commands/categories/shells.md index 46ccaabec8e..090798573ea 100644 --- a/commands/categories/shells.md +++ b/commands/categories/shells.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Shells - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/strings.md b/commands/categories/strings.md index d82068a03b8..9ec629ad514 100644 --- a/commands/categories/strings.md +++ b/commands/categories/strings.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Strings - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/system.md b/commands/categories/system.md index b54bc622201..c396f431e42 100644 --- a/commands/categories/system.md +++ b/commands/categories/system.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # System - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/categories/viewers.md b/commands/categories/viewers.md index 94b2dfed432..de37f610e7a 100644 --- a/commands/categories/viewers.md +++ b/commands/categories/viewers.md @@ -1,3 +1,8 @@ +--- +editLink: false +contributors: false +--- + # Viewers - - - - - - - - + + + + + + + + + + + +
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
CommandDescription
{{ command.title }}{{ command.frontmatter.usage }}
diff --git a/commands/docs/alias.md b/commands/docs/alias.md index ee85622e5aa..f95d8986b68 100644 --- a/commands/docs/alias.md +++ b/commands/docs/alias.md @@ -2,11 +2,13 @@ title: alias categories: | core -version: 0.101.0 +version: 0.102.0 core: | Alias a command (with optional flags) to a new name. usage: | Alias a command (with optional flags) to a new name. +editLink: false +contributors: false --- diff --git a/commands/docs/all.md b/commands/docs/all.md index d0ab69f2b9a..b42fb53d460 100644 --- a/commands/docs/all.md +++ b/commands/docs/all.md @@ -2,11 +2,13 @@ title: all categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Test if every element of the input fulfills a predicate expression. usage: | Test if every element of the input fulfills a predicate expression. +editLink: false +contributors: false --- diff --git a/commands/docs/ansi.md b/commands/docs/ansi.md index 58c2c1ef01b..bb9d6b2dc41 100644 --- a/commands/docs/ansi.md +++ b/commands/docs/ansi.md @@ -2,11 +2,13 @@ title: ansi categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Output ANSI codes to change color and style of text. usage: | Output ANSI codes to change color and style of text. +editLink: false +contributors: false --- diff --git a/commands/docs/ansi_gradient.md b/commands/docs/ansi_gradient.md index 2093ee2010f..17f6beb54e7 100644 --- a/commands/docs/ansi_gradient.md +++ b/commands/docs/ansi_gradient.md @@ -2,11 +2,13 @@ title: ansi gradient categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Add a color gradient (using ANSI color codes) to the given string. usage: | Add a color gradient (using ANSI color codes) to the given string. +editLink: false +contributors: false --- diff --git a/commands/docs/ansi_link.md b/commands/docs/ansi_link.md index 6f7b6e65bfa..086c34b3209 100644 --- a/commands/docs/ansi_link.md +++ b/commands/docs/ansi_link.md @@ -2,11 +2,13 @@ title: ansi link categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Add a link (using OSC 8 escape sequence) to the given string. usage: | Add a link (using OSC 8 escape sequence) to the given string. +editLink: false +contributors: false --- diff --git a/commands/docs/ansi_strip.md b/commands/docs/ansi_strip.md index b46d68d5006..d9b0adba01a 100644 --- a/commands/docs/ansi_strip.md +++ b/commands/docs/ansi_strip.md @@ -2,11 +2,13 @@ title: ansi strip categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Strip ANSI escape sequences from a string. usage: | Strip ANSI escape sequences from a string. +editLink: false +contributors: false --- diff --git a/commands/docs/any.md b/commands/docs/any.md index c6d1eabbde7..8e457d72d70 100644 --- a/commands/docs/any.md +++ b/commands/docs/any.md @@ -2,11 +2,13 @@ title: any categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Tests if any element of the input fulfills a predicate expression. usage: | Tests if any element of the input fulfills a predicate expression. +editLink: false +contributors: false --- diff --git a/commands/docs/append.md b/commands/docs/append.md index bffc303d928..c872c41e3a8 100644 --- a/commands/docs/append.md +++ b/commands/docs/append.md @@ -2,11 +2,13 @@ title: append categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Append any number of rows to a table. usage: | Append any number of rows to a table. +editLink: false +contributors: false --- diff --git a/commands/docs/ast.md b/commands/docs/ast.md index e9fb5be7c8f..bef61c26048 100644 --- a/commands/docs/ast.md +++ b/commands/docs/ast.md @@ -2,11 +2,13 @@ title: ast categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Print the abstract syntax tree (ast) for a pipeline. usage: | Print the abstract syntax tree (ast) for a pipeline. +editLink: false +contributors: false --- diff --git a/commands/docs/banner.md b/commands/docs/banner.md index b54a6e11850..82bb12ecd4d 100644 --- a/commands/docs/banner.md +++ b/commands/docs/banner.md @@ -2,11 +2,13 @@ title: banner categories: | default -version: 0.101.0 +version: 0.102.0 default: | Print a banner for nushell with information about the project usage: | Print a banner for nushell with information about the project +editLink: false +contributors: false --- @@ -18,6 +20,10 @@ usage: | ```> banner {flags} ``` +## Flags + + - `--short`: Only show startup time + ## Input/output types: diff --git a/commands/docs/bits.md b/commands/docs/bits.md index aa2240eb104..3e6d6d2de09 100644 --- a/commands/docs/bits.md +++ b/commands/docs/bits.md @@ -2,11 +2,13 @@ title: bits categories: | bits -version: 0.101.0 +version: 0.102.0 bits: | Various commands for working with bits. usage: | Various commands for working with bits. +editLink: false +contributors: false --- diff --git a/commands/docs/bits_and.md b/commands/docs/bits_and.md index b5e0ba2dcca..5d04cc3225a 100644 --- a/commands/docs/bits_and.md +++ b/commands/docs/bits_and.md @@ -2,11 +2,13 @@ title: bits and categories: | bits -version: 0.101.0 +version: 0.102.0 bits: | Performs bitwise and for ints or binary values. usage: | Performs bitwise and for ints or binary values. +editLink: false +contributors: false --- diff --git a/commands/docs/bits_not.md b/commands/docs/bits_not.md index bd757353683..cc02574b9a0 100644 --- a/commands/docs/bits_not.md +++ b/commands/docs/bits_not.md @@ -2,11 +2,13 @@ title: bits not categories: | bits -version: 0.101.0 +version: 0.102.0 bits: | Performs logical negation on each bit. usage: | Performs logical negation on each bit. +editLink: false +contributors: false --- diff --git a/commands/docs/bits_or.md b/commands/docs/bits_or.md index e18e24e2d95..44a19fb7dd5 100644 --- a/commands/docs/bits_or.md +++ b/commands/docs/bits_or.md @@ -2,11 +2,13 @@ title: bits or categories: | bits -version: 0.101.0 +version: 0.102.0 bits: | Performs bitwise or for ints or binary values. usage: | Performs bitwise or for ints or binary values. +editLink: false +contributors: false --- diff --git a/commands/docs/bits_rol.md b/commands/docs/bits_rol.md index d843612d59b..cc4f43e8baa 100644 --- a/commands/docs/bits_rol.md +++ b/commands/docs/bits_rol.md @@ -2,11 +2,13 @@ title: bits rol categories: | bits -version: 0.101.0 +version: 0.102.0 bits: | Bitwise rotate left for ints or binary values. usage: | Bitwise rotate left for ints or binary values. +editLink: false +contributors: false --- diff --git a/commands/docs/bits_ror.md b/commands/docs/bits_ror.md index f404fd08603..5cd763e2a3e 100644 --- a/commands/docs/bits_ror.md +++ b/commands/docs/bits_ror.md @@ -2,11 +2,13 @@ title: bits ror categories: | bits -version: 0.101.0 +version: 0.102.0 bits: | Bitwise rotate right for ints or binary values. usage: | Bitwise rotate right for ints or binary values. +editLink: false +contributors: false --- diff --git a/commands/docs/bits_shl.md b/commands/docs/bits_shl.md index 4d1b86c4693..82a698cb2ec 100644 --- a/commands/docs/bits_shl.md +++ b/commands/docs/bits_shl.md @@ -2,11 +2,13 @@ title: bits shl categories: | bits -version: 0.101.0 +version: 0.102.0 bits: | Bitwise shift left for ints or binary values. usage: | Bitwise shift left for ints or binary values. +editLink: false +contributors: false --- diff --git a/commands/docs/bits_shr.md b/commands/docs/bits_shr.md index 1d9d5763003..7b38623b63c 100644 --- a/commands/docs/bits_shr.md +++ b/commands/docs/bits_shr.md @@ -2,11 +2,13 @@ title: bits shr categories: | bits -version: 0.101.0 +version: 0.102.0 bits: | Bitwise shift right for ints or binary values. usage: | Bitwise shift right for ints or binary values. +editLink: false +contributors: false --- diff --git a/commands/docs/bits_xor.md b/commands/docs/bits_xor.md index 2f826d0091a..a7f5539a6bf 100644 --- a/commands/docs/bits_xor.md +++ b/commands/docs/bits_xor.md @@ -2,11 +2,13 @@ title: bits xor categories: | bits -version: 0.101.0 +version: 0.102.0 bits: | Performs bitwise xor for ints or binary values. usage: | Performs bitwise xor for ints or binary values. +editLink: false +contributors: false --- diff --git a/commands/docs/break.md b/commands/docs/break.md index 6e062109b04..36db260f433 100644 --- a/commands/docs/break.md +++ b/commands/docs/break.md @@ -2,11 +2,13 @@ title: break categories: | core -version: 0.101.0 +version: 0.102.0 core: | Break a loop. usage: | Break a loop. +editLink: false +contributors: false --- diff --git a/commands/docs/bytes.md b/commands/docs/bytes.md index 7dd6e90bb81..1e459d687f9 100644 --- a/commands/docs/bytes.md +++ b/commands/docs/bytes.md @@ -2,11 +2,13 @@ title: bytes categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Various commands for working with byte data. usage: | Various commands for working with byte data. +editLink: false +contributors: false --- @@ -42,4 +44,5 @@ You must use one of the following subcommands. Using this command as-is will onl | [`bytes remove`](/commands/docs/bytes_remove.md) | Remove bytes. | built-in | | [`bytes replace`](/commands/docs/bytes_replace.md) | Find and replace binary. | built-in | | [`bytes reverse`](/commands/docs/bytes_reverse.md) | Reverse the bytes in the pipeline. | built-in | +| [`bytes split`](/commands/docs/bytes_split.md) | Split input into multiple items using a separator. | built-in | | [`bytes starts-with`](/commands/docs/bytes_starts-with.md) | Check if bytes starts with a pattern. | built-in | \ No newline at end of file diff --git a/commands/docs/bytes_add.md b/commands/docs/bytes_add.md index f46f6a4f347..24d6163eb3a 100644 --- a/commands/docs/bytes_add.md +++ b/commands/docs/bytes_add.md @@ -2,11 +2,13 @@ title: bytes add categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Add specified bytes to the input. usage: | Add specified bytes to the input. +editLink: false +contributors: false --- diff --git a/commands/docs/bytes_at.md b/commands/docs/bytes_at.md index dba6cf4e297..73d0c8c557c 100644 --- a/commands/docs/bytes_at.md +++ b/commands/docs/bytes_at.md @@ -2,11 +2,13 @@ title: bytes at categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Get bytes defined by a range. usage: | Get bytes defined by a range. +editLink: false +contributors: false --- @@ -34,41 +36,49 @@ usage: | | table | table | ## Examples -Get a subbytes `0x[10 01]` from the bytes `0x[33 44 55 10 01 13]` +Extract bytes starting from a specific index ```nu -> 0x[33 44 55 10 01 13] | bytes at 3..<4 -Length: 1 (0x1) bytes | printable whitespace ascii_other non_ascii -00000000: 10 • - +> { data: 0x[33 44 55 10 01 13 10] } | bytes at 3.. data +╭──────┬─────────────────╮ +│ data │ [16, 1, 19, 16] │ +╰──────┴─────────────────╯ ``` -Get a subbytes `0x[10 01 13]` from the bytes `0x[33 44 55 10 01 13]` +Slice out `0x[10 01 13]` from `0x[33 44 55 10 01 13]` ```nu -> 0x[33 44 55 10 01 13] | bytes at 3..6 +> 0x[33 44 55 10 01 13] | bytes at 3..5 Length: 3 (0x3) bytes | printable whitespace ascii_other non_ascii 00000000: 10 01 13 ••• ``` -Get the remaining characters from a starting index +Extract bytes from the start up to a specific index ```nu -> { data: 0x[33 44 55 10 01 13] } | bytes at 3.. data -╭──────┬─────────────╮ -│ data │ [16, 1, 19] │ -╰──────┴─────────────╯ +> 0x[33 44 55 10 01 13 10] | bytes at ..4 +Length: 5 (0x5) bytes | printable whitespace ascii_other non_ascii +00000000: 33 44 55 10 01 3DU•• + ``` -Get the characters from the beginning until ending index +Extract byte `0x[10]` using an exclusive end index ```nu -> 0x[33 44 55 10 01 13] | bytes at ..<4 +> 0x[33 44 55 10 01 13 10] | bytes at 3..<4 +Length: 1 (0x1) bytes | printable whitespace ascii_other non_ascii +00000000: 10 • + +``` + +Extract bytes up to a negative index (inclusive) +```nu +> 0x[33 44 55 10 01 13 10] | bytes at ..-4 Length: 4 (0x4) bytes | printable whitespace ascii_other non_ascii 00000000: 33 44 55 10 3DU• ``` -Or the characters from the beginning until ending index inside a table +Slice bytes across multiple table columns ```nu -> [[ColA ColB ColC]; [0x[11 12 13] 0x[14 15 16] 0x[17 18 19]]] | bytes at 1.. ColB ColC +> [[ColA ColB ColC]; [0x[11 12 13] 0x[14 15 16] 0x[17 18 19]]] | bytes at 1.. ColB ColC ╭───┬──────────────┬──────────┬──────────╮ │ # │ ColA │ ColB │ ColC │ ├───┼──────────────┼──────────┼──────────┤ @@ -76,3 +86,11 @@ Or the characters from the beginning until ending index inside a table ╰───┴──────────────┴──────────┴──────────╯ ``` + +Extract the last three bytes using a negative start index +```nu +> 0x[33 44 55 10 01 13 10] | bytes at (-3).. +Length: 3 (0x3) bytes | printable whitespace ascii_other non_ascii +00000000: 01 13 10 ••• + +``` diff --git a/commands/docs/bytes_build.md b/commands/docs/bytes_build.md index ced3e56713d..0164e8c4f74 100644 --- a/commands/docs/bytes_build.md +++ b/commands/docs/bytes_build.md @@ -2,11 +2,13 @@ title: bytes build categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Create bytes from the arguments. usage: | Create bytes from the arguments. +editLink: false +contributors: false --- diff --git a/commands/docs/bytes_collect.md b/commands/docs/bytes_collect.md index f1f20656e82..c4db4580e38 100644 --- a/commands/docs/bytes_collect.md +++ b/commands/docs/bytes_collect.md @@ -2,11 +2,13 @@ title: bytes collect categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Concatenate multiple binary into a single binary, with an optional separator between each. usage: | Concatenate multiple binary into a single binary, with an optional separator between each. +editLink: false +contributors: false --- diff --git a/commands/docs/bytes_ends-with.md b/commands/docs/bytes_ends-with.md index 01edfcbd9a4..7e2114dc639 100644 --- a/commands/docs/bytes_ends-with.md +++ b/commands/docs/bytes_ends-with.md @@ -2,11 +2,13 @@ title: bytes ends-with categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Check if bytes ends with a pattern. usage: | Check if bytes ends with a pattern. +editLink: false +contributors: false --- diff --git a/commands/docs/bytes_index-of.md b/commands/docs/bytes_index-of.md index 5c2f7641729..44359e939c8 100644 --- a/commands/docs/bytes_index-of.md +++ b/commands/docs/bytes_index-of.md @@ -2,11 +2,13 @@ title: bytes index-of categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Returns start index of first occurrence of pattern in bytes, or -1 if no match. usage: | Returns start index of first occurrence of pattern in bytes, or -1 if no match. +editLink: false +contributors: false --- diff --git a/commands/docs/bytes_length.md b/commands/docs/bytes_length.md index c952be7a7e1..250aaa51c0b 100644 --- a/commands/docs/bytes_length.md +++ b/commands/docs/bytes_length.md @@ -2,11 +2,13 @@ title: bytes length categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Output the length of any bytes in the pipeline. usage: | Output the length of any bytes in the pipeline. +editLink: false +contributors: false --- diff --git a/commands/docs/bytes_remove.md b/commands/docs/bytes_remove.md index 94c2a490e1c..9396a51120b 100644 --- a/commands/docs/bytes_remove.md +++ b/commands/docs/bytes_remove.md @@ -2,11 +2,13 @@ title: bytes remove categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Remove bytes. usage: | Remove bytes. +editLink: false +contributors: false --- diff --git a/commands/docs/bytes_replace.md b/commands/docs/bytes_replace.md index 9dce8d457be..d65e92a1e09 100644 --- a/commands/docs/bytes_replace.md +++ b/commands/docs/bytes_replace.md @@ -2,11 +2,13 @@ title: bytes replace categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Find and replace binary. usage: | Find and replace binary. +editLink: false +contributors: false --- diff --git a/commands/docs/bytes_reverse.md b/commands/docs/bytes_reverse.md index f27cbd6e316..3e6c85e2008 100644 --- a/commands/docs/bytes_reverse.md +++ b/commands/docs/bytes_reverse.md @@ -2,11 +2,13 @@ title: bytes reverse categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Reverse the bytes in the pipeline. usage: | Reverse the bytes in the pipeline. +editLink: false +contributors: false --- diff --git a/commands/docs/bytes_split.md b/commands/docs/bytes_split.md new file mode 100644 index 00000000000..e628459a532 --- /dev/null +++ b/commands/docs/bytes_split.md @@ -0,0 +1,57 @@ +--- +title: bytes split +categories: | + bytes +version: 0.102.0 +bytes: | + Split input into multiple items using a separator. +usage: | + Split input into multiple items using a separator. +editLink: false +contributors: false +--- + + +# `bytes split` for [bytes](/commands/categories/bytes.md) + +
Split input into multiple items using a separator.
+ +## Signature + +```> bytes split {flags} (separator)``` + +## Parameters + + - `separator`: Bytes or string that the input will be split on (must be non-empty). + + +## Input/output types: + +| input | output | +| ------ | ------------ | +| binary | list\ | + +## Examples + +Split a binary value using a binary separator +```nu +> 0x[66 6F 6F 20 62 61 72 20 62 61 7A 20] | bytes split 0x[20] +╭───┬─────────────────╮ +│ 0 │ [102, 111, 111] │ +│ 1 │ [98, 97, 114] │ +│ 2 │ [98, 97, 122] │ +│ 3 │ [] │ +╰───┴─────────────────╯ + +``` + +Split a binary value using a string separator +```nu +> 0x[61 2D 2D 62 2D 2D 63] | bytes split "--" +╭───┬──────╮ +│ 0 │ [97] │ +│ 1 │ [98] │ +│ 2 │ [99] │ +╰───┴──────╯ + +``` diff --git a/commands/docs/bytes_starts-with.md b/commands/docs/bytes_starts-with.md index 3a519ddf3b6..0a9ddbf3d64 100644 --- a/commands/docs/bytes_starts-with.md +++ b/commands/docs/bytes_starts-with.md @@ -2,11 +2,13 @@ title: bytes starts-with categories: | bytes -version: 0.101.0 +version: 0.102.0 bytes: | Check if bytes starts with a pattern. usage: | Check if bytes starts with a pattern. +editLink: false +contributors: false --- diff --git a/commands/docs/cal.md b/commands/docs/cal.md index f9aaf2d233e..7f95eb919ba 100644 --- a/commands/docs/cal.md +++ b/commands/docs/cal.md @@ -2,11 +2,13 @@ title: cal categories: | generators -version: 0.101.0 +version: 0.102.0 generators: | Display a calendar. usage: | Display a calendar. +editLink: false +contributors: false --- diff --git a/commands/docs/cd.md b/commands/docs/cd.md index 4058d201b2e..48d7dcfce3f 100644 --- a/commands/docs/cd.md +++ b/commands/docs/cd.md @@ -2,11 +2,13 @@ title: cd categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Change directory. usage: | Change directory. +editLink: false +contributors: false --- @@ -32,7 +34,7 @@ usage: | | input | output | | ------- | ------- | | nothing | nothing | -| string | nothing | + ## Examples Change to your home directory diff --git a/commands/docs/char.md b/commands/docs/char.md index c70fb1ff223..93fea099a22 100644 --- a/commands/docs/char.md +++ b/commands/docs/char.md @@ -2,11 +2,13 @@ title: char categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Output special characters (e.g., 'newline'). usage: | Output special characters (e.g., 'newline'). +editLink: false +contributors: false --- diff --git a/commands/docs/chunk-by.md b/commands/docs/chunk-by.md index ef387833504..d4904ed5b91 100644 --- a/commands/docs/chunk-by.md +++ b/commands/docs/chunk-by.md @@ -2,11 +2,13 @@ title: chunk-by categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Divides a sequence into sub-sequences based on a closure. usage: | Divides a sequence into sub-sequences based on a closure. +editLink: false +contributors: false --- diff --git a/commands/docs/chunks.md b/commands/docs/chunks.md index b1687781991..e5b7ae20e7f 100644 --- a/commands/docs/chunks.md +++ b/commands/docs/chunks.md @@ -2,11 +2,13 @@ title: chunks categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Divide a list or table into chunks of `chunk_size`. usage: | Divide a list or table into chunks of `chunk_size`. +editLink: false +contributors: false --- @@ -27,6 +29,7 @@ usage: | | input | output | | --------- | --------------- | +| binary | list\ | | list\ | list\\> | | table | list\ | ## Examples @@ -68,5 +71,16 @@ Chunk the rows of a table into triplets ``` +Chunk the bytes of a binary into triplets +```nu +> 0x[11 22 33 44 55 66 77 88] | chunks 3 +╭───┬───────────────╮ +│ 0 │ [17, 34, 51] │ +│ 1 │ [68, 85, 102] │ +│ 2 │ [119, 136] │ +╰───┴───────────────╯ + +``` + ## Notes This command will error if `chunk_size` is negative or zero. \ No newline at end of file diff --git a/commands/docs/clear.md b/commands/docs/clear.md index 1d4f612820f..2dcebc954fc 100644 --- a/commands/docs/clear.md +++ b/commands/docs/clear.md @@ -2,11 +2,13 @@ title: clear categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Clear the terminal. usage: | Clear the terminal. +editLink: false +contributors: false --- diff --git a/commands/docs/collect.md b/commands/docs/collect.md index 17f2f8cc483..c434b1d0fc8 100644 --- a/commands/docs/collect.md +++ b/commands/docs/collect.md @@ -2,11 +2,13 @@ title: collect categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Collect a stream into a value. usage: | Collect a stream into a value. +editLink: false +contributors: false --- diff --git a/commands/docs/columns.md b/commands/docs/columns.md index bdac3d5b6c0..ee2f3617e84 100644 --- a/commands/docs/columns.md +++ b/commands/docs/columns.md @@ -2,11 +2,13 @@ title: columns categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Given a record or table, produce a list of its columns' names. usage: | Given a record or table, produce a list of its columns' names. +editLink: false +contributors: false --- diff --git a/commands/docs/commandline.md b/commands/docs/commandline.md index f090105e7c6..671afc1633f 100644 --- a/commands/docs/commandline.md +++ b/commands/docs/commandline.md @@ -2,11 +2,13 @@ title: commandline categories: | core -version: 0.101.0 +version: 0.102.0 core: | View the current command line input buffer. usage: | View the current command line input buffer. +editLink: false +contributors: false --- diff --git a/commands/docs/commandline_edit.md b/commands/docs/commandline_edit.md index 96799c21ce9..9f412f0745d 100644 --- a/commands/docs/commandline_edit.md +++ b/commands/docs/commandline_edit.md @@ -2,11 +2,13 @@ title: commandline edit categories: | core -version: 0.101.0 +version: 0.102.0 core: | Modify the current command line input buffer. usage: | Modify the current command line input buffer. +editLink: false +contributors: false --- diff --git a/commands/docs/commandline_get-cursor.md b/commands/docs/commandline_get-cursor.md index e7338f8df14..9f3869f59e4 100644 --- a/commands/docs/commandline_get-cursor.md +++ b/commands/docs/commandline_get-cursor.md @@ -2,11 +2,13 @@ title: commandline get-cursor categories: | core -version: 0.101.0 +version: 0.102.0 core: | Get the current cursor position. usage: | Get the current cursor position. +editLink: false +contributors: false --- diff --git a/commands/docs/commandline_set-cursor.md b/commands/docs/commandline_set-cursor.md index 5138904a249..ed36329d3a9 100644 --- a/commands/docs/commandline_set-cursor.md +++ b/commands/docs/commandline_set-cursor.md @@ -2,11 +2,13 @@ title: commandline set-cursor categories: | core -version: 0.101.0 +version: 0.102.0 core: | Set the current cursor position. usage: | Set the current cursor position. +editLink: false +contributors: false --- diff --git a/commands/docs/compact.md b/commands/docs/compact.md index 025d7089614..d3c18aab120 100644 --- a/commands/docs/compact.md +++ b/commands/docs/compact.md @@ -2,11 +2,13 @@ title: compact categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Creates a table with non-empty rows. usage: | Creates a table with non-empty rows. +editLink: false +contributors: false --- @@ -41,6 +43,7 @@ Filter out all records where 'Hello' is null ╭────────────╮ │ empty list │ ╰────────────╯ + ``` Filter out all records where 'World' is null diff --git a/commands/docs/complete.md b/commands/docs/complete.md index dd0939952de..636b013c0d4 100644 --- a/commands/docs/complete.md +++ b/commands/docs/complete.md @@ -2,11 +2,13 @@ title: complete categories: | system -version: 0.101.0 +version: 0.102.0 system: | Capture the outputs and exit code from an external piped in command in a nushell table. usage: | Capture the outputs and exit code from an external piped in command in a nushell table. +editLink: false +contributors: false --- diff --git a/commands/docs/config.md b/commands/docs/config.md index 891223287ad..43ad7217cef 100644 --- a/commands/docs/config.md +++ b/commands/docs/config.md @@ -2,11 +2,13 @@ title: config categories: | env -version: 0.101.0 +version: 0.102.0 env: | Edit nushell configuration files. usage: | Edit nushell configuration files. +editLink: false +contributors: false --- @@ -30,9 +32,10 @@ You must use one of the following subcommands. Using this command as-is will onl ## Subcommands: -| name | description | type | -| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -------- | -| [`config env`](/commands/docs/config_env.md) | Edit nu environment configurations. | built-in | -| [`config flatten`](/commands/docs/config_flatten.md) | Show the current configuration in a flattened form. | built-in | -| [`config nu`](/commands/docs/config_nu.md) | Edit nu configurations. | built-in | -| [`config reset`](/commands/docs/config_reset.md) | Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu. | built-in | \ No newline at end of file +| name | description | type | +| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -------- | +| [`config env`](/commands/docs/config_env.md) | Edit nu environment configurations. | built-in | +| [`config flatten`](/commands/docs/config_flatten.md) | Show the current configuration in a flattened form. | built-in | +| [`config nu`](/commands/docs/config_nu.md) | Edit nu configurations. | built-in | +| [`config reset`](/commands/docs/config_reset.md) | Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu. | built-in | +| [`config use-colors`](/commands/docs/config_use-colors.md) | Get the configuration for color output. | built-in | \ No newline at end of file diff --git a/commands/docs/config_env.md b/commands/docs/config_env.md index aa4f3a7436c..ee561634b81 100644 --- a/commands/docs/config_env.md +++ b/commands/docs/config_env.md @@ -2,11 +2,13 @@ title: config env categories: | env -version: 0.101.0 +version: 0.102.0 env: | Edit nu environment configurations. usage: | Edit nu environment configurations. +editLink: false +contributors: false --- diff --git a/commands/docs/config_flatten.md b/commands/docs/config_flatten.md index fc5044f2e23..f1d804f2ac4 100644 --- a/commands/docs/config_flatten.md +++ b/commands/docs/config_flatten.md @@ -2,11 +2,13 @@ title: config flatten categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Show the current configuration in a flattened form. usage: | Show the current configuration in a flattened form. +editLink: false +contributors: false --- diff --git a/commands/docs/config_nu.md b/commands/docs/config_nu.md index 4bb092b1c15..7340352afc7 100644 --- a/commands/docs/config_nu.md +++ b/commands/docs/config_nu.md @@ -2,11 +2,13 @@ title: config nu categories: | env -version: 0.101.0 +version: 0.102.0 env: | Edit nu configurations. usage: | Edit nu configurations. +editLink: false +contributors: false --- diff --git a/commands/docs/config_reset.md b/commands/docs/config_reset.md index 426df0258df..5867dbb4889 100644 --- a/commands/docs/config_reset.md +++ b/commands/docs/config_reset.md @@ -2,11 +2,13 @@ title: config reset categories: | env -version: 0.101.0 +version: 0.102.0 env: | Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu. usage: | Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu. +editLink: false +contributors: false --- diff --git a/commands/docs/config_use-colors.md b/commands/docs/config_use-colors.md new file mode 100644 index 00000000000..59e74aa1deb --- /dev/null +++ b/commands/docs/config_use-colors.md @@ -0,0 +1,31 @@ +--- +title: config use-colors +categories: | + env +version: 0.102.0 +env: | + Get the configuration for color output. +usage: | + Get the configuration for color output. +editLink: false +contributors: false +--- + + +# `config use-colors` for [env](/commands/categories/env.md) + +
Get the configuration for color output.
+ +## Signature + +```> config use-colors {flags} ``` + + +## Input/output types: + +| input | output | +| ------- | ------ | +| nothing | bool | + +## Notes +Use this command instead of checking `$env.config.use_ansi_coloring` to properly handle the "auto" setting, including environment variables that influence its behavior. \ No newline at end of file diff --git a/commands/docs/const.md b/commands/docs/const.md index f83d391d5a3..1015f287df3 100644 --- a/commands/docs/const.md +++ b/commands/docs/const.md @@ -2,11 +2,13 @@ title: const categories: | core -version: 0.101.0 +version: 0.102.0 core: | Create a parse-time constant. usage: | Create a parse-time constant. +editLink: false +contributors: false --- diff --git a/commands/docs/continue.md b/commands/docs/continue.md index d9f9d56ae1a..3487a9422c7 100644 --- a/commands/docs/continue.md +++ b/commands/docs/continue.md @@ -2,11 +2,13 @@ title: continue categories: | core -version: 0.101.0 +version: 0.102.0 core: | Continue a loop from the next iteration. usage: | Continue a loop from the next iteration. +editLink: false +contributors: false --- diff --git a/commands/docs/cp.md b/commands/docs/cp.md index ed40d38b646..19c0c3b0a4f 100644 --- a/commands/docs/cp.md +++ b/commands/docs/cp.md @@ -2,11 +2,13 @@ title: cp categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Copy files using uutils/coreutils cp. usage: | Copy files using uutils/coreutils cp. +editLink: false +contributors: false --- diff --git a/commands/docs/date.md b/commands/docs/date.md index 096af90519a..153d8bca0c5 100644 --- a/commands/docs/date.md +++ b/commands/docs/date.md @@ -2,11 +2,13 @@ title: date categories: | date -version: 0.101.0 +version: 0.102.0 date: | Date-related commands. usage: | Date-related commands. +editLink: false +contributors: false --- @@ -36,6 +38,4 @@ You must use one of the following subcommands. Using this command as-is will onl | [`date humanize`](/commands/docs/date_humanize.md) | Print a 'humanized' format for the date, relative to now. | built-in | | [`date list-timezone`](/commands/docs/date_list-timezone.md) | List supported time zones. | built-in | | [`date now`](/commands/docs/date_now.md) | Get the current date. | built-in | -| [`date to-record`](/commands/docs/date_to-record.md) | Convert the date into a record. | built-in | -| [`date to-table`](/commands/docs/date_to-table.md) | Convert the date into a structured table. | built-in | | [`date to-timezone`](/commands/docs/date_to-timezone.md) | Convert a date to a given time zone. | built-in | \ No newline at end of file diff --git a/commands/docs/date_format.md b/commands/docs/date_format.md index 3b35bdda10b..e1803c0f385 100644 --- a/commands/docs/date_format.md +++ b/commands/docs/date_format.md @@ -2,11 +2,13 @@ title: date format categories: | removed -version: 0.101.0 +version: 0.102.0 removed: | Removed command: use `format date` instead. usage: | Removed command: use `format date` instead. +editLink: false +contributors: false --- diff --git a/commands/docs/date_humanize.md b/commands/docs/date_humanize.md index 367fe975384..72fe5ac54ee 100644 --- a/commands/docs/date_humanize.md +++ b/commands/docs/date_humanize.md @@ -2,11 +2,13 @@ title: date humanize categories: | date -version: 0.101.0 +version: 0.102.0 date: | Print a 'humanized' format for the date, relative to now. usage: | Print a 'humanized' format for the date, relative to now. +editLink: false +contributors: false --- diff --git a/commands/docs/date_list-timezone.md b/commands/docs/date_list-timezone.md index b7118f443aa..dcc7730baa0 100644 --- a/commands/docs/date_list-timezone.md +++ b/commands/docs/date_list-timezone.md @@ -2,11 +2,13 @@ title: date list-timezone categories: | date -version: 0.101.0 +version: 0.102.0 date: | List supported time zones. usage: | List supported time zones. +editLink: false +contributors: false --- diff --git a/commands/docs/date_now.md b/commands/docs/date_now.md index 666b26bb37c..8b35a2135d3 100644 --- a/commands/docs/date_now.md +++ b/commands/docs/date_now.md @@ -2,11 +2,13 @@ title: date now categories: | date -version: 0.101.0 +version: 0.102.0 date: | Get the current date. usage: | Get the current date. +editLink: false +contributors: false --- diff --git a/commands/docs/date_to-record.md b/commands/docs/date_to-record.md deleted file mode 100644 index 7dd9203bfcb..00000000000 --- a/commands/docs/date_to-record.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: date to-record -categories: | - deprecated -version: 0.101.0 -deprecated: | - Convert the date into a record. -usage: | - Convert the date into a record. ---- - - -# `date to-record` for [deprecated](/commands/categories/deprecated.md) - -
Convert the date into a record.
- -## Signature - -```> date to-record {flags} ``` - - -## Input/output types: - -| input | output | -| -------- | ------ | -| datetime | record | -| string | record | -## Examples - -Convert the current date into a record. -```nu -> date now | date to-record - -``` - -Convert a date string into a record. -```nu -> '2020-04-12T22:10:57.123+02:00' | date to-record -╭────────────┬───────────╮ -│ year │ 2020 │ -│ month │ 4 │ -│ day │ 12 │ -│ hour │ 22 │ -│ minute │ 10 │ -│ second │ 57 │ -│ nanosecond │ 123000000 │ -│ timezone │ +02:00 │ -╰────────────┴───────────╯ -``` - -Convert a date into a record. -```nu -> '2020-04-12 22:10:57 +0200' | into datetime | date to-record -╭────────────┬────────╮ -│ year │ 2020 │ -│ month │ 4 │ -│ day │ 12 │ -│ hour │ 22 │ -│ minute │ 10 │ -│ second │ 57 │ -│ nanosecond │ 0 │ -│ timezone │ +02:00 │ -╰────────────┴────────╯ -``` diff --git a/commands/docs/date_to-table.md b/commands/docs/date_to-table.md deleted file mode 100644 index c2821dde697..00000000000 --- a/commands/docs/date_to-table.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: date to-table -categories: | - deprecated -version: 0.101.0 -deprecated: | - Convert the date into a structured table. -usage: | - Convert the date into a structured table. ---- - - -# `date to-table` for [deprecated](/commands/categories/deprecated.md) - -
Convert the date into a structured table.
- -## Signature - -```> date to-table {flags} ``` - - -## Input/output types: - -| input | output | -| -------- | ------ | -| datetime | table | -| string | table | -## Examples - -Convert the current date into a table. -```nu -> date now | date to-table - -``` - -Convert a given date into a table. -```nu -> 2020-04-12T22:10:57.000000789+02:00 | date to-table -╭───┬──────┬───────┬─────┬──────┬────────┬────────┬────────────┬──────────╮ -│ # │ year │ month │ day │ hour │ minute │ second │ nanosecond │ timezone │ -├───┼──────┼───────┼─────┼──────┼────────┼────────┼────────────┼──────────┤ -│ 0 │ 2020 │ 4 │ 12 │ 22 │ 10 │ 57 │ 789 │ +02:00 │ -╰───┴──────┴───────┴─────┴──────┴────────┴────────┴────────────┴──────────╯ - -``` - -Convert a given date into a table. -```nu -> '2020-04-12 22:10:57 +0200' | into datetime | date to-table -╭───┬──────┬───────┬─────┬──────┬────────┬────────┬────────────┬──────────╮ -│ # │ year │ month │ day │ hour │ minute │ second │ nanosecond │ timezone │ -├───┼──────┼───────┼─────┼──────┼────────┼────────┼────────────┼──────────┤ -│ 0 │ 2020 │ 4 │ 12 │ 22 │ 10 │ 57 │ 0 │ +02:00 │ -╰───┴──────┴───────┴─────┴──────┴────────┴────────┴────────────┴──────────╯ - -``` diff --git a/commands/docs/date_to-timezone.md b/commands/docs/date_to-timezone.md index 9aa8ad7fdfb..5f56efdc872 100644 --- a/commands/docs/date_to-timezone.md +++ b/commands/docs/date_to-timezone.md @@ -2,11 +2,13 @@ title: date to-timezone categories: | date -version: 0.101.0 +version: 0.102.0 date: | Convert a date to a given time zone. usage: | Convert a date to a given time zone. +editLink: false +contributors: false --- diff --git a/commands/docs/debug.md b/commands/docs/debug.md index c5616045cff..d061bf8e096 100644 --- a/commands/docs/debug.md +++ b/commands/docs/debug.md @@ -2,11 +2,13 @@ title: debug categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Debug print the value(s) piped in. usage: | Debug print the value(s) piped in. +editLink: false +contributors: false --- diff --git a/commands/docs/debug_info.md b/commands/docs/debug_info.md index 5bcfb6e9f49..e8c1f892653 100644 --- a/commands/docs/debug_info.md +++ b/commands/docs/debug_info.md @@ -2,11 +2,13 @@ title: debug info categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | View process memory info. usage: | View process memory info. +editLink: false +contributors: false --- diff --git a/commands/docs/debug_profile.md b/commands/docs/debug_profile.md index 21597429c56..8b80cc5b037 100644 --- a/commands/docs/debug_profile.md +++ b/commands/docs/debug_profile.md @@ -2,11 +2,13 @@ title: debug profile categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Profile pipeline elements in a closure. usage: | Profile pipeline elements in a closure. +editLink: false +contributors: false --- @@ -24,6 +26,7 @@ usage: | - `--expand-source, -e`: Collect full source fragments of profiled elements - `--values, -v`: Collect pipeline element output values - `--lines, -l`: Collect line numbers + - `--duration-values, -d`: Report instruction duration as duration values rather than milliseconds - `--max-depth, -m {int}`: How many blocks/closures deep to step into (default 2) ## Parameters @@ -65,7 +68,7 @@ The output can be heavily customized. By default, the following columns are incl be shown with the --expand-source flag. - pc : The index of the instruction within the block. - instruction : The pretty printed instruction being evaluated. -- duration_ms : How long it took to run the instruction in milliseconds. +- duration : How long it took to run the instruction. - (optional) span : Span associated with the instruction. Can be viewed via the `view span` command. Enabled with the --spans flag. - (optional) output : The output value of the instruction. Enabled with the --values flag. diff --git a/commands/docs/decode.md b/commands/docs/decode.md index 86be670b732..5de964341bb 100644 --- a/commands/docs/decode.md +++ b/commands/docs/decode.md @@ -2,11 +2,13 @@ title: decode categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Decode bytes into a string. usage: | Decode bytes into a string. +editLink: false +contributors: false --- diff --git a/commands/docs/decode_base32.md b/commands/docs/decode_base32.md index 4420c1232b6..059d1758076 100644 --- a/commands/docs/decode_base32.md +++ b/commands/docs/decode_base32.md @@ -2,11 +2,13 @@ title: decode base32 categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Decode a Base32 value. usage: | Decode a Base32 value. +editLink: false +contributors: false --- diff --git a/commands/docs/decode_base32hex.md b/commands/docs/decode_base32hex.md index ad2d13d7b16..637e4d2ec95 100644 --- a/commands/docs/decode_base32hex.md +++ b/commands/docs/decode_base32hex.md @@ -2,11 +2,13 @@ title: decode base32hex categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Encode a base32hex value. usage: | Encode a base32hex value. +editLink: false +contributors: false --- diff --git a/commands/docs/decode_base64.md b/commands/docs/decode_base64.md index aff61e69d0b..6b7d0c812d7 100644 --- a/commands/docs/decode_base64.md +++ b/commands/docs/decode_base64.md @@ -2,11 +2,13 @@ title: decode base64 categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Decode a Base64 value. usage: | Decode a Base64 value. +editLink: false +contributors: false --- diff --git a/commands/docs/decode_hex.md b/commands/docs/decode_hex.md index a7c08c83dbe..e11375813b1 100644 --- a/commands/docs/decode_hex.md +++ b/commands/docs/decode_hex.md @@ -2,11 +2,13 @@ title: decode hex categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Hex decode a value. usage: | Hex decode a value. +editLink: false +contributors: false --- diff --git a/commands/docs/def.md b/commands/docs/def.md index 1f4096bd64a..f2c98120b23 100644 --- a/commands/docs/def.md +++ b/commands/docs/def.md @@ -2,11 +2,13 @@ title: def categories: | core -version: 0.101.0 +version: 0.102.0 core: | Define a custom command. usage: | Define a custom command. +editLink: false +contributors: false --- diff --git a/commands/docs/default.md b/commands/docs/default.md index 1f0090e6f37..2ed6f6a0f77 100644 --- a/commands/docs/default.md +++ b/commands/docs/default.md @@ -2,11 +2,13 @@ title: default categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Sets a default value if a row's column is missing or null. usage: | Sets a default value if a row's column is missing or null. +editLink: false +contributors: false --- diff --git a/commands/docs/describe.md b/commands/docs/describe.md index a617a93bc52..8e7500679fb 100644 --- a/commands/docs/describe.md +++ b/commands/docs/describe.md @@ -2,11 +2,13 @@ title: describe categories: | core -version: 0.101.0 +version: 0.102.0 core: | Describe the type and structure of the value(s) piped in. usage: | Describe the type and structure of the value(s) piped in. +editLink: false +contributors: false --- diff --git a/commands/docs/detect_columns.md b/commands/docs/detect_columns.md index 529bda3a18e..d3d03202aa0 100644 --- a/commands/docs/detect_columns.md +++ b/commands/docs/detect_columns.md @@ -2,11 +2,13 @@ title: detect columns categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Attempt to automatically split text into multiple columns. usage: | Attempt to automatically split text into multiple columns. +editLink: false +contributors: false --- diff --git a/commands/docs/do.md b/commands/docs/do.md index 1ee8caa8cd8..c0adeb09943 100644 --- a/commands/docs/do.md +++ b/commands/docs/do.md @@ -2,11 +2,13 @@ title: do categories: | core -version: 0.101.0 +version: 0.102.0 core: | Run a closure, providing it with the pipeline input. usage: | Run a closure, providing it with the pipeline input. +editLink: false +contributors: false --- diff --git a/commands/docs/drop.md b/commands/docs/drop.md index 981e33a0223..fa20ae543cd 100644 --- a/commands/docs/drop.md +++ b/commands/docs/drop.md @@ -2,11 +2,13 @@ title: drop categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Remove items/rows from the end of the input list/table. Counterpart of `skip`. Opposite of `last`. usage: | Remove items/rows from the end of the input list/table. Counterpart of `skip`. Opposite of `last`. +editLink: false +contributors: false --- diff --git a/commands/docs/drop_column.md b/commands/docs/drop_column.md index 2d3a5045715..3dadb80ce3f 100644 --- a/commands/docs/drop_column.md +++ b/commands/docs/drop_column.md @@ -2,11 +2,13 @@ title: drop column categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Remove N columns at the right-hand end of the input table. To remove columns by name, use `reject`. usage: | Remove N columns at the right-hand end of the input table. To remove columns by name, use `reject`. +editLink: false +contributors: false --- diff --git a/commands/docs/drop_nth.md b/commands/docs/drop_nth.md index 28f1bc9f6f0..fbf1a8bb19b 100644 --- a/commands/docs/drop_nth.md +++ b/commands/docs/drop_nth.md @@ -2,11 +2,13 @@ title: drop nth categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Drop the selected rows. usage: | Drop the selected rows. +editLink: false +contributors: false --- @@ -26,10 +28,10 @@ usage: | ## Input/output types: -| input | output | -| --------- | --------- | -| list\ | list\ | - +| input | output | +| --------- | ------------ | +| list\ | list\ | +| range | list\ | ## Examples Drop the first, second, and third row diff --git a/commands/docs/du.md b/commands/docs/du.md index 3fa7438f081..811aefb8c36 100644 --- a/commands/docs/du.md +++ b/commands/docs/du.md @@ -2,11 +2,13 @@ title: du categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Find disk usage sizes of specified items. usage: | Find disk usage sizes of specified items. +editLink: false +contributors: false --- diff --git a/commands/docs/each.md b/commands/docs/each.md index dfc55f71134..c5e8fc20278 100644 --- a/commands/docs/each.md +++ b/commands/docs/each.md @@ -2,11 +2,13 @@ title: each categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Run a closure on each row of the input list, creating a new list with the results. usage: | Run a closure on each row of the input list, creating a new list with the results. +editLink: false +contributors: false --- diff --git a/commands/docs/each_while.md b/commands/docs/each_while.md index cbdd7fc4550..41744358935 100644 --- a/commands/docs/each_while.md +++ b/commands/docs/each_while.md @@ -2,11 +2,13 @@ title: each while categories: | filters -version: 0.101.0 +version: 0.102.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: | Run a closure on each row of the input list until a null is found, then create a new list with the results. +editLink: false +contributors: false --- diff --git a/commands/docs/echo.md b/commands/docs/echo.md index 5fc6273df9d..70de57967b7 100644 --- a/commands/docs/echo.md +++ b/commands/docs/echo.md @@ -2,11 +2,13 @@ title: echo categories: | core -version: 0.101.0 +version: 0.102.0 core: | Returns its arguments, ignoring the piped-in value. usage: | Returns its arguments, ignoring the piped-in value. +editLink: false +contributors: false --- diff --git a/commands/docs/encode.md b/commands/docs/encode.md index 433d1b302b3..5c61505efcb 100644 --- a/commands/docs/encode.md +++ b/commands/docs/encode.md @@ -2,11 +2,13 @@ title: encode categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Encode a string into bytes. usage: | Encode a string into bytes. +editLink: false +contributors: false --- diff --git a/commands/docs/encode_base32.md b/commands/docs/encode_base32.md index 9c756eefd05..8b3d43bdb56 100644 --- a/commands/docs/encode_base32.md +++ b/commands/docs/encode_base32.md @@ -2,11 +2,13 @@ title: encode base32 categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Encode a string or binary value using Base32. usage: | Encode a string or binary value using Base32. +editLink: false +contributors: false --- diff --git a/commands/docs/encode_base32hex.md b/commands/docs/encode_base32hex.md index 1c4f17534e1..7d67473e69e 100644 --- a/commands/docs/encode_base32hex.md +++ b/commands/docs/encode_base32hex.md @@ -2,11 +2,13 @@ title: encode base32hex categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Encode a binary value or a string using base32hex. usage: | Encode a binary value or a string using base32hex. +editLink: false +contributors: false --- diff --git a/commands/docs/encode_base64.md b/commands/docs/encode_base64.md index 0dd9615bfa9..b0133ee4627 100644 --- a/commands/docs/encode_base64.md +++ b/commands/docs/encode_base64.md @@ -2,11 +2,13 @@ title: encode base64 categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Encode a string or binary value using Base64. usage: | Encode a string or binary value using Base64. +editLink: false +contributors: false --- diff --git a/commands/docs/encode_hex.md b/commands/docs/encode_hex.md index db14dbefade..797c8c8207c 100644 --- a/commands/docs/encode_hex.md +++ b/commands/docs/encode_hex.md @@ -2,11 +2,13 @@ title: encode hex categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Hex encode a binary value or a string. usage: | Hex encode a binary value or a string. +editLink: false +contributors: false --- diff --git a/commands/docs/enumerate.md b/commands/docs/enumerate.md index 68594e84275..73d65b3fa1c 100644 --- a/commands/docs/enumerate.md +++ b/commands/docs/enumerate.md @@ -2,11 +2,13 @@ title: enumerate categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Enumerate the elements in a stream. usage: | Enumerate the elements in a stream. +editLink: false +contributors: false --- diff --git a/commands/docs/error_make.md b/commands/docs/error_make.md index 5cfb1141365..50803b3b8aa 100644 --- a/commands/docs/error_make.md +++ b/commands/docs/error_make.md @@ -2,11 +2,13 @@ title: error make categories: | core -version: 0.101.0 +version: 0.102.0 core: | Create an error. usage: | Create an error. +editLink: false +contributors: false --- diff --git a/commands/docs/every.md b/commands/docs/every.md index ad3e5eff424..3d93c5e027f 100644 --- a/commands/docs/every.md +++ b/commands/docs/every.md @@ -2,11 +2,13 @@ title: every categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Show (or skip) every n-th row, starting from the first one. usage: | Show (or skip) every n-th row, starting from the first one. +editLink: false +contributors: false --- diff --git a/commands/docs/exec.md b/commands/docs/exec.md index 867e1a5d1a7..022b07cd30a 100644 --- a/commands/docs/exec.md +++ b/commands/docs/exec.md @@ -2,11 +2,13 @@ title: exec categories: | system -version: 0.101.0 +version: 0.102.0 system: | Execute a command, replacing or exiting the current process, depending on platform. usage: | Execute a command, replacing or exiting the current process, depending on platform. +editLink: false +contributors: false --- @@ -16,11 +18,11 @@ usage: | ## Signature -```> exec {flags} (command)``` +```> exec {flags} ...rest``` ## Parameters - - `command`: The command to execute. + - `...rest`: External command to run, with arguments. ## Input/output types: diff --git a/commands/docs/exit.md b/commands/docs/exit.md index 77bd8969734..cb66c25f37e 100644 --- a/commands/docs/exit.md +++ b/commands/docs/exit.md @@ -2,11 +2,13 @@ title: exit categories: | shells -version: 0.101.0 +version: 0.102.0 shells: | Exit Nu. usage: | Exit Nu. +editLink: false +contributors: false --- diff --git a/commands/docs/explain.md b/commands/docs/explain.md index 98123679999..062e12a0e1f 100644 --- a/commands/docs/explain.md +++ b/commands/docs/explain.md @@ -2,11 +2,13 @@ title: explain categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Explain closure contents. usage: | Explain closure contents. +editLink: false +contributors: false --- diff --git a/commands/docs/explore.md b/commands/docs/explore.md index a30179479ae..43a8ae99c24 100644 --- a/commands/docs/explore.md +++ b/commands/docs/explore.md @@ -2,11 +2,13 @@ title: explore categories: | viewers -version: 0.101.0 +version: 0.102.0 viewers: | Explore acts as a table pager, just like `less` does for text. usage: | Explore acts as a table pager, just like `less` does for text. +editLink: false +contributors: false --- diff --git a/commands/docs/export-env.md b/commands/docs/export-env.md index eb0990afbe0..8cfdbf7ce5e 100644 --- a/commands/docs/export-env.md +++ b/commands/docs/export-env.md @@ -2,11 +2,13 @@ title: export-env categories: | env -version: 0.101.0 +version: 0.102.0 env: | Run a block and preserve its environment in a current scope. usage: | Run a block and preserve its environment in a current scope. +editLink: false +contributors: false --- diff --git a/commands/docs/export.md b/commands/docs/export.md index c139e170978..fe4988b4cb9 100644 --- a/commands/docs/export.md +++ b/commands/docs/export.md @@ -2,11 +2,13 @@ title: export categories: | core -version: 0.101.0 +version: 0.102.0 core: | Export definitions or environment variables from a module. usage: | Export definitions or environment variables from a module. +editLink: false +contributors: false --- diff --git a/commands/docs/export_alias.md b/commands/docs/export_alias.md index a69308229f5..e7c72c0115c 100644 --- a/commands/docs/export_alias.md +++ b/commands/docs/export_alias.md @@ -2,11 +2,13 @@ title: export alias categories: | core -version: 0.101.0 +version: 0.102.0 core: | Alias a command (with optional flags) to a new name and export it from a module. usage: | Alias a command (with optional flags) to a new name and export it from a module. +editLink: false +contributors: false --- diff --git a/commands/docs/export_const.md b/commands/docs/export_const.md index 427da289eaa..a493e057417 100644 --- a/commands/docs/export_const.md +++ b/commands/docs/export_const.md @@ -2,11 +2,13 @@ title: export const categories: | core -version: 0.101.0 +version: 0.102.0 core: | Use parse-time constant from a module and export them from this module. usage: | Use parse-time constant from a module and export them from this module. +editLink: false +contributors: false --- diff --git a/commands/docs/export_def.md b/commands/docs/export_def.md index d049b9631b8..6309f9341a0 100644 --- a/commands/docs/export_def.md +++ b/commands/docs/export_def.md @@ -2,11 +2,13 @@ title: export def categories: | core -version: 0.101.0 +version: 0.102.0 core: | Define a custom command and export it from a module. usage: | Define a custom command and export it from a module. +editLink: false +contributors: false --- diff --git a/commands/docs/export_extern.md b/commands/docs/export_extern.md index 34e641b6e48..f2c00b5d0dc 100644 --- a/commands/docs/export_extern.md +++ b/commands/docs/export_extern.md @@ -2,11 +2,13 @@ title: export extern categories: | core -version: 0.101.0 +version: 0.102.0 core: | Define an extern and export it from a module. usage: | Define an extern and export it from a module. +editLink: false +contributors: false --- diff --git a/commands/docs/export_module.md b/commands/docs/export_module.md index 8e0c6e29c2e..81146d7915c 100644 --- a/commands/docs/export_module.md +++ b/commands/docs/export_module.md @@ -2,11 +2,13 @@ title: export module categories: | core -version: 0.101.0 +version: 0.102.0 core: | Export a custom module from a module. usage: | Export a custom module from a module. +editLink: false +contributors: false --- diff --git a/commands/docs/export_use.md b/commands/docs/export_use.md index fce5a1fa523..25bced420f1 100644 --- a/commands/docs/export_use.md +++ b/commands/docs/export_use.md @@ -2,11 +2,13 @@ title: export use categories: | core -version: 0.101.0 +version: 0.102.0 core: | Use definitions from a module and export them from this module. usage: | Use definitions from a module and export them from this module. +editLink: false +contributors: false --- diff --git a/commands/docs/extern.md b/commands/docs/extern.md index 7662d01f416..0ce7deb6a82 100644 --- a/commands/docs/extern.md +++ b/commands/docs/extern.md @@ -2,11 +2,13 @@ title: extern categories: | core -version: 0.101.0 +version: 0.102.0 core: | Define a signature for an external command. usage: | Define a signature for an external command. +editLink: false +contributors: false --- diff --git a/commands/docs/fill.md b/commands/docs/fill.md index 9cfae812689..5c9cfd23bf0 100644 --- a/commands/docs/fill.md +++ b/commands/docs/fill.md @@ -2,11 +2,13 @@ title: fill categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Fill and Align. usage: | Fill and Align. +editLink: false +contributors: false --- diff --git a/commands/docs/filter.md b/commands/docs/filter.md index ae036c29e1b..2cb947f58bf 100644 --- a/commands/docs/filter.md +++ b/commands/docs/filter.md @@ -2,11 +2,13 @@ title: filter categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Filter values based on a predicate closure. usage: | Filter values based on a predicate closure. +editLink: false +contributors: false --- diff --git a/commands/docs/find.md b/commands/docs/find.md index 0ad57f710b8..c20c1f1708a 100644 --- a/commands/docs/find.md +++ b/commands/docs/find.md @@ -2,11 +2,13 @@ title: find categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Searches terms in the input. usage: | Searches terms in the input. +editLink: false +contributors: false --- @@ -25,6 +27,7 @@ usage: | - `--multiline, -m`: multi-line regex mode: ^ and $ match begin/end of line; equivalent to (?m) - `--dotall, -s`: dotall regex mode: allow a dot . to match newlines \n; equivalent to (?s) - `--columns, -c {list}`: column names to be searched (with rest parameter, not regex yet) + - `--no-highlight, -n`: no-highlight mode: find without marking with ascii code - `--invert, -v`: invert the match ## Parameters @@ -55,10 +58,10 @@ Cargo.toml Search a number or a file size in a list of numbers ```nu > [1 5 3kb 4 3Mb] | find 5 3kb -╭───┬─────────╮ -│ 0 │ 5 │ -│ 1 │ 2.9 KiB │ -╰───┴─────────╯ +╭───┬────────╮ +│ 0 │ 5 │ +│ 1 │ 3.0 kB │ +╰───┴────────╯ ``` @@ -141,7 +144,12 @@ Find inverted values in records using regex Remove ANSI sequences from result ```nu -> [[foo bar]; [abc 123] [def 456]] | find 123 | get bar | ansi strip +> [[foo bar]; [abc 123] [def 456]] | find --no-highlight 123 +╭───┬─────┬─────╮ +│ # │ foo │ bar │ +├───┼─────┼─────┤ +│ 0 │ abc │ 123 │ +╰───┴─────┴─────╯ ``` diff --git a/commands/docs/first.md b/commands/docs/first.md index d0473284b22..edbbd0e89de 100644 --- a/commands/docs/first.md +++ b/commands/docs/first.md @@ -2,11 +2,13 @@ title: first categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Return only the first several rows of the input. Counterpart of `last`. Opposite of `skip`. usage: | Return only the first several rows of the input. Counterpart of `last`. Opposite of `skip`. +editLink: false +contributors: false --- diff --git a/commands/docs/flatten.md b/commands/docs/flatten.md index a6667bb323e..ea8a89b4bac 100644 --- a/commands/docs/flatten.md +++ b/commands/docs/flatten.md @@ -2,11 +2,13 @@ title: flatten categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Flatten the table. usage: | Flatten the table. +editLink: false +contributors: false --- diff --git a/commands/docs/fmt.md b/commands/docs/fmt.md index 9329b9bf617..9befd8ea718 100644 --- a/commands/docs/fmt.md +++ b/commands/docs/fmt.md @@ -1,16 +1,18 @@ --- title: fmt categories: | - conversions -version: 0.101.0 -conversions: | + deprecated +version: 0.102.0 +deprecated: | Format a number. usage: | Format a number. +editLink: false +contributors: false --- -# `fmt` for [conversions](/commands/categories/conversions.md) +# `fmt` for [deprecated](/commands/categories/deprecated.md)
Format a number.
diff --git a/commands/docs/for.md b/commands/docs/for.md index f33121ab49b..298b7da6a38 100644 --- a/commands/docs/for.md +++ b/commands/docs/for.md @@ -2,11 +2,13 @@ title: for categories: | core -version: 0.101.0 +version: 0.102.0 core: | Loop over a range. usage: | Loop over a range. +editLink: false +contributors: false --- diff --git a/commands/docs/format.md b/commands/docs/format.md index fd1244627cc..7819aeff9a9 100644 --- a/commands/docs/format.md +++ b/commands/docs/format.md @@ -2,11 +2,13 @@ title: format categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Various commands for formatting data. usage: | Various commands for formatting data. +editLink: false +contributors: false --- @@ -30,9 +32,11 @@ You must use one of the following subcommands. Using this command as-is will onl ## Subcommands: -| name | description | type | -| ------------------------------------------------------ | -------------------------------------------------------- | -------- | -| [`format date`](/commands/docs/format_date.md) | Format a given date using a format string. | built-in | -| [`format duration`](/commands/docs/format_duration.md) | Outputs duration with a specified unit of time. | built-in | -| [`format filesize`](/commands/docs/format_filesize.md) | Converts a column of filesizes to some specified format. | built-in | -| [`format pattern`](/commands/docs/format_pattern.md) | Format columns into a string using a simple pattern. | built-in | \ No newline at end of file +| name | description | type | +| ------------------------------------------------------ | ---------------------------------------------------------------- | -------- | +| [`format bits`](/commands/docs/format_bits.md) | Convert value to a string of binary data represented by 0 and 1. | built-in | +| [`format date`](/commands/docs/format_date.md) | Format a given date using a format string. | built-in | +| [`format duration`](/commands/docs/format_duration.md) | Outputs duration with a specified unit of time. | built-in | +| [`format filesize`](/commands/docs/format_filesize.md) | Converts a column of filesizes to some specified format. | built-in | +| [`format number`](/commands/docs/format_number.md) | Format a number. | built-in | +| [`format pattern`](/commands/docs/format_pattern.md) | Format columns into a string using a simple pattern. | built-in | \ No newline at end of file diff --git a/commands/docs/format_bits.md b/commands/docs/format_bits.md new file mode 100644 index 00000000000..a839246b387 --- /dev/null +++ b/commands/docs/format_bits.md @@ -0,0 +1,76 @@ +--- +title: format bits +categories: | + conversions +version: 0.102.0 +conversions: | + Convert value to a string of binary data represented by 0 and 1. +usage: | + Convert value to a string of binary data represented by 0 and 1. +editLink: false +contributors: false +--- + + +# `format bits` for [conversions](/commands/categories/conversions.md) + +
Convert value to a string of binary data represented by 0 and 1.
+ +## Signature + +```> format bits {flags} ...rest``` + +## Parameters + + - `...rest`: for a data structure input, convert data at the given cell paths + + +## Input/output types: + +| input | output | +| -------- | ------ | +| binary | string | +| bool | string | +| duration | string | +| filesize | string | +| int | string | +| record | record | +| string | string | +| table | table | +## Examples + +convert a binary value into a string, padded to 8 places with 0s +```nu +> 0x[1] | format bits +00000001 +``` + +convert an int into a string, padded to 8 places with 0s +```nu +> 1 | format bits +00000001 +``` + +convert a filesize value into a string, padded to 8 places with 0s +```nu +> 1b | format bits +00000001 +``` + +convert a duration value into a string, padded to 8 places with 0s +```nu +> 1ns | format bits +00000001 +``` + +convert a boolean value into a string, padded to 8 places with 0s +```nu +> true | format bits +00000001 +``` + +convert a string into a raw binary string, padded with 0s to 8 places +```nu +> 'nushell.sh' | format bits +01101110 01110101 01110011 01101000 01100101 01101100 01101100 00101110 01110011 01101000 +``` diff --git a/commands/docs/format_date.md b/commands/docs/format_date.md index 5ca26eeec05..03bf2314467 100644 --- a/commands/docs/format_date.md +++ b/commands/docs/format_date.md @@ -2,11 +2,13 @@ title: format date categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Format a given date using a format string. usage: | Format a given date using a format string. +editLink: false +contributors: false --- @@ -31,6 +33,7 @@ usage: | | input | output | | -------- | ------ | +| any | table | | datetime | string | | nothing | table | | string | string | diff --git a/commands/docs/format_duration.md b/commands/docs/format_duration.md index 192b7821c27..554202c4d91 100644 --- a/commands/docs/format_duration.md +++ b/commands/docs/format_duration.md @@ -2,11 +2,13 @@ title: format duration categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Outputs duration with a specified unit of time. usage: | Outputs duration with a specified unit of time. +editLink: false +contributors: false --- diff --git a/commands/docs/format_filesize.md b/commands/docs/format_filesize.md index 02579dbb3d1..1d38e8ab93c 100644 --- a/commands/docs/format_filesize.md +++ b/commands/docs/format_filesize.md @@ -2,11 +2,13 @@ title: format filesize categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Converts a column of filesizes to some specified format. usage: | Converts a column of filesizes to some specified format. +editLink: false +contributors: false --- @@ -47,6 +49,6 @@ Convert the apparent column to B Convert the size data to MB ```nu -> 4Gb | format filesize MB -4000.0 MB +> 4GB | format filesize MB +4000 MB ``` diff --git a/commands/docs/format_number.md b/commands/docs/format_number.md new file mode 100644 index 00000000000..79e37ee985f --- /dev/null +++ b/commands/docs/format_number.md @@ -0,0 +1,45 @@ +--- +title: format number +categories: | + conversions +version: 0.102.0 +conversions: | + Format a number. +usage: | + Format a number. +editLink: false +contributors: false +--- + + +# `format number` for [conversions](/commands/categories/conversions.md) + +
Format a number.
+ +## Signature + +```> format number {flags} ``` + + +## Input/output types: + +| input | output | +| ------ | ------ | +| number | record | + +## Examples + +Get a record containing multiple formats for the number 42 +```nu +> 42 | format number +╭──────────┬──────────╮ +│ binary │ 0b101010 │ +│ debug │ 42 │ +│ display │ 42 │ +│ lowerexp │ 4.2e1 │ +│ lowerhex │ 0x2a │ +│ octal │ 0o52 │ +│ upperexp │ 4.2E1 │ +│ upperhex │ 0x2A │ +╰──────────┴──────────╯ +``` diff --git a/commands/docs/format_pattern.md b/commands/docs/format_pattern.md index 1a653e349f0..955888c382f 100644 --- a/commands/docs/format_pattern.md +++ b/commands/docs/format_pattern.md @@ -2,11 +2,13 @@ title: format pattern categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Format columns into a string using a simple pattern. usage: | Format columns into a string using a simple pattern. +editLink: false +contributors: false --- diff --git a/commands/docs/from.md b/commands/docs/from.md index e34cabab790..52fad97ab24 100644 --- a/commands/docs/from.md +++ b/commands/docs/from.md @@ -2,11 +2,13 @@ title: from categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse a string or binary data into structured data. usage: | Parse a string or binary data into structured data. +editLink: false +contributors: false --- diff --git a/commands/docs/from_csv.md b/commands/docs/from_csv.md index 892e585bd7a..414ec9ec8db 100644 --- a/commands/docs/from_csv.md +++ b/commands/docs/from_csv.md @@ -2,11 +2,13 @@ title: from csv categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse text as .csv and create table. usage: | Parse text as .csv and create table. +editLink: false +contributors: false --- diff --git a/commands/docs/from_eml.md b/commands/docs/from_eml.md index a8555aee9a6..7c26e6a5b9f 100644 --- a/commands/docs/from_eml.md +++ b/commands/docs/from_eml.md @@ -2,11 +2,13 @@ title: from eml categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse text as .eml and create record. usage: | Parse text as .eml and create record. +editLink: false +contributors: false --- diff --git a/commands/docs/from_ics.md b/commands/docs/from_ics.md index 6736c3480e5..c30849b5f84 100644 --- a/commands/docs/from_ics.md +++ b/commands/docs/from_ics.md @@ -2,11 +2,13 @@ title: from ics categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse text as .ics and create table. usage: | Parse text as .ics and create table. +editLink: false +contributors: false --- diff --git a/commands/docs/from_ini.md b/commands/docs/from_ini.md index f862e6d791a..53f0f8fd1f6 100644 --- a/commands/docs/from_ini.md +++ b/commands/docs/from_ini.md @@ -2,11 +2,13 @@ title: from ini categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse text as .ini and create table. usage: | Parse text as .ini and create table. +editLink: false +contributors: false --- diff --git a/commands/docs/from_json.md b/commands/docs/from_json.md index 76771e178c7..dc129afdebb 100644 --- a/commands/docs/from_json.md +++ b/commands/docs/from_json.md @@ -2,11 +2,13 @@ title: from json categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert from json to structured data. usage: | Convert from json to structured data. +editLink: false +contributors: false --- diff --git a/commands/docs/from_msgpack.md b/commands/docs/from_msgpack.md index 33122c59cf9..67a2198c2ee 100644 --- a/commands/docs/from_msgpack.md +++ b/commands/docs/from_msgpack.md @@ -2,11 +2,13 @@ title: from msgpack categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert MessagePack data into Nu values. usage: | Convert MessagePack data into Nu values. +editLink: false +contributors: false --- diff --git a/commands/docs/from_msgpackz.md b/commands/docs/from_msgpackz.md index 000070bee98..c1c7f9f9771 100644 --- a/commands/docs/from_msgpackz.md +++ b/commands/docs/from_msgpackz.md @@ -2,11 +2,13 @@ title: from msgpackz categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert brotli-compressed MessagePack data into Nu values. usage: | Convert brotli-compressed MessagePack data into Nu values. +editLink: false +contributors: false --- diff --git a/commands/docs/from_nuon.md b/commands/docs/from_nuon.md index ffa7d5d1ae6..c13706482e5 100644 --- a/commands/docs/from_nuon.md +++ b/commands/docs/from_nuon.md @@ -2,11 +2,13 @@ title: from nuon categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert from nuon to structured data. usage: | Convert from nuon to structured data. +editLink: false +contributors: false --- diff --git a/commands/docs/from_ods.md b/commands/docs/from_ods.md index 624e11cacd1..45875b9d6f2 100644 --- a/commands/docs/from_ods.md +++ b/commands/docs/from_ods.md @@ -2,11 +2,13 @@ title: from ods categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse OpenDocument Spreadsheet(.ods) data and create table. usage: | Parse OpenDocument Spreadsheet(.ods) data and create table. +editLink: false +contributors: false --- diff --git a/commands/docs/from_plist.md b/commands/docs/from_plist.md index 252cf9713c7..290a9b6cb42 100644 --- a/commands/docs/from_plist.md +++ b/commands/docs/from_plist.md @@ -2,11 +2,13 @@ title: from plist categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert plist to Nushell values usage: | Convert plist to Nushell values +editLink: false +contributors: false --- diff --git a/commands/docs/from_ssv.md b/commands/docs/from_ssv.md index 66106c58935..73bedde7dcc 100644 --- a/commands/docs/from_ssv.md +++ b/commands/docs/from_ssv.md @@ -2,11 +2,13 @@ title: from ssv categories: | formats -version: 0.101.0 +version: 0.102.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: | Parse text as space-separated values and create a table. The default minimum number of spaces counted as a separator is 2. +editLink: false +contributors: false --- diff --git a/commands/docs/from_toml.md b/commands/docs/from_toml.md index 5cf95a43687..4d2b0d4df9a 100644 --- a/commands/docs/from_toml.md +++ b/commands/docs/from_toml.md @@ -2,11 +2,13 @@ title: from toml categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse text as .toml and create record. usage: | Parse text as .toml and create record. +editLink: false +contributors: false --- diff --git a/commands/docs/from_tsv.md b/commands/docs/from_tsv.md index 54ca102e91f..22a9b314a0f 100644 --- a/commands/docs/from_tsv.md +++ b/commands/docs/from_tsv.md @@ -2,11 +2,13 @@ title: from tsv categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse text as .tsv and create table. usage: | Parse text as .tsv and create table. +editLink: false +contributors: false --- diff --git a/commands/docs/from_url.md b/commands/docs/from_url.md index 65daad1d6ee..653748ed221 100644 --- a/commands/docs/from_url.md +++ b/commands/docs/from_url.md @@ -2,11 +2,13 @@ title: from url categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse url-encoded string as a record. usage: | Parse url-encoded string as a record. +editLink: false +contributors: false --- diff --git a/commands/docs/from_vcf.md b/commands/docs/from_vcf.md index 8036363b456..76e24710d44 100644 --- a/commands/docs/from_vcf.md +++ b/commands/docs/from_vcf.md @@ -2,11 +2,13 @@ title: from vcf categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse text as .vcf and create table. usage: | Parse text as .vcf and create table. +editLink: false +contributors: false --- diff --git a/commands/docs/from_xlsx.md b/commands/docs/from_xlsx.md index 2bf8b2f0cda..91380d425ee 100644 --- a/commands/docs/from_xlsx.md +++ b/commands/docs/from_xlsx.md @@ -2,11 +2,13 @@ title: from xlsx categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse binary Excel(.xlsx) data and create table. usage: | Parse binary Excel(.xlsx) data and create table. +editLink: false +contributors: false --- diff --git a/commands/docs/from_xml.md b/commands/docs/from_xml.md index 615e5b1b898..3116e000ff7 100644 --- a/commands/docs/from_xml.md +++ b/commands/docs/from_xml.md @@ -2,11 +2,13 @@ title: from xml categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse text as .xml and create record. usage: | Parse text as .xml and create record. +editLink: false +contributors: false --- diff --git a/commands/docs/from_yaml.md b/commands/docs/from_yaml.md index 0d9553736db..d6841ac8d40 100644 --- a/commands/docs/from_yaml.md +++ b/commands/docs/from_yaml.md @@ -2,11 +2,13 @@ title: from yaml categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse text as .yaml/.yml and create table. usage: | Parse text as .yaml/.yml and create table. +editLink: false +contributors: false --- diff --git a/commands/docs/from_yml.md b/commands/docs/from_yml.md index ddabb80c6dd..055cc3cc234 100644 --- a/commands/docs/from_yml.md +++ b/commands/docs/from_yml.md @@ -2,11 +2,13 @@ title: from yml categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Parse text as .yaml/.yml and create table. usage: | Parse text as .yaml/.yml and create table. +editLink: false +contributors: false --- diff --git a/commands/docs/generate.md b/commands/docs/generate.md index 80f8a02fa76..87615100b3e 100644 --- a/commands/docs/generate.md +++ b/commands/docs/generate.md @@ -2,11 +2,13 @@ title: generate categories: | generators -version: 0.101.0 +version: 0.102.0 generators: | Generate a list of values by successively invoking a closure. usage: | Generate a list of values by successively invoking a closure. +editLink: false +contributors: false --- @@ -26,10 +28,12 @@ usage: | ## Input/output types: -| input | output | -| ------- | --------- | -| nothing | list\ | - +| input | output | +| --------- | --------- | +| list\ | list\ | +| nothing | list\ | +| range | list\ | +| table | list\ | ## Examples Generate a sequence of numbers @@ -58,8 +62,26 @@ Generate a continuous stream of Fibonacci numbers, using default parameters ``` +Generate a running sum of the inputs +```nu +> 1..5 | generate {|e, sum=0| let sum = $e + $sum; {out: $sum, next: $sum} } +╭───┬────╮ +│ 0 │ 1 │ +│ 1 │ 3 │ +│ 2 │ 6 │ +│ 3 │ 10 │ +│ 4 │ 15 │ +╰───┴────╯ + +``` + ## Notes The generator closure accepts a single argument and returns a record containing two optional keys: 'out' and 'next'. Each invocation, the 'out' value, if present, is added to the stream. If a 'next' key is present, it is used as the next argument to the closure, otherwise generation stops. + +Additionally, if an input stream is provided, the generator closure accepts two +arguments. On each invocation an element of the input stream is provided as the +first argument. The second argument is the `next` value from the last invocation. +In this case, generation also stops when the input stream stops. \ No newline at end of file diff --git a/commands/docs/get.md b/commands/docs/get.md index bec6b2eb949..7273f827bec 100644 --- a/commands/docs/get.md +++ b/commands/docs/get.md @@ -2,11 +2,13 @@ title: get categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Extract data using a cell path. usage: | Extract data using a cell path. +editLink: false +contributors: false --- @@ -31,11 +33,12 @@ usage: | ## Input/output types: -| input | output | -| --------- | ------ | -| list\ | any | -| record | any | -| table | any | +| input | output | +| --------- | ------- | +| list\ | any | +| nothing | nothing | +| record | any | +| table | any | ## Examples Get an item from a list diff --git a/commands/docs/glob.md b/commands/docs/glob.md index 4640d8ad17a..4dbaf174ab6 100644 --- a/commands/docs/glob.md +++ b/commands/docs/glob.md @@ -2,11 +2,13 @@ title: glob categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Creates a list of files and/or folders based on the glob pattern provided. usage: | Creates a list of files and/or folders based on the glob pattern provided. +editLink: false +contributors: false --- diff --git a/commands/docs/grid.md b/commands/docs/grid.md index be41a206706..e69565750e4 100644 --- a/commands/docs/grid.md +++ b/commands/docs/grid.md @@ -2,11 +2,13 @@ title: grid categories: | viewers -version: 0.101.0 +version: 0.102.0 viewers: | Renders the output to a textual terminal grid. usage: | Renders the output to a textual terminal grid. +editLink: false +contributors: false --- diff --git a/commands/docs/group-by.md b/commands/docs/group-by.md index aef6ee9fe38..0ee2caf1e38 100644 --- a/commands/docs/group-by.md +++ b/commands/docs/group-by.md @@ -2,11 +2,13 @@ title: group-by categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Splits a list or table into groups, and returns a record containing those groups. usage: | Splits a list or table into groups, and returns a record containing those groups. +editLink: false +contributors: false --- diff --git a/commands/docs/gstat.md b/commands/docs/gstat.md index 6d24c9c3015..88f7048011a 100644 --- a/commands/docs/gstat.md +++ b/commands/docs/gstat.md @@ -2,11 +2,13 @@ title: gstat categories: | prompt -version: 0.101.0 +version: 0.102.0 prompt: | Get the git status of a repo usage: | Get the git status of a repo +editLink: false +contributors: false --- diff --git a/commands/docs/hash.md b/commands/docs/hash.md index c8d26f84883..245ec335829 100644 --- a/commands/docs/hash.md +++ b/commands/docs/hash.md @@ -2,11 +2,13 @@ title: hash categories: | hash -version: 0.101.0 +version: 0.102.0 hash: | Apply hash function. usage: | Apply hash function. +editLink: false +contributors: false --- diff --git a/commands/docs/hash_md5.md b/commands/docs/hash_md5.md index 06705ab72a8..1191df547f5 100644 --- a/commands/docs/hash_md5.md +++ b/commands/docs/hash_md5.md @@ -2,11 +2,13 @@ title: hash md5 categories: | hash -version: 0.101.0 +version: 0.102.0 hash: | Hash a value using the md5 hash algorithm. usage: | Hash a value using the md5 hash algorithm. +editLink: false +contributors: false --- diff --git a/commands/docs/hash_sha256.md b/commands/docs/hash_sha256.md index 5c9dadec383..648ce1a421f 100644 --- a/commands/docs/hash_sha256.md +++ b/commands/docs/hash_sha256.md @@ -2,11 +2,13 @@ title: hash sha256 categories: | hash -version: 0.101.0 +version: 0.102.0 hash: | Hash a value using the sha256 hash algorithm. usage: | Hash a value using the sha256 hash algorithm. +editLink: false +contributors: false --- diff --git a/commands/docs/headers.md b/commands/docs/headers.md index 21214f9f1fc..0741e207c18 100644 --- a/commands/docs/headers.md +++ b/commands/docs/headers.md @@ -2,11 +2,13 @@ title: headers categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Use the first row of the table as column names. usage: | Use the first row of the table as column names. +editLink: false +contributors: false --- @@ -21,10 +23,10 @@ usage: | ## Input/output types: -| input | output | -| --------- | ------ | -| list\ | table | -| table | table | +| input | output | +| ----- | ------ | +| table | table | + ## Examples Sets the column names for a table created by `split column` diff --git a/commands/docs/help.md b/commands/docs/help.md index 632fb33e270..c931115a991 100644 --- a/commands/docs/help.md +++ b/commands/docs/help.md @@ -2,11 +2,13 @@ title: help categories: | core -version: 0.101.0 +version: 0.102.0 core: | Display help information about different parts of Nushell. usage: | Display help information about different parts of Nushell. +editLink: false +contributors: false --- @@ -58,11 +60,12 @@ search for string in command names, descriptions, and search terms ## Subcommands: -| name | description | type | -| ---------------------------------------------------- | ------------------------------------ | -------- | -| [`help aliases`](/commands/docs/help_aliases.md) | Show help on nushell aliases. | built-in | -| [`help commands`](/commands/docs/help_commands.md) | Show help on nushell commands. | built-in | -| [`help escapes`](/commands/docs/help_escapes.md) | Show help on nushell string escapes. | built-in | -| [`help externs`](/commands/docs/help_externs.md) | Show help on nushell externs. | built-in | -| [`help modules`](/commands/docs/help_modules.md) | Show help on nushell modules. | built-in | -| [`help operators`](/commands/docs/help_operators.md) | Show help on nushell operators. | built-in | \ No newline at end of file +| name | description | type | +| -------------------------------------------------------------------- | ----------------------------------------- | -------- | +| [`help aliases`](/commands/docs/help_aliases.md) | Show help on nushell aliases. | built-in | +| [`help commands`](/commands/docs/help_commands.md) | Show help on nushell commands. | built-in | +| [`help escapes`](/commands/docs/help_escapes.md) | Show help on nushell string escapes. | built-in | +| [`help externs`](/commands/docs/help_externs.md) | Show help on nushell externs. | built-in | +| [`help modules`](/commands/docs/help_modules.md) | Show help on nushell modules. | built-in | +| [`help operators`](/commands/docs/help_operators.md) | Show help on nushell operators. | built-in | +| [`help pipe-and-redirect`](/commands/docs/help_pipe-and-redirect.md) | Show help on nushell pipes and redirects. | built-in | \ No newline at end of file diff --git a/commands/docs/help_aliases.md b/commands/docs/help_aliases.md index 39d2d0ffb23..d755e8b753f 100644 --- a/commands/docs/help_aliases.md +++ b/commands/docs/help_aliases.md @@ -2,11 +2,13 @@ title: help aliases categories: | core -version: 0.101.0 +version: 0.102.0 core: | Show help on nushell aliases. usage: | Show help on nushell aliases. +editLink: false +contributors: false --- diff --git a/commands/docs/help_commands.md b/commands/docs/help_commands.md index 4a43b109ac0..6e2a011adaa 100644 --- a/commands/docs/help_commands.md +++ b/commands/docs/help_commands.md @@ -2,11 +2,13 @@ title: help commands categories: | core -version: 0.101.0 +version: 0.102.0 core: | Show help on nushell commands. usage: | Show help on nushell commands. +editLink: false +contributors: false --- diff --git a/commands/docs/help_escapes.md b/commands/docs/help_escapes.md index 35384799aab..679387d2da4 100644 --- a/commands/docs/help_escapes.md +++ b/commands/docs/help_escapes.md @@ -2,11 +2,13 @@ title: help escapes categories: | core -version: 0.101.0 +version: 0.102.0 core: | Show help on nushell string escapes. usage: | Show help on nushell string escapes. +editLink: false +contributors: false --- diff --git a/commands/docs/help_externs.md b/commands/docs/help_externs.md index 796154775da..a2e48da1fa7 100644 --- a/commands/docs/help_externs.md +++ b/commands/docs/help_externs.md @@ -2,11 +2,13 @@ title: help externs categories: | core -version: 0.101.0 +version: 0.102.0 core: | Show help on nushell externs. usage: | Show help on nushell externs. +editLink: false +contributors: false --- diff --git a/commands/docs/help_modules.md b/commands/docs/help_modules.md index 64cc1f87e5f..238fa60be52 100644 --- a/commands/docs/help_modules.md +++ b/commands/docs/help_modules.md @@ -2,11 +2,13 @@ title: help modules categories: | core -version: 0.101.0 +version: 0.102.0 core: | Show help on nushell modules. usage: | Show help on nushell modules. +editLink: false +contributors: false --- diff --git a/commands/docs/help_operators.md b/commands/docs/help_operators.md index 065a6b3f916..fea9aacaffb 100644 --- a/commands/docs/help_operators.md +++ b/commands/docs/help_operators.md @@ -2,11 +2,13 @@ title: help operators categories: | core -version: 0.101.0 +version: 0.102.0 core: | Show help on nushell operators. usage: | Show help on nushell operators. +editLink: false +contributors: false --- diff --git a/commands/docs/help_pipe-and-redirect.md b/commands/docs/help_pipe-and-redirect.md new file mode 100644 index 00000000000..221a01bbe2e --- /dev/null +++ b/commands/docs/help_pipe-and-redirect.md @@ -0,0 +1,32 @@ +--- +title: help pipe-and-redirect +categories: | + core +version: 0.102.0 +core: | + Show help on nushell pipes and redirects. +usage: | + Show help on nushell pipes and redirects. +editLink: false +contributors: false +--- + + +# `help pipe-and-redirect` for [core](/commands/categories/core.md) + +
Show help on nushell pipes and redirects.
+ +## Signature + +```> help pipe-and-redirect {flags} ``` + + +## Input/output types: + +| input | output | +| ------- | ------ | +| nothing | table | + +## Notes +This command contains basic usage of pipe and redirect symbol, for more detail, check: +https://www.nushell.sh/lang-guide/chapters/pipelines.html \ No newline at end of file diff --git a/commands/docs/hide-env.md b/commands/docs/hide-env.md index 8a0459b8178..9e555cfffbb 100644 --- a/commands/docs/hide-env.md +++ b/commands/docs/hide-env.md @@ -2,11 +2,13 @@ title: hide-env categories: | core -version: 0.101.0 +version: 0.102.0 core: | Hide environment variables in the current scope. usage: | Hide environment variables in the current scope. +editLink: false +contributors: false --- diff --git a/commands/docs/hide.md b/commands/docs/hide.md index a3e5b69f5e6..b24d97ba5cd 100644 --- a/commands/docs/hide.md +++ b/commands/docs/hide.md @@ -2,11 +2,13 @@ title: hide categories: | core -version: 0.101.0 +version: 0.102.0 core: | Hide definitions in the current scope. usage: | Hide definitions in the current scope. +editLink: false +contributors: false --- diff --git a/commands/docs/histogram.md b/commands/docs/histogram.md index 79f1fcc7b5e..d0b3f418189 100644 --- a/commands/docs/histogram.md +++ b/commands/docs/histogram.md @@ -2,11 +2,13 @@ title: histogram categories: | chart -version: 0.101.0 +version: 0.102.0 chart: | Creates a new table with a histogram based on the column name passed in. usage: | Creates a new table with a histogram based on the column name passed in. +editLink: false +contributors: false --- diff --git a/commands/docs/history.md b/commands/docs/history.md index 50eb3c7d828..af29cd6eabd 100644 --- a/commands/docs/history.md +++ b/commands/docs/history.md @@ -2,11 +2,13 @@ title: history categories: | history -version: 0.101.0 +version: 0.102.0 history: | Get the command history. usage: | Get the command history. +editLink: false +contributors: false --- diff --git a/commands/docs/history_import.md b/commands/docs/history_import.md index d40ae02e9fe..9c745c5ee83 100644 --- a/commands/docs/history_import.md +++ b/commands/docs/history_import.md @@ -2,11 +2,13 @@ title: history import categories: | history -version: 0.101.0 +version: 0.102.0 history: | Import command line history usage: | Import command line history +editLink: false +contributors: false --- @@ -25,6 +27,7 @@ usage: | | ------------ | ------- | | list\ | nothing | | nothing | nothing | +| string | nothing | | table | nothing | ## Examples diff --git a/commands/docs/history_session.md b/commands/docs/history_session.md index 9ca309b765e..e47d4523063 100644 --- a/commands/docs/history_session.md +++ b/commands/docs/history_session.md @@ -2,11 +2,13 @@ title: history session categories: | history -version: 0.101.0 +version: 0.102.0 history: | Get the command history session. usage: | Get the command history session. +editLink: false +contributors: false --- diff --git a/commands/docs/http.md b/commands/docs/http.md index 18184768243..ae3b928ef21 100644 --- a/commands/docs/http.md +++ b/commands/docs/http.md @@ -2,11 +2,13 @@ title: http categories: | network -version: 0.101.0 +version: 0.102.0 network: | Various commands for working with http methods. usage: | Various commands for working with http methods. +editLink: false +contributors: false --- diff --git a/commands/docs/http_delete.md b/commands/docs/http_delete.md index 31f5fa3aa1a..6d10bcef555 100644 --- a/commands/docs/http_delete.md +++ b/commands/docs/http_delete.md @@ -2,11 +2,13 @@ title: http delete categories: | network -version: 0.101.0 +version: 0.102.0 network: | Delete the specified resource. usage: | Delete the specified resource. +editLink: false +contributors: false --- diff --git a/commands/docs/http_get.md b/commands/docs/http_get.md index 28816ddefef..6ff7d7c283e 100644 --- a/commands/docs/http_get.md +++ b/commands/docs/http_get.md @@ -2,11 +2,13 @@ title: http get categories: | network -version: 0.101.0 +version: 0.102.0 network: | Fetch the contents from a URL. usage: | Fetch the contents from a URL. +editLink: false +contributors: false --- diff --git a/commands/docs/http_head.md b/commands/docs/http_head.md index 983cd343bbd..2b9e824bb32 100644 --- a/commands/docs/http_head.md +++ b/commands/docs/http_head.md @@ -2,11 +2,13 @@ title: http head categories: | network -version: 0.101.0 +version: 0.102.0 network: | Get the headers from a URL. usage: | Get the headers from a URL. +editLink: false +contributors: false --- diff --git a/commands/docs/http_options.md b/commands/docs/http_options.md index 8991ae1c195..bb5258b3e37 100644 --- a/commands/docs/http_options.md +++ b/commands/docs/http_options.md @@ -2,11 +2,13 @@ title: http options categories: | network -version: 0.101.0 +version: 0.102.0 network: | Requests permitted communication options for a given URL. usage: | Requests permitted communication options for a given URL. +editLink: false +contributors: false --- diff --git a/commands/docs/http_patch.md b/commands/docs/http_patch.md index 3dcacb05711..74edde9a727 100644 --- a/commands/docs/http_patch.md +++ b/commands/docs/http_patch.md @@ -2,11 +2,13 @@ title: http patch categories: | network -version: 0.101.0 +version: 0.102.0 network: | Patch a body to a URL. usage: | Patch a body to a URL. +editLink: false +contributors: false --- diff --git a/commands/docs/http_post.md b/commands/docs/http_post.md index 88c011ace86..0a350685f45 100644 --- a/commands/docs/http_post.md +++ b/commands/docs/http_post.md @@ -2,11 +2,13 @@ title: http post categories: | network -version: 0.101.0 +version: 0.102.0 network: | Post a body to a URL. usage: | Post a body to a URL. +editLink: false +contributors: false --- diff --git a/commands/docs/http_put.md b/commands/docs/http_put.md index cecbd92445b..f2d4ed3d997 100644 --- a/commands/docs/http_put.md +++ b/commands/docs/http_put.md @@ -2,11 +2,13 @@ title: http put categories: | network -version: 0.101.0 +version: 0.102.0 network: | Put a body to a URL. usage: | Put a body to a URL. +editLink: false +contributors: false --- diff --git a/commands/docs/if.md b/commands/docs/if.md index 0c164cc932a..59790fe97a4 100644 --- a/commands/docs/if.md +++ b/commands/docs/if.md @@ -2,11 +2,13 @@ title: if categories: | core -version: 0.101.0 +version: 0.102.0 core: | Conditionally run a block. usage: | Conditionally run a block. +editLink: false +contributors: false --- diff --git a/commands/docs/ignore.md b/commands/docs/ignore.md index 023a84bc4ad..6a4c795b969 100644 --- a/commands/docs/ignore.md +++ b/commands/docs/ignore.md @@ -2,11 +2,13 @@ title: ignore categories: | core -version: 0.101.0 +version: 0.102.0 core: | Ignore the output of the previous command in the pipeline. usage: | Ignore the output of the previous command in the pipeline. +editLink: false +contributors: false --- diff --git a/commands/docs/inc.md b/commands/docs/inc.md index 1a144fb5bae..600bf2d8071 100644 --- a/commands/docs/inc.md +++ b/commands/docs/inc.md @@ -2,11 +2,13 @@ title: inc categories: | default -version: 0.101.0 +version: 0.102.0 default: | Increment a value or version. Optionally use the column of a table. usage: | Increment a value or version. Optionally use the column of a table. +editLink: false +contributors: false --- diff --git a/commands/docs/input.md b/commands/docs/input.md index e40a16d8b35..4a0aba2548f 100644 --- a/commands/docs/input.md +++ b/commands/docs/input.md @@ -2,11 +2,13 @@ title: input categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Get input from the user. usage: | Get input from the user. +editLink: false +contributors: false --- diff --git a/commands/docs/input_list.md b/commands/docs/input_list.md index 8cc55a5dbe3..4c8691a6974 100644 --- a/commands/docs/input_list.md +++ b/commands/docs/input_list.md @@ -2,11 +2,13 @@ title: input list categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Interactive list selection. usage: | Interactive list selection. +editLink: false +contributors: false --- diff --git a/commands/docs/input_listen.md b/commands/docs/input_listen.md index 90096561f4d..b7b7c116c66 100644 --- a/commands/docs/input_listen.md +++ b/commands/docs/input_listen.md @@ -2,11 +2,13 @@ title: input listen categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Listen for user interface event. usage: | Listen for user interface event. +editLink: false +contributors: false --- diff --git a/commands/docs/insert.md b/commands/docs/insert.md index e28db6bc541..e2fa32105a9 100644 --- a/commands/docs/insert.md +++ b/commands/docs/insert.md @@ -2,11 +2,13 @@ title: insert categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Insert a new column, using an expression or closure to create each row's values. usage: | Insert a new column, using an expression or closure to create each row's values. +editLink: false +contributors: false --- diff --git a/commands/docs/inspect.md b/commands/docs/inspect.md index 30a7a23c080..dfaf3be1389 100644 --- a/commands/docs/inspect.md +++ b/commands/docs/inspect.md @@ -2,11 +2,13 @@ title: inspect categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Inspect pipeline results while running a pipeline. usage: | Inspect pipeline results while running a pipeline. +editLink: false +contributors: false --- diff --git a/commands/docs/interleave.md b/commands/docs/interleave.md index 4c3804acb13..673a2b4b4fb 100644 --- a/commands/docs/interleave.md +++ b/commands/docs/interleave.md @@ -2,11 +2,13 @@ title: interleave categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Read multiple streams in parallel and combine them into one stream. usage: | Read multiple streams in parallel and combine them into one stream. +editLink: false +contributors: false --- diff --git a/commands/docs/into.md b/commands/docs/into.md index 2e2359a3143..08a8f1ced81 100644 --- a/commands/docs/into.md +++ b/commands/docs/into.md @@ -2,11 +2,13 @@ title: into categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Commands to convert data from one type to another. usage: | Commands to convert data from one type to another. +editLink: false +contributors: false --- @@ -33,7 +35,7 @@ You must use one of the following subcommands. Using this command as-is will onl | name | description | type | | ---------------------------------------------------- | ------------------------------------------ | -------- | | [`into binary`](/commands/docs/into_binary.md) | Convert value to a binary primitive. | built-in | -| [`into bits`](/commands/docs/into_bits.md) | Convert value to a binary primitive. | built-in | +| [`into bits`](/commands/docs/into_bits.md) | Convert value to a binary string. | built-in | | [`into bool`](/commands/docs/into_bool.md) | Convert value to boolean. | built-in | | [`into cell-path`](/commands/docs/into_cell-path.md) | Convert value to a cell-path. | built-in | | [`into datetime`](/commands/docs/into_datetime.md) | Convert text or timestamp into a datetime. | built-in | diff --git a/commands/docs/into_binary.md b/commands/docs/into_binary.md index edbbb9137a8..c8b5d13fbc1 100644 --- a/commands/docs/into_binary.md +++ b/commands/docs/into_binary.md @@ -2,11 +2,13 @@ title: into binary categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert value to a binary primitive. usage: | Convert value to a binary primitive. +editLink: false +contributors: false --- diff --git a/commands/docs/into_bits.md b/commands/docs/into_bits.md index f369af29205..c412f38afbb 100644 --- a/commands/docs/into_bits.md +++ b/commands/docs/into_bits.md @@ -1,18 +1,20 @@ --- title: into bits categories: | - conversions -version: 0.101.0 -conversions: | - Convert value to a binary primitive. + deprecated +version: 0.102.0 +deprecated: | + Convert value to a binary string. usage: | - Convert value to a binary primitive. + Convert value to a binary string. +editLink: false +contributors: false --- -# `into bits` for [conversions](/commands/categories/conversions.md) +# `into bits` for [deprecated](/commands/categories/deprecated.md) -
Convert value to a binary primitive.
+
Convert value to a binary string.
## Signature diff --git a/commands/docs/into_bool.md b/commands/docs/into_bool.md index 0e18be908da..128df9976cb 100644 --- a/commands/docs/into_bool.md +++ b/commands/docs/into_bool.md @@ -2,11 +2,13 @@ title: into bool categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert value to boolean. usage: | Convert value to boolean. +editLink: false +contributors: false --- @@ -18,6 +20,10 @@ usage: | ```> into bool {flags} ...rest``` +## Flags + + - `--relaxed`: Relaxes conversion to also allow null and any strings. + ## Parameters - `...rest`: For a data structure input, convert data at the given cell paths. @@ -30,6 +36,7 @@ usage: | | bool | bool | | int | bool | | list\ | table | +| nothing | bool | | number | bool | | record | record | | string | bool | @@ -80,3 +87,15 @@ convert string to boolean > 'true' | into bool true ``` + +interpret a null as false +```nu +> null | into bool --relaxed +false +``` + +interpret any non-false, non-zero string as true +```nu +> 'something' | into bool --relaxed +true +``` diff --git a/commands/docs/into_cell-path.md b/commands/docs/into_cell-path.md index 7006a964d1e..e8b54046aa9 100644 --- a/commands/docs/into_cell-path.md +++ b/commands/docs/into_cell-path.md @@ -2,11 +2,13 @@ title: into cell-path categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert value to a cell-path. usage: | Convert value to a cell-path. +editLink: false +contributors: false --- @@ -23,6 +25,7 @@ usage: | | input | output | | ---------------------------------------- | --------- | +| cell-path | cell-path | | int | cell-path | | list\ | cell-path | | list\\> | cell-path | @@ -34,6 +37,12 @@ Convert integer into cell path $.5 ``` +Convert cell path into cell path +```nu +> 5 | into cell-path | into cell-path +$.5 +``` + Convert string into cell path ```nu > 'some.path' | split row '.' | into cell-path diff --git a/commands/docs/into_datetime.md b/commands/docs/into_datetime.md index 68d94d877ea..81aebb2a3cb 100644 --- a/commands/docs/into_datetime.md +++ b/commands/docs/into_datetime.md @@ -2,11 +2,13 @@ title: into datetime categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert text or timestamp into a datetime. usage: | Convert text or timestamp into a datetime. +editLink: false +contributors: false --- @@ -35,8 +37,11 @@ usage: | | input | output | | ------------ | -------------- | +| any | table | +| datetime | datetime | | int | datetime | | list\ | list\ | +| nothing | table | | record | record | | string | datetime | | table | table | @@ -74,7 +79,13 @@ Sat, 27 Feb 2021 13:55:40 +0000 (3 years ago) Convert standard (seconds) unix timestamp to a UTC datetime ```nu -> 1614434140 * 1_000_000_000 | into datetime +> 1614434140 | into datetime -f '%s' +Sat, 27 Feb 2021 13:55:40 +0000 (3 years ago) +``` + +Using a datetime as input simply returns the value +```nu +> 2021-02-27T13:55:40 | into datetime Sat, 27 Feb 2021 13:55:40 +0000 (3 years ago) ``` diff --git a/commands/docs/into_duration.md b/commands/docs/into_duration.md index 32e22c9b38d..264ef6bc199 100644 --- a/commands/docs/into_duration.md +++ b/commands/docs/into_duration.md @@ -2,11 +2,13 @@ title: into duration categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert value to duration. usage: | Convert value to duration. +editLink: false +contributors: false --- diff --git a/commands/docs/into_filesize.md b/commands/docs/into_filesize.md index 32d5550b168..78eda558dfc 100644 --- a/commands/docs/into_filesize.md +++ b/commands/docs/into_filesize.md @@ -2,11 +2,13 @@ title: into filesize categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert value to filesize. usage: | Convert value to filesize. +editLink: false +contributors: false --- @@ -73,11 +75,11 @@ Convert int to filesize Convert file size to filesize ```nu > 4KB | into filesize -3.9 KiB +4.0 kB ``` Convert string with unit to filesize ```nu > '-1KB' | into filesize --1,000 B +-1.0 kB ``` diff --git a/commands/docs/into_float.md b/commands/docs/into_float.md index 4bee3b1fee5..1de077a931d 100644 --- a/commands/docs/into_float.md +++ b/commands/docs/into_float.md @@ -2,11 +2,13 @@ title: into float categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert data into floating point number. usage: | Convert data into floating point number. +editLink: false +contributors: false --- diff --git a/commands/docs/into_glob.md b/commands/docs/into_glob.md index db0f18c6275..3dcde6247bf 100644 --- a/commands/docs/into_glob.md +++ b/commands/docs/into_glob.md @@ -2,11 +2,13 @@ title: into glob categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert value to glob. usage: | Convert value to glob. +editLink: false +contributors: false --- @@ -27,6 +29,7 @@ usage: | | input | output | | ------------ | ---------- | +| glob | glob | | list\ | list\ | | record | record | | string | glob | @@ -39,6 +42,12 @@ convert string to glob 1234 ``` +convert glob to glob +```nu +> '1234' | into glob | into glob +1234 +``` + convert filepath to glob ```nu > ls Cargo.toml | get name | into glob diff --git a/commands/docs/into_int.md b/commands/docs/into_int.md index 133ad0ed533..961b6b0e68a 100644 --- a/commands/docs/into_int.md +++ b/commands/docs/into_int.md @@ -2,11 +2,13 @@ title: into int categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert value to integer. usage: | Convert value to integer. +editLink: false +contributors: false --- diff --git a/commands/docs/into_record.md b/commands/docs/into_record.md index 0123ad2d302..de2e8cfc95f 100644 --- a/commands/docs/into_record.md +++ b/commands/docs/into_record.md @@ -2,11 +2,13 @@ title: into record categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert value to record. usage: | Convert value to record. +editLink: false +contributors: false --- diff --git a/commands/docs/into_sqlite.md b/commands/docs/into_sqlite.md index 99ce2b3bddc..ec1213e730c 100644 --- a/commands/docs/into_sqlite.md +++ b/commands/docs/into_sqlite.md @@ -2,11 +2,13 @@ title: into sqlite categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert table into a SQLite database. usage: | Convert table into a SQLite database. +editLink: false +contributors: false --- diff --git a/commands/docs/into_string.md b/commands/docs/into_string.md index 0e744d84601..736137d3edf 100644 --- a/commands/docs/into_string.md +++ b/commands/docs/into_string.md @@ -2,11 +2,13 @@ title: into string categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Convert value to string. usage: | Convert value to string. +editLink: false +contributors: false --- @@ -40,6 +42,7 @@ usage: | | int | string | | list\ | list\ | | number | string | +| range | string | | record | record | | string | string | | table | table | @@ -101,8 +104,8 @@ convert filepath to string convert filesize to string ```nu -> 1KiB | into string -1.0 KiB +> 1kB | into string +1.0 kB ``` convert duration to string diff --git a/commands/docs/into_value.md b/commands/docs/into_value.md index 824817523ba..282f290febf 100644 --- a/commands/docs/into_value.md +++ b/commands/docs/into_value.md @@ -2,11 +2,13 @@ title: into value categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Infer Nushell datatype for each cell. usage: | Infer Nushell datatype for each cell. +editLink: false +contributors: false --- diff --git a/commands/docs/is-admin.md b/commands/docs/is-admin.md index 30a9e825a8f..25281c64669 100644 --- a/commands/docs/is-admin.md +++ b/commands/docs/is-admin.md @@ -2,11 +2,13 @@ title: is-admin categories: | core -version: 0.101.0 +version: 0.102.0 core: | Check if nushell is running with administrator or root privileges. usage: | Check if nushell is running with administrator or root privileges. +editLink: false +contributors: false --- diff --git a/commands/docs/is-empty.md b/commands/docs/is-empty.md index d92383b3dc4..e895882aabb 100644 --- a/commands/docs/is-empty.md +++ b/commands/docs/is-empty.md @@ -2,11 +2,13 @@ title: is-empty categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Check for empty values. usage: | Check for empty values. +editLink: false +contributors: false --- diff --git a/commands/docs/is-not-empty.md b/commands/docs/is-not-empty.md index a6ab6adadb9..b634d6dc869 100644 --- a/commands/docs/is-not-empty.md +++ b/commands/docs/is-not-empty.md @@ -2,11 +2,13 @@ title: is-not-empty categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Check for non-empty values. usage: | Check for non-empty values. +editLink: false +contributors: false --- diff --git a/commands/docs/is-terminal.md b/commands/docs/is-terminal.md index d718f8091ab..8386d0c43b6 100644 --- a/commands/docs/is-terminal.md +++ b/commands/docs/is-terminal.md @@ -2,11 +2,13 @@ title: is-terminal categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Check if stdin, stdout, or stderr is a terminal. usage: | Check if stdin, stdout, or stderr is a terminal. +editLink: false +contributors: false --- diff --git a/commands/docs/items.md b/commands/docs/items.md index f8cd65c3a78..b8cf2558191 100644 --- a/commands/docs/items.md +++ b/commands/docs/items.md @@ -2,11 +2,13 @@ title: items categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Given a record, iterate on each pair of column name and associated value. usage: | Given a record, iterate on each pair of column name and associated value. +editLink: false +contributors: false --- diff --git a/commands/docs/join.md b/commands/docs/join.md index a50242af8f7..93cca3a262f 100644 --- a/commands/docs/join.md +++ b/commands/docs/join.md @@ -2,11 +2,13 @@ title: join categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Join two tables. usage: | Join two tables. +editLink: false +contributors: false --- diff --git a/commands/docs/keybindings.md b/commands/docs/keybindings.md index d24215817b2..52f6b75f0f4 100644 --- a/commands/docs/keybindings.md +++ b/commands/docs/keybindings.md @@ -2,11 +2,13 @@ title: keybindings categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Keybindings related commands. usage: | Keybindings related commands. +editLink: false +contributors: false --- diff --git a/commands/docs/keybindings_default.md b/commands/docs/keybindings_default.md index 86d8e3a7804..ebfd52820c6 100644 --- a/commands/docs/keybindings_default.md +++ b/commands/docs/keybindings_default.md @@ -2,11 +2,13 @@ title: keybindings default categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | List default keybindings. usage: | List default keybindings. +editLink: false +contributors: false --- diff --git a/commands/docs/keybindings_list.md b/commands/docs/keybindings_list.md index 6df7f13a8bb..98d0a5445fa 100644 --- a/commands/docs/keybindings_list.md +++ b/commands/docs/keybindings_list.md @@ -2,11 +2,13 @@ title: keybindings list categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | List available options that can be used to create keybindings. usage: | List available options that can be used to create keybindings. +editLink: false +contributors: false --- diff --git a/commands/docs/keybindings_listen.md b/commands/docs/keybindings_listen.md index efdd297d185..f1298d4418d 100644 --- a/commands/docs/keybindings_listen.md +++ b/commands/docs/keybindings_listen.md @@ -2,11 +2,13 @@ title: keybindings listen categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Get input from the user. usage: | Get input from the user. +editLink: false +contributors: false --- diff --git a/commands/docs/kill.md b/commands/docs/kill.md index 4639c7d67b5..cf359bcc25c 100644 --- a/commands/docs/kill.md +++ b/commands/docs/kill.md @@ -2,11 +2,13 @@ title: kill categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Kill a process using the process id. usage: | Kill a process using the process id. +editLink: false +contributors: false --- diff --git a/commands/docs/last.md b/commands/docs/last.md index 211647ee676..814ca1c4f9a 100644 --- a/commands/docs/last.md +++ b/commands/docs/last.md @@ -2,11 +2,13 @@ title: last categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Return only the last several rows of the input. Counterpart of `first`. Opposite of `drop`. usage: | Return only the last several rows of the input. Counterpart of `first`. Opposite of `drop`. +editLink: false +contributors: false --- diff --git a/commands/docs/length.md b/commands/docs/length.md index 9f4bd3aacc6..f97e145e522 100644 --- a/commands/docs/length.md +++ b/commands/docs/length.md @@ -2,11 +2,13 @@ title: length categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Count the number of items in an input list, rows in a table, or bytes in binary data. usage: | Count the number of items in an input list, rows in a table, or bytes in binary data. +editLink: false +contributors: false --- diff --git a/commands/docs/let-env.md b/commands/docs/let-env.md index e7a3f646f0c..fbf098468c7 100644 --- a/commands/docs/let-env.md +++ b/commands/docs/let-env.md @@ -2,11 +2,13 @@ title: let-env categories: | removed -version: 0.101.0 +version: 0.102.0 removed: | `let-env FOO = ...` has been removed, use `$env.FOO = ...` instead. usage: | `let-env FOO = ...` has been removed, use `$env.FOO = ...` instead. +editLink: false +contributors: false --- diff --git a/commands/docs/let.md b/commands/docs/let.md index c3496136c0b..4c7194fa17e 100644 --- a/commands/docs/let.md +++ b/commands/docs/let.md @@ -2,11 +2,13 @@ title: let categories: | core -version: 0.101.0 +version: 0.102.0 core: | Create a variable and give it a value. usage: | Create a variable and give it a value. +editLink: false +contributors: false --- diff --git a/commands/docs/lines.md b/commands/docs/lines.md index 866130bc750..2ed4605f6d6 100644 --- a/commands/docs/lines.md +++ b/commands/docs/lines.md @@ -2,11 +2,13 @@ title: lines categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Converts input to lines. usage: | Converts input to lines. +editLink: false +contributors: false --- diff --git a/commands/docs/load-env.md b/commands/docs/load-env.md index bde70d3a4fc..125086f2289 100644 --- a/commands/docs/load-env.md +++ b/commands/docs/load-env.md @@ -2,11 +2,13 @@ title: load-env categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Loads an environment update from a record. usage: | Loads an environment update from a record. +editLink: false +contributors: false --- @@ -27,6 +29,7 @@ usage: | | input | output | | ------- | ------- | +| any | nothing | | nothing | nothing | | record | nothing | ## Examples diff --git a/commands/docs/loop.md b/commands/docs/loop.md index 6ba3b67eaf9..62f44f2d295 100644 --- a/commands/docs/loop.md +++ b/commands/docs/loop.md @@ -2,11 +2,13 @@ title: loop categories: | core -version: 0.101.0 +version: 0.102.0 core: | Run a block in a loop. usage: | Run a block in a loop. +editLink: false +contributors: false --- diff --git a/commands/docs/ls.md b/commands/docs/ls.md index 8e0798e9972..44283418a2d 100644 --- a/commands/docs/ls.md +++ b/commands/docs/ls.md @@ -2,11 +2,13 @@ title: ls categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | List the filenames, sizes, and modification times of items in a directory. usage: | List the filenames, sizes, and modification times of items in a directory. +editLink: false +contributors: false --- diff --git a/commands/docs/match.md b/commands/docs/match.md index 889666bfa51..c92e728c678 100644 --- a/commands/docs/match.md +++ b/commands/docs/match.md @@ -2,11 +2,13 @@ title: match categories: | core -version: 0.101.0 +version: 0.102.0 core: | Conditionally run a block on a matched value. usage: | Conditionally run a block on a matched value. +editLink: false +contributors: false --- diff --git a/commands/docs/math.md b/commands/docs/math.md index 6bbf5955d31..720bd62906c 100644 --- a/commands/docs/math.md +++ b/commands/docs/math.md @@ -2,11 +2,13 @@ title: math categories: | math -version: 0.101.0 +version: 0.102.0 math: | Use mathematical functions as aggregate functions on a list of numbers or tables. usage: | Use mathematical functions as aggregate functions on a list of numbers or tables. +editLink: false +contributors: false --- diff --git a/commands/docs/math_abs.md b/commands/docs/math_abs.md index 8140977bf1d..f3497d3c8e2 100644 --- a/commands/docs/math_abs.md +++ b/commands/docs/math_abs.md @@ -2,11 +2,13 @@ title: math abs categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the absolute value of a number. usage: | Returns the absolute value of a number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_arccos.md b/commands/docs/math_arccos.md index bbd1897845e..c9785b8f090 100644 --- a/commands/docs/math_arccos.md +++ b/commands/docs/math_arccos.md @@ -2,11 +2,13 @@ title: math arccos categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the arccosine of the number. usage: | Returns the arccosine of the number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_arccosh.md b/commands/docs/math_arccosh.md index ef5b467baff..3e0fc8d794b 100644 --- a/commands/docs/math_arccosh.md +++ b/commands/docs/math_arccosh.md @@ -2,11 +2,13 @@ title: math arccosh categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the inverse of the hyperbolic cosine function. usage: | Returns the inverse of the hyperbolic cosine function. +editLink: false +contributors: false --- diff --git a/commands/docs/math_arcsin.md b/commands/docs/math_arcsin.md index 5716cfdbef0..253c7aecd4e 100644 --- a/commands/docs/math_arcsin.md +++ b/commands/docs/math_arcsin.md @@ -2,11 +2,13 @@ title: math arcsin categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the arcsine of the number. usage: | Returns the arcsine of the number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_arcsinh.md b/commands/docs/math_arcsinh.md index ce386c7e58f..93128e3f7f3 100644 --- a/commands/docs/math_arcsinh.md +++ b/commands/docs/math_arcsinh.md @@ -2,11 +2,13 @@ title: math arcsinh categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the inverse of the hyperbolic sine function. usage: | Returns the inverse of the hyperbolic sine function. +editLink: false +contributors: false --- diff --git a/commands/docs/math_arctan.md b/commands/docs/math_arctan.md index 54c7f39ad49..fd5c55f2617 100644 --- a/commands/docs/math_arctan.md +++ b/commands/docs/math_arctan.md @@ -2,11 +2,13 @@ title: math arctan categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the arctangent of the number. usage: | Returns the arctangent of the number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_arctanh.md b/commands/docs/math_arctanh.md index 0564b16f73c..b8cf05360ab 100644 --- a/commands/docs/math_arctanh.md +++ b/commands/docs/math_arctanh.md @@ -2,11 +2,13 @@ title: math arctanh categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the inverse of the hyperbolic tangent function. usage: | Returns the inverse of the hyperbolic tangent function. +editLink: false +contributors: false --- diff --git a/commands/docs/math_avg.md b/commands/docs/math_avg.md index 5a3a81b2717..78fcf4fdc89 100644 --- a/commands/docs/math_avg.md +++ b/commands/docs/math_avg.md @@ -2,11 +2,13 @@ title: math avg categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the average of a list of numbers. usage: | Returns the average of a list of numbers. +editLink: false +contributors: false --- diff --git a/commands/docs/math_ceil.md b/commands/docs/math_ceil.md index 804be7d5f48..9c41bee8556 100644 --- a/commands/docs/math_ceil.md +++ b/commands/docs/math_ceil.md @@ -2,11 +2,13 @@ title: math ceil categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the ceil of a number (smallest integer greater than or equal to that number). usage: | Returns the ceil of a number (smallest integer greater than or equal to that number). +editLink: false +contributors: false --- diff --git a/commands/docs/math_cos.md b/commands/docs/math_cos.md index bcba7ba6970..a46bb78907c 100644 --- a/commands/docs/math_cos.md +++ b/commands/docs/math_cos.md @@ -2,11 +2,13 @@ title: math cos categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the cosine of the number. usage: | Returns the cosine of the number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_cosh.md b/commands/docs/math_cosh.md index bf9006174a8..0d207499440 100644 --- a/commands/docs/math_cosh.md +++ b/commands/docs/math_cosh.md @@ -2,11 +2,13 @@ title: math cosh categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the hyperbolic cosine of the number. usage: | Returns the hyperbolic cosine of the number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_exp.md b/commands/docs/math_exp.md index 3fb426f64e4..10a50e25402 100644 --- a/commands/docs/math_exp.md +++ b/commands/docs/math_exp.md @@ -2,11 +2,13 @@ title: math exp categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns e raised to the power of x. usage: | Returns e raised to the power of x. +editLink: false +contributors: false --- diff --git a/commands/docs/math_floor.md b/commands/docs/math_floor.md index d5f7cb30a4b..46dcb3c1d92 100644 --- a/commands/docs/math_floor.md +++ b/commands/docs/math_floor.md @@ -2,11 +2,13 @@ title: math floor categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the floor of a number (largest integer less than or equal to that number). usage: | Returns the floor of a number (largest integer less than or equal to that number). +editLink: false +contributors: false --- diff --git a/commands/docs/math_ln.md b/commands/docs/math_ln.md index 4f825ed609f..e23f8ef2da5 100644 --- a/commands/docs/math_ln.md +++ b/commands/docs/math_ln.md @@ -2,11 +2,13 @@ title: math ln categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the natural logarithm. Base: (math e). usage: | Returns the natural logarithm. Base: (math e). +editLink: false +contributors: false --- diff --git a/commands/docs/math_log.md b/commands/docs/math_log.md index 6b3b0a4af78..db0ecf8398e 100644 --- a/commands/docs/math_log.md +++ b/commands/docs/math_log.md @@ -2,11 +2,13 @@ title: math log categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the logarithm for an arbitrary base. usage: | Returns the logarithm for an arbitrary base. +editLink: false +contributors: false --- diff --git a/commands/docs/math_max.md b/commands/docs/math_max.md index 635bc6db3de..4d3cf0f4d6d 100644 --- a/commands/docs/math_max.md +++ b/commands/docs/math_max.md @@ -2,11 +2,13 @@ title: math max categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the maximum of a list of values, or of columns in a table. usage: | Returns the maximum of a list of values, or of columns in a table. +editLink: false +contributors: false --- diff --git a/commands/docs/math_median.md b/commands/docs/math_median.md index 4883728aae4..8b6daa10c51 100644 --- a/commands/docs/math_median.md +++ b/commands/docs/math_median.md @@ -2,11 +2,13 @@ title: math median categories: | math -version: 0.101.0 +version: 0.102.0 math: | Computes the median of a list of numbers. usage: | Computes the median of a list of numbers. +editLink: false +contributors: false --- @@ -49,5 +51,5 @@ Compute the medians of the columns of a table Find the median of a list of file sizes ```nu > [5KB 10MB 200B] | math median -4.9 KiB +5.0 kB ``` diff --git a/commands/docs/math_min.md b/commands/docs/math_min.md index 95fe633fd3f..accca675e7e 100644 --- a/commands/docs/math_min.md +++ b/commands/docs/math_min.md @@ -2,11 +2,13 @@ title: math min categories: | math -version: 0.101.0 +version: 0.102.0 math: | Finds the minimum within a list of values or tables. usage: | Finds the minimum within a list of values or tables. +editLink: false +contributors: false --- diff --git a/commands/docs/math_mode.md b/commands/docs/math_mode.md index 1ae7c55d6f5..9aef7362386 100644 --- a/commands/docs/math_mode.md +++ b/commands/docs/math_mode.md @@ -2,11 +2,13 @@ title: math mode categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the most frequent element(s) from a list of numbers or tables. usage: | Returns the most frequent element(s) from a list of numbers or tables. +editLink: false +contributors: false --- diff --git a/commands/docs/math_product.md b/commands/docs/math_product.md index b8851e5f764..270f7184b4c 100644 --- a/commands/docs/math_product.md +++ b/commands/docs/math_product.md @@ -2,11 +2,13 @@ title: math product categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the product of a list of numbers or the products of each column of a table. usage: | Returns the product of a list of numbers or the products of each column of a table. +editLink: false +contributors: false --- diff --git a/commands/docs/math_round.md b/commands/docs/math_round.md index 17f1677a2d2..5094b0d5ea5 100644 --- a/commands/docs/math_round.md +++ b/commands/docs/math_round.md @@ -2,11 +2,13 @@ title: math round categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the input number rounded to the specified precision. usage: | Returns the input number rounded to the specified precision. +editLink: false +contributors: false --- diff --git a/commands/docs/math_sin.md b/commands/docs/math_sin.md index 65cdd67567a..9e93ff9d11d 100644 --- a/commands/docs/math_sin.md +++ b/commands/docs/math_sin.md @@ -2,11 +2,13 @@ title: math sin categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the sine of the number. usage: | Returns the sine of the number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_sinh.md b/commands/docs/math_sinh.md index a0b676ee104..20f63a4871b 100644 --- a/commands/docs/math_sinh.md +++ b/commands/docs/math_sinh.md @@ -2,11 +2,13 @@ title: math sinh categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the hyperbolic sine of the number. usage: | Returns the hyperbolic sine of the number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_sqrt.md b/commands/docs/math_sqrt.md index 112e01c4cf8..c4c2e8e5154 100644 --- a/commands/docs/math_sqrt.md +++ b/commands/docs/math_sqrt.md @@ -2,11 +2,13 @@ title: math sqrt categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the square root of the input number. usage: | Returns the square root of the input number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_stddev.md b/commands/docs/math_stddev.md index b689c5d232e..183533902fd 100644 --- a/commands/docs/math_stddev.md +++ b/commands/docs/math_stddev.md @@ -2,11 +2,13 @@ title: math stddev categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the standard deviation of a list of numbers, or of each column in a table. usage: | Returns the standard deviation of a list of numbers, or of each column in a table. +editLink: false +contributors: false --- diff --git a/commands/docs/math_sum.md b/commands/docs/math_sum.md index d58a2e45f2b..a594855b249 100644 --- a/commands/docs/math_sum.md +++ b/commands/docs/math_sum.md @@ -2,11 +2,13 @@ title: math sum categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the sum of a list of numbers or of each column in a table. usage: | Returns the sum of a list of numbers or of each column in a table. +editLink: false +contributors: false --- diff --git a/commands/docs/math_tan.md b/commands/docs/math_tan.md index 6cac18fbeaa..3f15e2a480a 100644 --- a/commands/docs/math_tan.md +++ b/commands/docs/math_tan.md @@ -2,11 +2,13 @@ title: math tan categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the tangent of the number. usage: | Returns the tangent of the number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_tanh.md b/commands/docs/math_tanh.md index e7de8550621..26bf4f0d672 100644 --- a/commands/docs/math_tanh.md +++ b/commands/docs/math_tanh.md @@ -2,11 +2,13 @@ title: math tanh categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the hyperbolic tangent of the number. usage: | Returns the hyperbolic tangent of the number. +editLink: false +contributors: false --- diff --git a/commands/docs/math_variance.md b/commands/docs/math_variance.md index adc8de7e0b0..fede6f194b6 100644 --- a/commands/docs/math_variance.md +++ b/commands/docs/math_variance.md @@ -2,11 +2,13 @@ title: math variance categories: | math -version: 0.101.0 +version: 0.102.0 math: | Returns the variance of a list of numbers or of each column in a table. usage: | Returns the variance of a list of numbers or of each column in a table. +editLink: false +contributors: false --- diff --git a/commands/docs/merge.md b/commands/docs/merge.md index ea0fb044fe4..34fa17d7828 100644 --- a/commands/docs/merge.md +++ b/commands/docs/merge.md @@ -2,11 +2,13 @@ title: merge categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Merge the input with a record or table, overwriting values in matching columns. usage: | Merge the input with a record or table, overwriting values in matching columns. +editLink: false +contributors: false --- diff --git a/commands/docs/merge_deep.md b/commands/docs/merge_deep.md index fbba9a79064..05c00017f25 100644 --- a/commands/docs/merge_deep.md +++ b/commands/docs/merge_deep.md @@ -2,11 +2,13 @@ title: merge deep categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Merge the input with a record or table, recursively merging values in matching columns. usage: | Merge the input with a record or table, recursively merging values in matching columns. +editLink: false +contributors: false --- diff --git a/commands/docs/metadata.md b/commands/docs/metadata.md index ac98882913a..c8900ce5798 100644 --- a/commands/docs/metadata.md +++ b/commands/docs/metadata.md @@ -2,11 +2,13 @@ title: metadata categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Get the metadata for items in the stream. usage: | Get the metadata for items in the stream. +editLink: false +contributors: false --- diff --git a/commands/docs/metadata_access.md b/commands/docs/metadata_access.md index 7d5e52378ac..b97367a5141 100644 --- a/commands/docs/metadata_access.md +++ b/commands/docs/metadata_access.md @@ -2,11 +2,13 @@ title: metadata access categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Access the metadata for the input stream within a closure. usage: | Access the metadata for the input stream within a closure. +editLink: false +contributors: false --- diff --git a/commands/docs/metadata_set.md b/commands/docs/metadata_set.md index 0762e9aef2e..6c8e1dce997 100644 --- a/commands/docs/metadata_set.md +++ b/commands/docs/metadata_set.md @@ -2,11 +2,13 @@ title: metadata set categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Set the metadata for items in the stream. usage: | Set the metadata for items in the stream. +editLink: false +contributors: false --- diff --git a/commands/docs/mkdir.md b/commands/docs/mkdir.md index c12398c8228..ffaf44039d9 100644 --- a/commands/docs/mkdir.md +++ b/commands/docs/mkdir.md @@ -2,11 +2,13 @@ title: mkdir categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Create directories, with intermediary directories if required using uutils/coreutils mkdir. usage: | Create directories, with intermediary directories if required using uutils/coreutils mkdir. +editLink: false +contributors: false --- diff --git a/commands/docs/mktemp.md b/commands/docs/mktemp.md index 030b2d5fc88..2ec4be84a6c 100644 --- a/commands/docs/mktemp.md +++ b/commands/docs/mktemp.md @@ -2,11 +2,13 @@ title: mktemp categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Create temporary files or directories using uutils/coreutils mktemp. usage: | Create temporary files or directories using uutils/coreutils mktemp. +editLink: false +contributors: false --- diff --git a/commands/docs/module.md b/commands/docs/module.md index 0b10a054087..fdf646ecca3 100644 --- a/commands/docs/module.md +++ b/commands/docs/module.md @@ -2,11 +2,13 @@ title: module categories: | core -version: 0.101.0 +version: 0.102.0 core: | Define a custom module. usage: | Define a custom module. +editLink: false +contributors: false --- diff --git a/commands/docs/move.md b/commands/docs/move.md index 82d3c956d57..f8f498c302f 100644 --- a/commands/docs/move.md +++ b/commands/docs/move.md @@ -2,17 +2,19 @@ title: move categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | - Move columns before or after other columns. + Moves columns relative to other columns or make them the first/last columns. Flags are mutually exclusive. usage: | - Move columns before or after other columns. + Moves columns relative to other columns or make them the first/last columns. Flags are mutually exclusive. +editLink: false +contributors: false --- # `move` for [filters](/commands/categories/filters.md) -
Move columns before or after other columns.
+
Moves columns relative to other columns or make them the first/last columns. Flags are mutually exclusive.
## Signature @@ -22,6 +24,8 @@ usage: | - `--after {string}`: the column that will precede the columns moved - `--before {string}`: the column that will be the next after the columns moved + - `--first`: makes the columns be the first ones + - `--last`: makes the columns be the last ones ## Parameters diff --git a/commands/docs/mut.md b/commands/docs/mut.md index a587f71e6d2..67eba1a2506 100644 --- a/commands/docs/mut.md +++ b/commands/docs/mut.md @@ -2,11 +2,13 @@ title: mut categories: | core -version: 0.101.0 +version: 0.102.0 core: | Create a mutable variable and give it a value. usage: | Create a mutable variable and give it a value. +editLink: false +contributors: false --- diff --git a/commands/docs/mv.md b/commands/docs/mv.md index f4680276e2c..9e4f342ac0f 100644 --- a/commands/docs/mv.md +++ b/commands/docs/mv.md @@ -2,11 +2,13 @@ title: mv categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Move files or directories using uutils/coreutils mv. usage: | Move files or directories using uutils/coreutils mv. +editLink: false +contributors: false --- diff --git a/commands/docs/nu-check.md b/commands/docs/nu-check.md index fda1d13e0a4..3debe211194 100644 --- a/commands/docs/nu-check.md +++ b/commands/docs/nu-check.md @@ -2,11 +2,13 @@ title: nu-check categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Validate and parse input content. usage: | Validate and parse input content. +editLink: false +contributors: false --- @@ -32,7 +34,9 @@ usage: | | input | output | | --------- | ------ | +| any | bool | | list\ | bool | +| nothing | bool | | string | bool | ## Examples diff --git a/commands/docs/nu-highlight.md b/commands/docs/nu-highlight.md index 6d8e19a8a3b..7e07e302cbb 100644 --- a/commands/docs/nu-highlight.md +++ b/commands/docs/nu-highlight.md @@ -2,11 +2,13 @@ title: nu-highlight categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Syntax highlight the input string. usage: | Syntax highlight the input string. +editLink: false +contributors: false --- diff --git a/commands/docs/open.md b/commands/docs/open.md index e4399ddc58e..1f784918148 100644 --- a/commands/docs/open.md +++ b/commands/docs/open.md @@ -2,11 +2,13 @@ title: open categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Load a file into a cell, converting to table if possible (avoid by appending '--raw'). usage: | Load a file into a cell, converting to table if possible (avoid by appending '--raw'). +editLink: false +contributors: false --- @@ -31,6 +33,7 @@ usage: | | input | output | | ------- | ------ | +| any | any | | nothing | any | | string | any | ## Examples diff --git a/commands/docs/overlay.md b/commands/docs/overlay.md index 73937d70d62..e4ba0e2aba4 100644 --- a/commands/docs/overlay.md +++ b/commands/docs/overlay.md @@ -2,11 +2,13 @@ title: overlay categories: | core -version: 0.101.0 +version: 0.102.0 core: | Commands for manipulating overlays. usage: | Commands for manipulating overlays. +editLink: false +contributors: false --- diff --git a/commands/docs/overlay_hide.md b/commands/docs/overlay_hide.md index 3b78b62b493..26efb836eda 100644 --- a/commands/docs/overlay_hide.md +++ b/commands/docs/overlay_hide.md @@ -2,11 +2,13 @@ title: overlay hide categories: | core -version: 0.101.0 +version: 0.102.0 core: | Hide an active overlay. usage: | Hide an active overlay. +editLink: false +contributors: false --- diff --git a/commands/docs/overlay_list.md b/commands/docs/overlay_list.md index e4a68bc55bb..162990540b8 100644 --- a/commands/docs/overlay_list.md +++ b/commands/docs/overlay_list.md @@ -2,11 +2,13 @@ title: overlay list categories: | core -version: 0.101.0 +version: 0.102.0 core: | List all active overlays. usage: | List all active overlays. +editLink: false +contributors: false --- diff --git a/commands/docs/overlay_new.md b/commands/docs/overlay_new.md index ea02970408c..e0263e916ce 100644 --- a/commands/docs/overlay_new.md +++ b/commands/docs/overlay_new.md @@ -2,11 +2,13 @@ title: overlay new categories: | core -version: 0.101.0 +version: 0.102.0 core: | Create an empty overlay. usage: | Create an empty overlay. +editLink: false +contributors: false --- diff --git a/commands/docs/overlay_use.md b/commands/docs/overlay_use.md index 23faab65a93..3343bf3030f 100644 --- a/commands/docs/overlay_use.md +++ b/commands/docs/overlay_use.md @@ -2,11 +2,13 @@ title: overlay use categories: | core -version: 0.101.0 +version: 0.102.0 core: | Use definitions from a module as an overlay. usage: | Use definitions from a module as an overlay. +editLink: false +contributors: false --- @@ -25,7 +27,7 @@ usage: | ## Parameters - - `name`: Module name to use overlay for. + - `name`: Module name to use overlay for (`null` for no-op). - `as`: `as` keyword followed by a new name. diff --git a/commands/docs/panic.md b/commands/docs/panic.md index 2c01741ec1a..475cd41c504 100644 --- a/commands/docs/panic.md +++ b/commands/docs/panic.md @@ -2,11 +2,13 @@ title: panic categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Causes nushell to panic. usage: | Causes nushell to panic. +editLink: false +contributors: false --- diff --git a/commands/docs/par-each.md b/commands/docs/par-each.md index 05ce604e53b..630132f7d18 100644 --- a/commands/docs/par-each.md +++ b/commands/docs/par-each.md @@ -2,11 +2,13 @@ title: par-each categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Run a closure on each row of the input list in parallel, creating a new list with the results. usage: | Run a closure on each row of the input list in parallel, creating a new list with the results. +editLink: false +contributors: false --- diff --git a/commands/docs/parse.md b/commands/docs/parse.md index 775dc312b95..f32d6c570ca 100644 --- a/commands/docs/parse.md +++ b/commands/docs/parse.md @@ -2,11 +2,13 @@ title: parse categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Parse columns from string data using a simple pattern or a supplied regular expression. usage: | Parse columns from string data using a simple pattern or a supplied regular expression. +editLink: false +contributors: false --- diff --git a/commands/docs/path.md b/commands/docs/path.md index 89fe9500e93..c6fb87ef38f 100644 --- a/commands/docs/path.md +++ b/commands/docs/path.md @@ -2,11 +2,13 @@ title: path categories: | path -version: 0.101.0 +version: 0.102.0 path: | Explore and manipulate paths. usage: | Explore and manipulate paths. +editLink: false +contributors: false --- diff --git a/commands/docs/path_basename.md b/commands/docs/path_basename.md index 57a83e622db..4a45cccd5f8 100644 --- a/commands/docs/path_basename.md +++ b/commands/docs/path_basename.md @@ -2,11 +2,13 @@ title: path basename categories: | path -version: 0.101.0 +version: 0.102.0 path: | Get the final component of a path. usage: | Get the final component of a path. +editLink: false +contributors: false --- diff --git a/commands/docs/path_dirname.md b/commands/docs/path_dirname.md index d0ab9b07bd4..e9cff8356e5 100644 --- a/commands/docs/path_dirname.md +++ b/commands/docs/path_dirname.md @@ -2,11 +2,13 @@ title: path dirname categories: | path -version: 0.101.0 +version: 0.102.0 path: | Get the parent directory of a path. usage: | Get the parent directory of a path. +editLink: false +contributors: false --- diff --git a/commands/docs/path_exists.md b/commands/docs/path_exists.md index 770764f4dca..e66373fa262 100644 --- a/commands/docs/path_exists.md +++ b/commands/docs/path_exists.md @@ -2,11 +2,13 @@ title: path exists categories: | path -version: 0.101.0 +version: 0.102.0 path: | Check whether a path exists. usage: | Check whether a path exists. +editLink: false +contributors: false --- diff --git a/commands/docs/path_expand.md b/commands/docs/path_expand.md index a4cabcb7fc2..2bd8a7602cc 100644 --- a/commands/docs/path_expand.md +++ b/commands/docs/path_expand.md @@ -2,11 +2,13 @@ title: path expand categories: | path -version: 0.101.0 +version: 0.102.0 path: | Try to expand a path to its absolute form. usage: | Try to expand a path to its absolute form. +editLink: false +contributors: false --- diff --git a/commands/docs/path_join.md b/commands/docs/path_join.md index e645de22ee0..b4578ebca06 100644 --- a/commands/docs/path_join.md +++ b/commands/docs/path_join.md @@ -2,11 +2,13 @@ title: path join categories: | path -version: 0.101.0 +version: 0.102.0 path: | Join a structured path or a list of path parts. usage: | Join a structured path or a list of path parts. +editLink: false +contributors: false --- diff --git a/commands/docs/path_parse.md b/commands/docs/path_parse.md index ed80700b373..81105113085 100644 --- a/commands/docs/path_parse.md +++ b/commands/docs/path_parse.md @@ -2,11 +2,13 @@ title: path parse categories: | path -version: 0.101.0 +version: 0.102.0 path: | Convert a path into structured data. usage: | Convert a path into structured data. +editLink: false +contributors: false --- diff --git a/commands/docs/path_relative-to.md b/commands/docs/path_relative-to.md index 037c4390a58..30084829b68 100644 --- a/commands/docs/path_relative-to.md +++ b/commands/docs/path_relative-to.md @@ -2,11 +2,13 @@ title: path relative-to categories: | path -version: 0.101.0 +version: 0.102.0 path: | Express a path as relative to another path. usage: | Express a path as relative to another path. +editLink: false +contributors: false --- diff --git a/commands/docs/path_self.md b/commands/docs/path_self.md index 4c8e8b2247e..77c7f56d147 100644 --- a/commands/docs/path_self.md +++ b/commands/docs/path_self.md @@ -2,11 +2,13 @@ title: path self categories: | path -version: 0.101.0 +version: 0.102.0 path: | Get the absolute path of the script or module containing this command at parse time. usage: | Get the absolute path of the script or module containing this command at parse time. +editLink: false +contributors: false --- diff --git a/commands/docs/path_split.md b/commands/docs/path_split.md index 26049d399ce..3629608c7ab 100644 --- a/commands/docs/path_split.md +++ b/commands/docs/path_split.md @@ -2,11 +2,13 @@ title: path split categories: | path -version: 0.101.0 +version: 0.102.0 path: | Split a path into a list based on the system's path separator. usage: | Split a path into a list based on the system's path separator. +editLink: false +contributors: false --- diff --git a/commands/docs/path_type.md b/commands/docs/path_type.md index 50cf26d5fd6..83f24dd27a0 100644 --- a/commands/docs/path_type.md +++ b/commands/docs/path_type.md @@ -2,11 +2,13 @@ title: path type categories: | path -version: 0.101.0 +version: 0.102.0 path: | Get the type of the object a path refers to (e.g., file, dir, symlink). usage: | Get the type of the object a path refers to (e.g., file, dir, symlink). +editLink: false +contributors: false --- diff --git a/commands/docs/plugin.md b/commands/docs/plugin.md index 01546dbd18c..18850796f65 100644 --- a/commands/docs/plugin.md +++ b/commands/docs/plugin.md @@ -2,11 +2,13 @@ title: plugin categories: | plugin -version: 0.101.0 +version: 0.102.0 plugin: | Commands for managing plugins. usage: | Commands for managing plugins. +editLink: false +contributors: false --- diff --git a/commands/docs/plugin_add.md b/commands/docs/plugin_add.md index 2757f33617f..8a1b15e442f 100644 --- a/commands/docs/plugin_add.md +++ b/commands/docs/plugin_add.md @@ -2,11 +2,13 @@ title: plugin add categories: | plugin -version: 0.101.0 +version: 0.102.0 plugin: | Add a plugin to the plugin registry file. usage: | Add a plugin to the plugin registry file. +editLink: false +contributors: false --- diff --git a/commands/docs/plugin_list.md b/commands/docs/plugin_list.md index 68c2793430f..68db6f92b76 100644 --- a/commands/docs/plugin_list.md +++ b/commands/docs/plugin_list.md @@ -2,11 +2,13 @@ title: plugin list categories: | plugin -version: 0.101.0 +version: 0.102.0 plugin: | List loaded and installed plugins. usage: | List loaded and installed plugins. +editLink: false +contributors: false --- @@ -36,13 +38,13 @@ usage: | List installed plugins. ```nu > plugin list -╭───┬──────┬─────────┬─────────┬────────┬───────────────────────────────┬───────┬─────────────╮ -│ # │ name │ version │ status │ pid │ filename │ shell │ commands │ -├───┼──────┼─────────┼─────────┼────────┼───────────────────────────────┼───────┼─────────────┤ -│ 0 │ inc │ 0.100.1 │ running │ 106480 │ /opt/nu/plugins/nu_plugin_inc │ │ ╭───┬─────╮ │ -│ │ │ │ │ │ │ │ │ 0 │ inc │ │ -│ │ │ │ │ │ │ │ ╰───┴─────╯ │ -╰───┴──────┴─────────┴─────────┴────────┴───────────────────────────────┴───────┴─────────────╯ +╭─────┬────────┬──────────────┬───────────┬──────────┬────────────────────────────────┬────────┬──────────────╮ +│ # │ name │ version │ status │ pid │ filename │ shell │ commands │ +├─────┼────────┼──────────────┼───────────┼──────────┼────────────────────────────────┼────────┼──────────────┤ +│ 0 │ inc │ 0.102.0 │ running │ 106480 │ /opt/nu/plugins/nu_plugin_inc │ │ ╭───┬─────╮ │ +│ │ │ │ │ │ │ │ │ 0 │ inc │ │ +│ │ │ │ │ │ │ │ ╰───┴─────╯ │ +╰─────┴────────┴──────────────┴───────────┴──────────┴────────────────────────────────┴────────┴──────────────╯ ``` @@ -73,4 +75,4 @@ or the plugin has not been loaded yet, the values of `version`, `filename`, `shell`, and `commands` reflect the values in the engine and not the ones in the plugin registry file. -See also: `plugin use` \ No newline at end of file +See also: `plugin use` diff --git a/commands/docs/plugin_rm.md b/commands/docs/plugin_rm.md index 71ce141b514..21c211934d0 100644 --- a/commands/docs/plugin_rm.md +++ b/commands/docs/plugin_rm.md @@ -2,11 +2,13 @@ title: plugin rm categories: | plugin -version: 0.101.0 +version: 0.102.0 plugin: | Remove a plugin from the plugin registry file. usage: | Remove a plugin from the plugin registry file. +editLink: false +contributors: false --- diff --git a/commands/docs/plugin_stop.md b/commands/docs/plugin_stop.md index f2977d27f29..0bac642027e 100644 --- a/commands/docs/plugin_stop.md +++ b/commands/docs/plugin_stop.md @@ -2,11 +2,13 @@ title: plugin stop categories: | plugin -version: 0.101.0 +version: 0.102.0 plugin: | Stop an installed plugin if it was running. usage: | Stop an installed plugin if it was running. +editLink: false +contributors: false --- diff --git a/commands/docs/plugin_use.md b/commands/docs/plugin_use.md index df935b41107..16f4997971d 100644 --- a/commands/docs/plugin_use.md +++ b/commands/docs/plugin_use.md @@ -2,11 +2,13 @@ title: plugin use categories: | plugin -version: 0.101.0 +version: 0.102.0 plugin: | Load a plugin from the plugin registry file into scope. usage: | Load a plugin from the plugin registry file into scope. +editLink: false +contributors: false --- diff --git a/commands/docs/polars.md b/commands/docs/polars.md index 7bf9e074467..b30af27d1a3 100644 --- a/commands/docs/polars.md +++ b/commands/docs/polars.md @@ -2,11 +2,13 @@ title: polars categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Operate with data in a dataframe format. usage: | Operate with data in a dataframe format. +editLink: false +contributors: false --- @@ -96,6 +98,7 @@ You must use one of the following subcommands. Using this command as-is will onl | [`polars into-df`](/commands/docs/polars_into-df.md) | Converts a list, table or record into a dataframe. | plugin | | [`polars into-lazy`](/commands/docs/polars_into-lazy.md) | Converts a dataframe into a lazy dataframe. | plugin | | [`polars into-nu`](/commands/docs/polars_into-nu.md) | Converts a dataframe or an expression into nushell value for access and exploration. | plugin | +| [`polars into-repr`](/commands/docs/polars_into-repr.md) | Display a dataframe in its repr format. | plugin | | [`polars is-duplicated`](/commands/docs/polars_is-duplicated.md) | Creates mask indicating duplicated values. | plugin | | [`polars is-in`](/commands/docs/polars_is-in.md) | Creates an is-in expression or checks to see if the elements are contained in the right series | plugin | | [`polars is-not-null`](/commands/docs/polars_is-not-null.md) | Creates mask where value is not null. | plugin | @@ -140,6 +143,7 @@ You must use one of the following subcommands. Using this command as-is will onl | [`polars str-join`](/commands/docs/polars_str-join.md) | Concatenates strings within a column or dataframes | plugin | | [`polars str-lengths`](/commands/docs/polars_str-lengths.md) | Get lengths of all strings. | plugin | | [`polars str-slice`](/commands/docs/polars_str-slice.md) | Slices the string from the start position until the selected length. | plugin | +| [`polars str-split`](/commands/docs/polars_str-split.md) | Split the string by a substring. The resulting dtype is list\. | plugin | | [`polars strftime`](/commands/docs/polars_strftime.md) | Formats date based on string rule. | plugin | | [`polars sum`](/commands/docs/polars_sum.md) | Creates a sum expression for an aggregation or aggregates columns to their sum value. | plugin | | [`polars summary`](/commands/docs/polars_summary.md) | For a dataframe, produces descriptive statistics (summary statistics) for its numeric columns. | plugin | diff --git a/commands/docs/polars_agg-groups.md b/commands/docs/polars_agg-groups.md index 052356ef1a9..a747f1008c0 100644 --- a/commands/docs/polars_agg-groups.md +++ b/commands/docs/polars_agg-groups.md @@ -2,11 +2,13 @@ title: polars agg-groups categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates an agg_groups expression. usage: | Creates an agg_groups expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_agg.md b/commands/docs/polars_agg.md index b292252bd24..03081c82174 100644 --- a/commands/docs/polars_agg.md +++ b/commands/docs/polars_agg.md @@ -2,11 +2,13 @@ title: polars agg categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Performs a series of aggregations from a group-by. usage: | Performs a series of aggregations from a group-by. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_all-false.md b/commands/docs/polars_all-false.md index 686f339b02f..cdd0b4e2c6e 100644 --- a/commands/docs/polars_all-false.md +++ b/commands/docs/polars_all-false.md @@ -2,11 +2,13 @@ title: polars all-false categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Returns true if all values are false. usage: | Returns true if all values are false. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_all-true.md b/commands/docs/polars_all-true.md index 3593755598f..08c37ea787b 100644 --- a/commands/docs/polars_all-true.md +++ b/commands/docs/polars_all-true.md @@ -2,11 +2,13 @@ title: polars all-true categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Returns true if all values are true. usage: | Returns true if all values are true. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_append.md b/commands/docs/polars_append.md index cd05ec5c22e..61a23fcf710 100644 --- a/commands/docs/polars_append.md +++ b/commands/docs/polars_append.md @@ -2,11 +2,13 @@ title: polars append categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Appends a new dataframe. usage: | Appends a new dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_arg-max.md b/commands/docs/polars_arg-max.md index afd48980a5e..dfb512f39b4 100644 --- a/commands/docs/polars_arg-max.md +++ b/commands/docs/polars_arg-max.md @@ -2,11 +2,13 @@ title: polars arg-max categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Return index for max value in series. usage: | Return index for max value in series. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_arg-min.md b/commands/docs/polars_arg-min.md index 86cf78b6005..cc065324cb4 100644 --- a/commands/docs/polars_arg-min.md +++ b/commands/docs/polars_arg-min.md @@ -2,11 +2,13 @@ title: polars arg-min categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Return index for min value in series. usage: | Return index for min value in series. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_arg-sort.md b/commands/docs/polars_arg-sort.md index 43c6b7be4b9..c5d7a216e31 100644 --- a/commands/docs/polars_arg-sort.md +++ b/commands/docs/polars_arg-sort.md @@ -2,11 +2,13 @@ title: polars arg-sort categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Returns indexes for a sorted series. usage: | Returns indexes for a sorted series. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_arg-true.md b/commands/docs/polars_arg-true.md index 221b5bcc3f3..61b0ab67d18 100644 --- a/commands/docs/polars_arg-true.md +++ b/commands/docs/polars_arg-true.md @@ -2,11 +2,13 @@ title: polars arg-true categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Returns indexes where values are true. usage: | Returns indexes where values are true. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_arg-unique.md b/commands/docs/polars_arg-unique.md index e8703cf46b0..654747cc7f3 100644 --- a/commands/docs/polars_arg-unique.md +++ b/commands/docs/polars_arg-unique.md @@ -2,11 +2,13 @@ title: polars arg-unique categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Returns indexes for unique values. usage: | Returns indexes for unique values. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_arg-where.md b/commands/docs/polars_arg-where.md index 139df390e1c..aa63060faa2 100644 --- a/commands/docs/polars_arg-where.md +++ b/commands/docs/polars_arg-where.md @@ -2,11 +2,13 @@ title: polars arg-where categories: | expression -version: 0.101.0 +version: 0.102.0 expression: | Creates an expression that returns the arguments where expression is true. usage: | Creates an expression that returns the arguments where expression is true. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_as-date.md b/commands/docs/polars_as-date.md index ad138efe25d..0d231cc43b7 100644 --- a/commands/docs/polars_as-date.md +++ b/commands/docs/polars_as-date.md @@ -2,11 +2,13 @@ title: polars as-date categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Converts string to date. usage: | Converts string to date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_as-datetime.md b/commands/docs/polars_as-datetime.md index e23aa0d993a..56ef5c07b43 100644 --- a/commands/docs/polars_as-datetime.md +++ b/commands/docs/polars_as-datetime.md @@ -2,11 +2,13 @@ title: polars as-datetime categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Converts string to datetime. usage: | Converts string to datetime. +editLink: false +contributors: false --- @@ -48,8 +50,8 @@ Converts string to datetime ╭───┬─────────────╮ │ # │ datetime │ ├───┼─────────────┤ -│ 0 │ 2 years ago │ -│ 1 │ 2 years ago │ +│ 0 │ 3 years ago │ +│ 1 │ 3 years ago │ ╰───┴─────────────╯ ``` @@ -60,8 +62,8 @@ Converts string to datetime with high resolutions ╭───┬─────────────╮ │ # │ datetime │ ├───┼─────────────┤ -│ 0 │ 2 years ago │ -│ 1 │ 2 years ago │ +│ 0 │ 3 years ago │ +│ 1 │ 3 years ago │ ╰───┴─────────────╯ ``` @@ -72,7 +74,7 @@ Converts string to datetime using the `--not-exact` flag even with excessive sym ╭───┬─────────────╮ │ # │ datetime │ ├───┼─────────────┤ -│ 0 │ 2 years ago │ +│ 0 │ 3 years ago │ ╰───┴─────────────╯ ``` diff --git a/commands/docs/polars_as.md b/commands/docs/polars_as.md index b71b00a6caa..4c093f87b9b 100644 --- a/commands/docs/polars_as.md +++ b/commands/docs/polars_as.md @@ -2,11 +2,13 @@ title: polars as categories: | expression -version: 0.101.0 +version: 0.102.0 expression: | Creates an alias expression. usage: | Creates an alias expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_cache.md b/commands/docs/polars_cache.md index 45ba587fbd8..bda96757d59 100644 --- a/commands/docs/polars_cache.md +++ b/commands/docs/polars_cache.md @@ -2,11 +2,13 @@ title: polars cache categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Caches operations in a new LazyFrame. usage: | Caches operations in a new LazyFrame. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_cast.md b/commands/docs/polars_cast.md index b98cbdbe169..3f6ad377be9 100644 --- a/commands/docs/polars_cast.md +++ b/commands/docs/polars_cast.md @@ -2,11 +2,13 @@ title: polars cast categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Cast a column to a different dtype. usage: | Cast a column to a different dtype. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_col.md b/commands/docs/polars_col.md index 0d562ff9513..4569177cf4e 100644 --- a/commands/docs/polars_col.md +++ b/commands/docs/polars_col.md @@ -2,11 +2,13 @@ title: polars col categories: | expression -version: 0.101.0 +version: 0.102.0 expression: | Creates a named column expression. usage: | Creates a named column expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_collect.md b/commands/docs/polars_collect.md index 9d18fa6d726..5afd5cc5222 100644 --- a/commands/docs/polars_collect.md +++ b/commands/docs/polars_collect.md @@ -2,11 +2,13 @@ title: polars collect categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Collect lazy dataframe into eager dataframe. usage: | Collect lazy dataframe into eager dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_columns.md b/commands/docs/polars_columns.md index e022981959c..e6236d09d70 100644 --- a/commands/docs/polars_columns.md +++ b/commands/docs/polars_columns.md @@ -2,11 +2,13 @@ title: polars columns categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Show dataframe columns. usage: | Show dataframe columns. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_concat-str.md b/commands/docs/polars_concat-str.md index 6d0cdc6d889..cf891d12a7d 100644 --- a/commands/docs/polars_concat-str.md +++ b/commands/docs/polars_concat-str.md @@ -2,11 +2,13 @@ title: polars concat-str categories: | expression -version: 0.101.0 +version: 0.102.0 expression: | Creates a concat string expression. usage: | Creates a concat string expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_concat.md b/commands/docs/polars_concat.md index bd5dad14b00..cc13a7e228e 100644 --- a/commands/docs/polars_concat.md +++ b/commands/docs/polars_concat.md @@ -2,11 +2,13 @@ title: polars concat categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Concatenate two or more dataframes. usage: | Concatenate two or more dataframes. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_contains.md b/commands/docs/polars_contains.md index c06a0c9785c..6ada7c0f7ed 100644 --- a/commands/docs/polars_contains.md +++ b/commands/docs/polars_contains.md @@ -2,11 +2,13 @@ title: polars contains categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Checks if a pattern is contained in a string. usage: | Checks if a pattern is contained in a string. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_count-null.md b/commands/docs/polars_count-null.md index 13d4aa0b2f8..33a89377049 100644 --- a/commands/docs/polars_count-null.md +++ b/commands/docs/polars_count-null.md @@ -2,11 +2,13 @@ title: polars count-null categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Counts null values. usage: | Counts null values. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_count.md b/commands/docs/polars_count.md index 4ae4ac04814..a5d7ab7f232 100644 --- a/commands/docs/polars_count.md +++ b/commands/docs/polars_count.md @@ -2,11 +2,13 @@ title: polars count categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Returns the number of non-null values in the column. usage: | Returns the number of non-null values in the column. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_cumulative.md b/commands/docs/polars_cumulative.md index 910245d27a8..32b0084610b 100644 --- a/commands/docs/polars_cumulative.md +++ b/commands/docs/polars_cumulative.md @@ -2,11 +2,13 @@ title: polars cumulative categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Cumulative calculation for a column or series. usage: | Cumulative calculation for a column or series. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_datepart.md b/commands/docs/polars_datepart.md index 5dfedd89662..c3c8cfe9910 100644 --- a/commands/docs/polars_datepart.md +++ b/commands/docs/polars_datepart.md @@ -2,11 +2,13 @@ title: polars datepart categories: | expression -version: 0.101.0 +version: 0.102.0 expression: | Creates an expression for capturing the specified datepart in a column. usage: | Creates an expression for capturing the specified datepart in a column. +editLink: false +contributors: false --- @@ -44,7 +46,7 @@ Creates an expression to capture the year date part ╭───┬─────────────┬───────────────╮ │ # │ datetime │ datetime_year │ ├───┼─────────────┼───────────────┤ -│ 0 │ 2 years ago │ 2021 │ +│ 0 │ 3 years ago │ 2021 │ ╰───┴─────────────┴───────────────╯ ``` @@ -62,7 +64,7 @@ Creates an expression to capture multiple date parts ╭─────┬───────────────┬─────────────────┬──────────────────┬───────────────┬────────────────┬──────────────────┬──────╮ │ # │ datetime │ datetime_year │ datetime_month │ datetime_day │ datetime_hour │ datetime_minute │ ... │ ├─────┼───────────────┼─────────────────┼──────────────────┼───────────────┼────────────────┼──────────────────┼──────┤ -│ 0 │ 2 years ago │ 2021 │ 12 │ 30 │ 1 │ 2 │ ... │ +│ 0 │ 3 years ago │ 2021 │ 12 │ 30 │ 1 │ 2 │ ... │ ╰─────┴───────────────┴─────────────────┴──────────────────┴───────────────┴────────────────┴──────────────────┴──────╯ ``` diff --git a/commands/docs/polars_decimal.md b/commands/docs/polars_decimal.md index 91a0e7388b0..e9f48dba48c 100644 --- a/commands/docs/polars_decimal.md +++ b/commands/docs/polars_decimal.md @@ -2,11 +2,13 @@ title: polars decimal categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Converts a string column into a decimal column usage: | Converts a string column into a decimal column +editLink: false +contributors: false --- diff --git a/commands/docs/polars_drop-duplicates.md b/commands/docs/polars_drop-duplicates.md index 5496bf71d82..ba7d5d81d6e 100644 --- a/commands/docs/polars_drop-duplicates.md +++ b/commands/docs/polars_drop-duplicates.md @@ -2,11 +2,13 @@ title: polars drop-duplicates categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Drops duplicate values in dataframe. usage: | Drops duplicate values in dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_drop-nulls.md b/commands/docs/polars_drop-nulls.md index 39a9b209657..fab86dd312f 100644 --- a/commands/docs/polars_drop-nulls.md +++ b/commands/docs/polars_drop-nulls.md @@ -2,11 +2,13 @@ title: polars drop-nulls categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Drops null values in dataframe. usage: | Drops null values in dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_drop.md b/commands/docs/polars_drop.md index 429b9c2628d..fdd89448795 100644 --- a/commands/docs/polars_drop.md +++ b/commands/docs/polars_drop.md @@ -2,11 +2,13 @@ title: polars drop categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates a new dataframe by dropping the selected columns. usage: | Creates a new dataframe by dropping the selected columns. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_dummies.md b/commands/docs/polars_dummies.md index 38fb6296afb..402f06d41c2 100644 --- a/commands/docs/polars_dummies.md +++ b/commands/docs/polars_dummies.md @@ -2,11 +2,13 @@ title: polars dummies categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates a new dataframe with dummy variables. usage: | Creates a new dataframe with dummy variables. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_explode.md b/commands/docs/polars_explode.md index 8b7da366ee6..1b1d1980325 100644 --- a/commands/docs/polars_explode.md +++ b/commands/docs/polars_explode.md @@ -2,11 +2,13 @@ title: polars explode categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Explodes a dataframe or creates a explode expression. usage: | Explodes a dataframe or creates a explode expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_expr-not.md b/commands/docs/polars_expr-not.md index 27619e1229a..74c469f15c8 100644 --- a/commands/docs/polars_expr-not.md +++ b/commands/docs/polars_expr-not.md @@ -2,11 +2,13 @@ title: polars expr-not categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates a not expression. usage: | Creates a not expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_fetch.md b/commands/docs/polars_fetch.md index 137280959f3..f257964d457 100644 --- a/commands/docs/polars_fetch.md +++ b/commands/docs/polars_fetch.md @@ -2,11 +2,13 @@ title: polars fetch categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Collects the lazyframe to the selected rows. usage: | Collects the lazyframe to the selected rows. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_fill-nan.md b/commands/docs/polars_fill-nan.md index 755c1602c63..eb8edd47930 100644 --- a/commands/docs/polars_fill-nan.md +++ b/commands/docs/polars_fill-nan.md @@ -2,11 +2,13 @@ title: polars fill-nan categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Replaces NaN values with the given expression. usage: | Replaces NaN values with the given expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_fill-null.md b/commands/docs/polars_fill-null.md index e5247074f6b..13182af2cd9 100644 --- a/commands/docs/polars_fill-null.md +++ b/commands/docs/polars_fill-null.md @@ -2,11 +2,13 @@ title: polars fill-null categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Replaces NULL values with the given expression. usage: | Replaces NULL values with the given expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_filter-with.md b/commands/docs/polars_filter-with.md index d99c691a5fa..660249486fa 100644 --- a/commands/docs/polars_filter-with.md +++ b/commands/docs/polars_filter-with.md @@ -2,11 +2,13 @@ title: polars filter-with categories: | dataframe or lazyframe -version: 0.101.0 +version: 0.102.0 dataframe_or_lazyframe: | Filters dataframe using a mask or expression as reference. usage: | Filters dataframe using a mask or expression as reference. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_filter.md b/commands/docs/polars_filter.md index 8bb267dc98f..e20082a9c2e 100644 --- a/commands/docs/polars_filter.md +++ b/commands/docs/polars_filter.md @@ -2,11 +2,13 @@ title: polars filter categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Filter dataframe based in expression. usage: | Filter dataframe based in expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_first.md b/commands/docs/polars_first.md index fa6103c751b..b1bb6d84588 100644 --- a/commands/docs/polars_first.md +++ b/commands/docs/polars_first.md @@ -2,11 +2,13 @@ title: polars first categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Show only the first number of rows or create a first expression usage: | Show only the first number of rows or create a first expression +editLink: false +contributors: false --- diff --git a/commands/docs/polars_flatten.md b/commands/docs/polars_flatten.md index 334f854f445..40a68ed126a 100644 --- a/commands/docs/polars_flatten.md +++ b/commands/docs/polars_flatten.md @@ -2,11 +2,13 @@ title: polars flatten categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | An alias for polars explode. usage: | An alias for polars explode. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get-day.md b/commands/docs/polars_get-day.md index c6077d215e5..499e98ef68c 100644 --- a/commands/docs/polars_get-day.md +++ b/commands/docs/polars_get-day.md @@ -2,11 +2,13 @@ title: polars get-day categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets day from date. usage: | Gets day from date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get-hour.md b/commands/docs/polars_get-hour.md index fee59c9c396..97586f54952 100644 --- a/commands/docs/polars_get-hour.md +++ b/commands/docs/polars_get-hour.md @@ -2,11 +2,13 @@ title: polars get-hour categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets hour from date. usage: | Gets hour from date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get-minute.md b/commands/docs/polars_get-minute.md index 46fc5ea4679..aa7aeba3437 100644 --- a/commands/docs/polars_get-minute.md +++ b/commands/docs/polars_get-minute.md @@ -2,11 +2,13 @@ title: polars get-minute categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets minute from date. usage: | Gets minute from date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get-month.md b/commands/docs/polars_get-month.md index 30eecef781b..33d87f32cd4 100644 --- a/commands/docs/polars_get-month.md +++ b/commands/docs/polars_get-month.md @@ -2,11 +2,13 @@ title: polars get-month categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets month from date. usage: | Gets month from date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get-nanosecond.md b/commands/docs/polars_get-nanosecond.md index ba88e2d53e8..616d4c5ccbe 100644 --- a/commands/docs/polars_get-nanosecond.md +++ b/commands/docs/polars_get-nanosecond.md @@ -2,11 +2,13 @@ title: polars get-nanosecond categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets nanosecond from date. usage: | Gets nanosecond from date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get-ordinal.md b/commands/docs/polars_get-ordinal.md index 75b16320828..92c9c7c64d0 100644 --- a/commands/docs/polars_get-ordinal.md +++ b/commands/docs/polars_get-ordinal.md @@ -2,11 +2,13 @@ title: polars get-ordinal categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets ordinal from date. usage: | Gets ordinal from date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get-second.md b/commands/docs/polars_get-second.md index 809fcdc7e6d..77935b67be6 100644 --- a/commands/docs/polars_get-second.md +++ b/commands/docs/polars_get-second.md @@ -2,11 +2,13 @@ title: polars get-second categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets second from date. usage: | Gets second from date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get-week.md b/commands/docs/polars_get-week.md index 29f13188b02..26fdc682918 100644 --- a/commands/docs/polars_get-week.md +++ b/commands/docs/polars_get-week.md @@ -2,11 +2,13 @@ title: polars get-week categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets week from date. usage: | Gets week from date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get-weekday.md b/commands/docs/polars_get-weekday.md index 0cd51c9bb65..c71b48cbc44 100644 --- a/commands/docs/polars_get-weekday.md +++ b/commands/docs/polars_get-weekday.md @@ -2,11 +2,13 @@ title: polars get-weekday categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets weekday from date. usage: | Gets weekday from date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get-year.md b/commands/docs/polars_get-year.md index 7be5f375b69..ac0f2126349 100644 --- a/commands/docs/polars_get-year.md +++ b/commands/docs/polars_get-year.md @@ -2,11 +2,13 @@ title: polars get-year categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets year from date. usage: | Gets year from date. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_get.md b/commands/docs/polars_get.md index f286e31114c..c6c2f7e9a89 100644 --- a/commands/docs/polars_get.md +++ b/commands/docs/polars_get.md @@ -2,11 +2,13 @@ title: polars get categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates dataframe with the selected columns. usage: | Creates dataframe with the selected columns. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_group-by.md b/commands/docs/polars_group-by.md index 2827cffb38c..018e51e59e0 100644 --- a/commands/docs/polars_group-by.md +++ b/commands/docs/polars_group-by.md @@ -2,11 +2,13 @@ title: polars group-by categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Creates a group-by object that can be used for other aggregations. usage: | Creates a group-by object that can be used for other aggregations. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_implode.md b/commands/docs/polars_implode.md index d6eb30d1f4c..015936f4f3d 100644 --- a/commands/docs/polars_implode.md +++ b/commands/docs/polars_implode.md @@ -2,11 +2,13 @@ title: polars implode categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Aggregates values into a list. usage: | Aggregates values into a list. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_integer.md b/commands/docs/polars_integer.md index 5965943e8c7..39a0ede93a8 100644 --- a/commands/docs/polars_integer.md +++ b/commands/docs/polars_integer.md @@ -2,11 +2,13 @@ title: polars integer categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Converts a string column into a integer column usage: | Converts a string column into a integer column +editLink: false +contributors: false --- diff --git a/commands/docs/polars_into-df.md b/commands/docs/polars_into-df.md index d8ef326623f..49540b99d8c 100644 --- a/commands/docs/polars_into-df.md +++ b/commands/docs/polars_into-df.md @@ -2,11 +2,13 @@ title: polars into-df categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Converts a list, table or record into a dataframe. usage: | Converts a list, table or record into a dataframe. +editLink: false +contributors: false --- @@ -110,7 +112,7 @@ Convert to a dataframe and provide a schema ├───┼───┼───────────────────┼────────────┤ │ 0 │ 1 │ ╭───┬───────────╮ │ ╭───┬────╮ │ │ │ │ │ │ ╭───┬───╮ │ │ │ 0 │ 10 │ │ -│ │ │ │ a │ │ 0 │ 1 │ │ │ │ 1 │ 11 │ │ +│ │ │ │ d │ │ 0 │ 1 │ │ │ │ 1 │ 11 │ │ │ │ │ │ │ │ 1 │ 2 │ │ │ │ 2 │ 12 │ │ │ │ │ │ │ │ 2 │ 3 │ │ │ ╰───┴────╯ │ │ │ │ │ │ ╰───┴───╯ │ │ │ diff --git a/commands/docs/polars_into-lazy.md b/commands/docs/polars_into-lazy.md index 8e6fbacbbba..0b7c8caf35a 100644 --- a/commands/docs/polars_into-lazy.md +++ b/commands/docs/polars_into-lazy.md @@ -2,11 +2,13 @@ title: polars into-lazy categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Converts a dataframe into a lazy dataframe. usage: | Converts a dataframe into a lazy dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_into-nu.md b/commands/docs/polars_into-nu.md index 17d512ec9da..7e9d5e7f7f6 100644 --- a/commands/docs/polars_into-nu.md +++ b/commands/docs/polars_into-nu.md @@ -2,11 +2,13 @@ title: polars into-nu categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Converts a dataframe or an expression into nushell value for access and exploration. usage: | Converts a dataframe or an expression into nushell value for access and exploration. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_into-repr.md b/commands/docs/polars_into-repr.md new file mode 100644 index 00000000000..c1f0206d12b --- /dev/null +++ b/commands/docs/polars_into-repr.md @@ -0,0 +1,65 @@ +--- +title: polars into-repr +categories: | + dataframe +version: 0.102.0 +dataframe: | + Display a dataframe in its repr format. +usage: | + Display a dataframe in its repr format. +editLink: false +contributors: false +--- + + +# `polars into-repr` for [dataframe](/commands/categories/dataframe.md) + +
Display a dataframe in its repr format.
+ +::: warning This command requires a plugin +The `polars into-repr` command resides in the `polars` plugin. +To use this command, you must install and register `nu_plugin_polars`. +See the [Plugins](/book/plugins.html) chapter in the book for more information. +::: + + +## Signature + +```> polars into-repr {flags} ``` + + +## Input/output types: + +| input | output | +| ----- | ------ | +| any | string | + +## Examples + +Shows dataframe in repr format +```nu +> [[a b]; [2025-01-01 2] [2025-01-02 4]] | polars into-df | polars into-repr +shape: (2, 2) +┌─────────────────────┬─────┐ +│ a ┆ b │ +│ --- ┆ --- │ +│ datetime[ns] ┆ i64 │ +╞═════════════════════╪═════╡ +│ 2025-01-01 00:00:00 ┆ 2 │ +│ 2025-01-02 00:00:00 ┆ 4 │ +└─────────────────────┴─────┘ +``` + +Shows lazy dataframe in repr format +```nu +> [[a b]; [2025-01-01 2] [2025-01-02 4]] | polars into-df | polars into-lazy | polars into-repr +shape: (2, 2) +┌─────────────────────┬─────┐ +│ a ┆ b │ +│ --- ┆ --- │ +│ datetime[ns] ┆ i64 │ +╞═════════════════════╪═════╡ +│ 2025-01-01 00:00:00 ┆ 2 │ +│ 2025-01-02 00:00:00 ┆ 4 │ +└─────────────────────┴─────┘ +``` diff --git a/commands/docs/polars_is-duplicated.md b/commands/docs/polars_is-duplicated.md index 38bfd615065..4272200aa46 100644 --- a/commands/docs/polars_is-duplicated.md +++ b/commands/docs/polars_is-duplicated.md @@ -2,11 +2,13 @@ title: polars is-duplicated categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates mask indicating duplicated values. usage: | Creates mask indicating duplicated values. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_is-in.md b/commands/docs/polars_is-in.md index 4d93fa9f2d3..2f64bc9eff1 100644 --- a/commands/docs/polars_is-in.md +++ b/commands/docs/polars_is-in.md @@ -2,11 +2,13 @@ title: polars is-in categories: | expression -version: 0.101.0 +version: 0.102.0 expression: | Creates an is-in expression or checks to see if the elements are contained in the right series usage: | Creates an is-in expression or checks to see if the elements are contained in the right series +editLink: false +contributors: false --- diff --git a/commands/docs/polars_is-not-null.md b/commands/docs/polars_is-not-null.md index 25e70891a63..f96ee707f6f 100644 --- a/commands/docs/polars_is-not-null.md +++ b/commands/docs/polars_is-not-null.md @@ -2,11 +2,13 @@ title: polars is-not-null categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates mask where value is not null. usage: | Creates mask where value is not null. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_is-null.md b/commands/docs/polars_is-null.md index d6cc5be2b12..14b7e5b53cc 100644 --- a/commands/docs/polars_is-null.md +++ b/commands/docs/polars_is-null.md @@ -2,11 +2,13 @@ title: polars is-null categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates mask where value is null. usage: | Creates mask where value is null. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_is-unique.md b/commands/docs/polars_is-unique.md index 0d85c1b32df..b9fae36323d 100644 --- a/commands/docs/polars_is-unique.md +++ b/commands/docs/polars_is-unique.md @@ -2,11 +2,13 @@ title: polars is-unique categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates mask indicating unique values. usage: | Creates mask indicating unique values. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_join.md b/commands/docs/polars_join.md index 53d3a75a1b5..bb677d34cc0 100644 --- a/commands/docs/polars_join.md +++ b/commands/docs/polars_join.md @@ -2,11 +2,13 @@ title: polars join categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Joins a lazy frame with other lazy frame. usage: | Joins a lazy frame with other lazy frame. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_last.md b/commands/docs/polars_last.md index cd0e9483802..cc5f549776b 100644 --- a/commands/docs/polars_last.md +++ b/commands/docs/polars_last.md @@ -2,11 +2,13 @@ title: polars last categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates new dataframe with tail rows or creates a last expression. usage: | Creates new dataframe with tail rows or creates a last expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_len.md b/commands/docs/polars_len.md index e499b577bae..abafc704004 100644 --- a/commands/docs/polars_len.md +++ b/commands/docs/polars_len.md @@ -2,11 +2,13 @@ title: polars len categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Return the number of rows in the context. This is similar to COUNT(*) in SQL. usage: | Return the number of rows in the context. This is similar to COUNT(*) in SQL. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_lit.md b/commands/docs/polars_lit.md index a5b2efa327b..6875f25266f 100644 --- a/commands/docs/polars_lit.md +++ b/commands/docs/polars_lit.md @@ -2,11 +2,13 @@ title: polars lit categories: | expression -version: 0.101.0 +version: 0.102.0 expression: | Creates a literal expression. usage: | Creates a literal expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_lowercase.md b/commands/docs/polars_lowercase.md index a7e34bbe853..a6bcc9e57ac 100644 --- a/commands/docs/polars_lowercase.md +++ b/commands/docs/polars_lowercase.md @@ -2,11 +2,13 @@ title: polars lowercase categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Lowercase the strings in the column. usage: | Lowercase the strings in the column. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_max.md b/commands/docs/polars_max.md index 1417f1af1d1..624efb30736 100644 --- a/commands/docs/polars_max.md +++ b/commands/docs/polars_max.md @@ -2,11 +2,13 @@ title: polars max categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates a max expression or aggregates columns to their max value. usage: | Creates a max expression or aggregates columns to their max value. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_mean.md b/commands/docs/polars_mean.md index 7777a7e5e99..79df989b42e 100644 --- a/commands/docs/polars_mean.md +++ b/commands/docs/polars_mean.md @@ -2,11 +2,13 @@ title: polars mean categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates a mean expression for an aggregation or aggregates columns to their mean value. usage: | Creates a mean expression for an aggregation or aggregates columns to their mean value. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_median.md b/commands/docs/polars_median.md index cf1e9e8ae59..9257d83c01e 100644 --- a/commands/docs/polars_median.md +++ b/commands/docs/polars_median.md @@ -2,11 +2,13 @@ title: polars median categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Median value from columns in a dataframe or creates expression for an aggregation usage: | Median value from columns in a dataframe or creates expression for an aggregation +editLink: false +contributors: false --- diff --git a/commands/docs/polars_min.md b/commands/docs/polars_min.md index e33618c3603..b81e8bb244e 100644 --- a/commands/docs/polars_min.md +++ b/commands/docs/polars_min.md @@ -2,11 +2,13 @@ title: polars min categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates a min expression or aggregates columns to their min value. usage: | Creates a min expression or aggregates columns to their min value. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_n-unique.md b/commands/docs/polars_n-unique.md index 103c98efa9a..27213a215f7 100644 --- a/commands/docs/polars_n-unique.md +++ b/commands/docs/polars_n-unique.md @@ -2,11 +2,13 @@ title: polars n-unique categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Counts unique values. usage: | Counts unique values. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_not.md b/commands/docs/polars_not.md index 37b334db5d1..251e7a3a722 100644 --- a/commands/docs/polars_not.md +++ b/commands/docs/polars_not.md @@ -2,11 +2,13 @@ title: polars not categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Inverts boolean mask. usage: | Inverts boolean mask. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_open.md b/commands/docs/polars_open.md index f12ebefe176..447ccf7f885 100644 --- a/commands/docs/polars_open.md +++ b/commands/docs/polars_open.md @@ -2,11 +2,13 @@ title: polars open categories: | dataframe -version: 0.101.0 +version: 0.102.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: | Opens CSV, JSON, NDJSON/JSON lines, arrow, avro, or parquet file to create dataframe. A lazy dataframe will be created by default, if supported. +editLink: false +contributors: false --- @@ -39,7 +41,7 @@ See the [Plugins](/book/plugins.html) chapter in the book for more information. ## Parameters - - `file`: file path to load values from + - `file`: file path or cloud url to load values from ## Input/output types: diff --git a/commands/docs/polars_otherwise.md b/commands/docs/polars_otherwise.md index a73e3a76135..054c860c232 100644 --- a/commands/docs/polars_otherwise.md +++ b/commands/docs/polars_otherwise.md @@ -2,11 +2,13 @@ title: polars otherwise categories: | expression -version: 0.101.0 +version: 0.102.0 expression: | Completes a when expression. usage: | Completes a when expression. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_pivot.md b/commands/docs/polars_pivot.md index 8ca0cf7f2ed..b84d89945a0 100644 --- a/commands/docs/polars_pivot.md +++ b/commands/docs/polars_pivot.md @@ -2,11 +2,13 @@ title: polars pivot categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Pivot a DataFrame from wide to long format. usage: | Pivot a DataFrame from wide to long format. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_profile.md b/commands/docs/polars_profile.md index 376be925536..2d6be47026d 100644 --- a/commands/docs/polars_profile.md +++ b/commands/docs/polars_profile.md @@ -2,11 +2,13 @@ title: polars profile categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Profile a lazy dataframe. usage: | Profile a lazy dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_quantile.md b/commands/docs/polars_quantile.md index c0d83ef873a..cdb2a090930 100644 --- a/commands/docs/polars_quantile.md +++ b/commands/docs/polars_quantile.md @@ -2,11 +2,13 @@ title: polars quantile categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Aggregates the columns to the selected quantile. usage: | Aggregates the columns to the selected quantile. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_query.md b/commands/docs/polars_query.md index fea3f548201..516a4c4803d 100644 --- a/commands/docs/polars_query.md +++ b/commands/docs/polars_query.md @@ -2,11 +2,13 @@ title: polars query categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Query dataframe using SQL. Note: The dataframe is always named 'df' in your query's from clause. usage: | Query dataframe using SQL. Note: The dataframe is always named 'df' in your query's from clause. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_rename.md b/commands/docs/polars_rename.md index 5fadc1c599e..55bc2830773 100644 --- a/commands/docs/polars_rename.md +++ b/commands/docs/polars_rename.md @@ -2,11 +2,13 @@ title: polars rename categories: | dataframe or lazyframe -version: 0.101.0 +version: 0.102.0 dataframe_or_lazyframe: | Rename a dataframe column. usage: | Rename a dataframe column. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_replace-all.md b/commands/docs/polars_replace-all.md index 5f0e43dc04a..98c19580752 100644 --- a/commands/docs/polars_replace-all.md +++ b/commands/docs/polars_replace-all.md @@ -2,11 +2,13 @@ title: polars replace-all categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Replace all (sub)strings by a regex pattern. usage: | Replace all (sub)strings by a regex pattern. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_replace.md b/commands/docs/polars_replace.md index 5c79c4d46ad..8dc33b6cc8b 100644 --- a/commands/docs/polars_replace.md +++ b/commands/docs/polars_replace.md @@ -2,11 +2,13 @@ title: polars replace categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Replace the leftmost (sub)string by a regex pattern. usage: | Replace the leftmost (sub)string by a regex pattern. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_reverse.md b/commands/docs/polars_reverse.md index 1261d5e65f1..2bade57bdbf 100644 --- a/commands/docs/polars_reverse.md +++ b/commands/docs/polars_reverse.md @@ -2,11 +2,13 @@ title: polars reverse categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Reverses the LazyFrame usage: | Reverses the LazyFrame +editLink: false +contributors: false --- diff --git a/commands/docs/polars_rolling.md b/commands/docs/polars_rolling.md index 66ac2b95f68..9a340f9f329 100644 --- a/commands/docs/polars_rolling.md +++ b/commands/docs/polars_rolling.md @@ -2,11 +2,13 @@ title: polars rolling categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Rolling calculation for a series. usage: | Rolling calculation for a series. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_sample.md b/commands/docs/polars_sample.md index 576413320db..c439c36ff6c 100644 --- a/commands/docs/polars_sample.md +++ b/commands/docs/polars_sample.md @@ -2,11 +2,13 @@ title: polars sample categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Create sample dataframe. usage: | Create sample dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_save.md b/commands/docs/polars_save.md index 0e49ca6bf39..efd80510c6b 100644 --- a/commands/docs/polars_save.md +++ b/commands/docs/polars_save.md @@ -2,11 +2,13 @@ title: polars save categories: | lazyframe -version: 0.101.0 +version: 0.102.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: | 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). +editLink: false +contributors: false --- diff --git a/commands/docs/polars_schema.md b/commands/docs/polars_schema.md index 10b79a2b644..9d418123b9d 100644 --- a/commands/docs/polars_schema.md +++ b/commands/docs/polars_schema.md @@ -2,11 +2,13 @@ title: polars schema categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Show schema for a dataframe. usage: | Show schema for a dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_select.md b/commands/docs/polars_select.md index 520c24ad095..d7f7bc4a24a 100644 --- a/commands/docs/polars_select.md +++ b/commands/docs/polars_select.md @@ -2,11 +2,13 @@ title: polars select categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Selects columns from lazyframe. usage: | Selects columns from lazyframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_set-with-idx.md b/commands/docs/polars_set-with-idx.md index dd23f57a5f9..3d2a3adca70 100644 --- a/commands/docs/polars_set-with-idx.md +++ b/commands/docs/polars_set-with-idx.md @@ -2,11 +2,13 @@ title: polars set-with-idx categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Sets value in the given index. usage: | Sets value in the given index. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_set.md b/commands/docs/polars_set.md index 502465cf5d0..4f4c1a6ffc9 100644 --- a/commands/docs/polars_set.md +++ b/commands/docs/polars_set.md @@ -2,11 +2,13 @@ title: polars set categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Sets value where given mask is true. usage: | Sets value where given mask is true. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_shape.md b/commands/docs/polars_shape.md index 0180a8754c7..921f6f1a0d8 100644 --- a/commands/docs/polars_shape.md +++ b/commands/docs/polars_shape.md @@ -2,11 +2,13 @@ title: polars shape categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Shows column and row size for a dataframe. usage: | Shows column and row size for a dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_shift.md b/commands/docs/polars_shift.md index 136fc7e65db..d7846ac77eb 100644 --- a/commands/docs/polars_shift.md +++ b/commands/docs/polars_shift.md @@ -2,11 +2,13 @@ title: polars shift categories: | dataframe or lazyframe -version: 0.101.0 +version: 0.102.0 dataframe_or_lazyframe: | Shifts the values by a given period. usage: | Shifts the values by a given period. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_slice.md b/commands/docs/polars_slice.md index cb36768308b..feeb1a9605b 100644 --- a/commands/docs/polars_slice.md +++ b/commands/docs/polars_slice.md @@ -2,11 +2,13 @@ title: polars slice categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates new dataframe from a slice of rows. usage: | Creates new dataframe from a slice of rows. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_sort-by.md b/commands/docs/polars_sort-by.md index 4d6cbcf610b..79225bc45ac 100644 --- a/commands/docs/polars_sort-by.md +++ b/commands/docs/polars_sort-by.md @@ -2,11 +2,13 @@ title: polars sort-by categories: | lazyframe -version: 0.101.0 +version: 0.102.0 lazyframe: | Sorts a lazy dataframe based on expression(s). usage: | Sorts a lazy dataframe based on expression(s). +editLink: false +contributors: false --- diff --git a/commands/docs/polars_std.md b/commands/docs/polars_std.md index 0ad4ca504d0..9512e2cc809 100644 --- a/commands/docs/polars_std.md +++ b/commands/docs/polars_std.md @@ -2,11 +2,13 @@ title: polars std categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates a std expression for an aggregation of std value from columns in a dataframe. usage: | Creates a std expression for an aggregation of std value from columns in a dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_store-get.md b/commands/docs/polars_store-get.md index a94f12850c3..b97b38e0351 100644 --- a/commands/docs/polars_store-get.md +++ b/commands/docs/polars_store-get.md @@ -2,11 +2,13 @@ title: polars store-get categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Gets a Dataframe or other object from the plugin cache. usage: | Gets a Dataframe or other object from the plugin cache. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_store-ls.md b/commands/docs/polars_store-ls.md index d190810b6e4..e0498b609ed 100644 --- a/commands/docs/polars_store-ls.md +++ b/commands/docs/polars_store-ls.md @@ -2,11 +2,13 @@ title: polars store-ls categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Lists stored polars objects. usage: | Lists stored polars objects. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_store-rm.md b/commands/docs/polars_store-rm.md index 22b1e895115..77fa1561ef9 100644 --- a/commands/docs/polars_store-rm.md +++ b/commands/docs/polars_store-rm.md @@ -2,11 +2,13 @@ title: polars store-rm categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Removes a stored Dataframe or other object from the plugin cache. usage: | Removes a stored Dataframe or other object from the plugin cache. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_str-join.md b/commands/docs/polars_str-join.md index f495f640969..ed345c46772 100644 --- a/commands/docs/polars_str-join.md +++ b/commands/docs/polars_str-join.md @@ -2,11 +2,13 @@ title: polars str-join categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Concatenates strings within a column or dataframes usage: | Concatenates strings within a column or dataframes +editLink: false +contributors: false --- diff --git a/commands/docs/polars_str-lengths.md b/commands/docs/polars_str-lengths.md index 78d1f6d03f8..f18cc05e424 100644 --- a/commands/docs/polars_str-lengths.md +++ b/commands/docs/polars_str-lengths.md @@ -2,11 +2,13 @@ title: polars str-lengths categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Get lengths of all strings. usage: | Get lengths of all strings. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_str-slice.md b/commands/docs/polars_str-slice.md index 50a8b7d377e..a86e88f19c0 100644 --- a/commands/docs/polars_str-slice.md +++ b/commands/docs/polars_str-slice.md @@ -2,11 +2,13 @@ title: polars str-slice categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Slices the string from the start position until the selected length. usage: | Slices the string from the start position until the selected length. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_str-split.md b/commands/docs/polars_str-split.md new file mode 100644 index 00000000000..54f5ffad168 --- /dev/null +++ b/commands/docs/polars_str-split.md @@ -0,0 +1,56 @@ +--- +title: polars str-split +categories: | + dataframe +version: 0.102.0 +dataframe: | + Split the string by a substring. The resulting dtype is list. +usage: | + Split the string by a substring. The resulting dtype is list. +editLink: false +contributors: false +--- + + +# `polars str-split` for [dataframe](/commands/categories/dataframe.md) + +
Split the string by a substring. The resulting dtype is list<str>.
+ +::: warning This command requires a plugin +The `polars str-split` command resides in the `polars` plugin. +To use this command, you must install and register `nu_plugin_polars`. +See the [Plugins](/book/plugins.html) chapter in the book for more information. +::: + + +## Signature + +```> polars str-split {flags} (expr)``` + +## Parameters + + - `expr`: Separator expression + + +## Input/output types: + +| input | output | +| ----- | ------ | +| any | any | + +## Examples + +Split the string by comma, then create a new row for each string +```nu +> [[a]; ["one,two,three"]] | polars into-df + | polars select (polars col a | polars str-split "," | polars explode) + | polars collect +╭───┬───────╮ +│ # │ a │ +├───┼───────┤ +│ 0 │ one │ +│ 1 │ two │ +│ 2 │ three │ +╰───┴───────╯ + +``` diff --git a/commands/docs/polars_strftime.md b/commands/docs/polars_strftime.md index 863e4cec6e0..478c371f81f 100644 --- a/commands/docs/polars_strftime.md +++ b/commands/docs/polars_strftime.md @@ -2,11 +2,13 @@ title: polars strftime categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Formats date based on string rule. usage: | Formats date based on string rule. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_sum.md b/commands/docs/polars_sum.md index a596240143e..4116164bc4f 100644 --- a/commands/docs/polars_sum.md +++ b/commands/docs/polars_sum.md @@ -2,11 +2,13 @@ title: polars sum categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates a sum expression for an aggregation or aggregates columns to their sum value. usage: | Creates a sum expression for an aggregation or aggregates columns to their sum value. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_summary.md b/commands/docs/polars_summary.md index a3e7dc78e9d..389d86ee624 100644 --- a/commands/docs/polars_summary.md +++ b/commands/docs/polars_summary.md @@ -2,11 +2,13 @@ title: polars summary categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | For a dataframe, produces descriptive statistics (summary statistics) for its numeric columns. usage: | For a dataframe, produces descriptive statistics (summary statistics) for its numeric columns. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_take.md b/commands/docs/polars_take.md index 53c455a2203..f009cc97981 100644 --- a/commands/docs/polars_take.md +++ b/commands/docs/polars_take.md @@ -2,11 +2,13 @@ title: polars take categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Creates new dataframe using the given indices. usage: | Creates new dataframe using the given indices. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_unique.md b/commands/docs/polars_unique.md index ac496b9d598..fd9768d8806 100644 --- a/commands/docs/polars_unique.md +++ b/commands/docs/polars_unique.md @@ -2,11 +2,13 @@ title: polars unique categories: | dataframe or lazyframe -version: 0.101.0 +version: 0.102.0 dataframe_or_lazyframe: | Returns unique values from a dataframe. usage: | Returns unique values from a dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_unnest.md b/commands/docs/polars_unnest.md index 8279feea263..7576a6c8fad 100644 --- a/commands/docs/polars_unnest.md +++ b/commands/docs/polars_unnest.md @@ -2,11 +2,13 @@ title: polars unnest categories: | dataframe -version: 0.101.0 +version: 0.102.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: | 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. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_unpivot.md b/commands/docs/polars_unpivot.md index de6c4bce81e..4ec53f6599d 100644 --- a/commands/docs/polars_unpivot.md +++ b/commands/docs/polars_unpivot.md @@ -2,11 +2,13 @@ title: polars unpivot categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Unpivot a DataFrame from wide to long format. usage: | Unpivot a DataFrame from wide to long format. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_uppercase.md b/commands/docs/polars_uppercase.md index bc9824824e2..e096839db14 100644 --- a/commands/docs/polars_uppercase.md +++ b/commands/docs/polars_uppercase.md @@ -2,11 +2,13 @@ title: polars uppercase categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Uppercase the strings in the column. usage: | Uppercase the strings in the column. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_value-counts.md b/commands/docs/polars_value-counts.md index c32a38ac157..64f03a5e468 100644 --- a/commands/docs/polars_value-counts.md +++ b/commands/docs/polars_value-counts.md @@ -2,11 +2,13 @@ title: polars value-counts categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Returns a dataframe with the counts for unique values in series. usage: | Returns a dataframe with the counts for unique values in series. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_var.md b/commands/docs/polars_var.md index ddf354747a3..a4a016e719d 100644 --- a/commands/docs/polars_var.md +++ b/commands/docs/polars_var.md @@ -2,11 +2,13 @@ title: polars var categories: | dataframe -version: 0.101.0 +version: 0.102.0 dataframe: | Create a var expression for an aggregation. usage: | Create a var expression for an aggregation. +editLink: false +contributors: false --- diff --git a/commands/docs/polars_when.md b/commands/docs/polars_when.md index 59bd0215a73..c90992eb002 100644 --- a/commands/docs/polars_when.md +++ b/commands/docs/polars_when.md @@ -2,11 +2,13 @@ title: polars when categories: | expression -version: 0.101.0 +version: 0.102.0 expression: | Creates and modifies a when expression. usage: | Creates and modifies a when expression. +editLink: false +contributors: false --- @@ -33,10 +35,10 @@ See the [Plugins](/book/plugins.html) chapter in the book for more information. ## Input/output types: -| input | output | -| ----- | ------ | -| any | any | - +| input | output | +| ------- | ------ | +| any | any | +| nothing | any | ## Examples Create a when conditions diff --git a/commands/docs/polars_with-column.md b/commands/docs/polars_with-column.md index b88e473c827..7a1a9a220dd 100644 --- a/commands/docs/polars_with-column.md +++ b/commands/docs/polars_with-column.md @@ -2,11 +2,13 @@ title: polars with-column categories: | dataframe or lazyframe -version: 0.101.0 +version: 0.102.0 dataframe_or_lazyframe: | Adds a series to the dataframe. usage: | Adds a series to the dataframe. +editLink: false +contributors: false --- diff --git a/commands/docs/port.md b/commands/docs/port.md index e9f35cf61d4..fd1e57e694e 100644 --- a/commands/docs/port.md +++ b/commands/docs/port.md @@ -2,11 +2,13 @@ title: port categories: | network -version: 0.101.0 +version: 0.102.0 network: | Get a free port from system. usage: | Get a free port from system. +editLink: false +contributors: false --- diff --git a/commands/docs/prepend.md b/commands/docs/prepend.md index 563ecb026b2..fe88a7cb745 100644 --- a/commands/docs/prepend.md +++ b/commands/docs/prepend.md @@ -2,11 +2,13 @@ title: prepend categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Prepend any number of rows to a table. usage: | Prepend any number of rows to a table. +editLink: false +contributors: false --- diff --git a/commands/docs/print.md b/commands/docs/print.md index f9c5ddfefd3..ba3a089cadf 100644 --- a/commands/docs/print.md +++ b/commands/docs/print.md @@ -2,11 +2,13 @@ title: print categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Print the given values to stdout. usage: | Print the given values to stdout. +editLink: false +contributors: false --- diff --git a/commands/docs/ps.md b/commands/docs/ps.md index f189f664ea2..622d2b26286 100644 --- a/commands/docs/ps.md +++ b/commands/docs/ps.md @@ -2,11 +2,13 @@ title: ps categories: | system -version: 0.101.0 +version: 0.102.0 system: | View information about system processes. usage: | View information about system processes. +editLink: false +contributors: false --- diff --git a/commands/docs/pwd.md b/commands/docs/pwd.md index 0117a5bbedd..221e8eb4633 100644 --- a/commands/docs/pwd.md +++ b/commands/docs/pwd.md @@ -2,11 +2,13 @@ title: pwd categories: | default -version: 0.101.0 +version: 0.102.0 default: | Return the current working directory usage: | Return the current working directory +editLink: false +contributors: false --- diff --git a/commands/docs/query.md b/commands/docs/query.md index a8a983c9996..eeaba3587ad 100644 --- a/commands/docs/query.md +++ b/commands/docs/query.md @@ -2,11 +2,13 @@ title: query categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Show all the query commands usage: | Show all the query commands +editLink: false +contributors: false --- diff --git a/commands/docs/query_db.md b/commands/docs/query_db.md index 6ea35b9695b..eb9bf1266d7 100644 --- a/commands/docs/query_db.md +++ b/commands/docs/query_db.md @@ -2,11 +2,13 @@ title: query db categories: | database -version: 0.101.0 +version: 0.102.0 database: | Query a database using SQL. usage: | Query a database using SQL. +editLink: false +contributors: false --- diff --git a/commands/docs/query_json.md b/commands/docs/query_json.md index 3b1c01ba55d..1d624c792ad 100644 --- a/commands/docs/query_json.md +++ b/commands/docs/query_json.md @@ -2,11 +2,13 @@ title: query json categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | execute json query on json file (open --raw | query json 'query string') usage: | execute json query on json file (open --raw | query json 'query string') +editLink: false +contributors: false --- diff --git a/commands/docs/query_web.md b/commands/docs/query_web.md index 7cc00a21608..d7206ca0cb5 100644 --- a/commands/docs/query_web.md +++ b/commands/docs/query_web.md @@ -2,11 +2,13 @@ title: query web categories: | network -version: 0.101.0 +version: 0.102.0 network: | execute selector query on html/web usage: | execute selector query on html/web +editLink: false +contributors: false --- diff --git a/commands/docs/query_webpage-info.md b/commands/docs/query_webpage-info.md index a6546531f61..dd1ae4329f1 100644 --- a/commands/docs/query_webpage-info.md +++ b/commands/docs/query_webpage-info.md @@ -2,11 +2,13 @@ title: query webpage-info categories: | network -version: 0.101.0 +version: 0.102.0 network: | uses the webpage crate to extract info from html: title, description, language, links, RSS feeds, Opengraph, Schema.org, and more usage: | uses the webpage crate to extract info from html: title, description, language, links, RSS feeds, Opengraph, Schema.org, and more +editLink: false +contributors: false --- diff --git a/commands/docs/query_xml.md b/commands/docs/query_xml.md index 15003294401..01acfe36a15 100644 --- a/commands/docs/query_xml.md +++ b/commands/docs/query_xml.md @@ -2,11 +2,13 @@ title: query xml categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | execute xpath query on xml usage: | execute xpath query on xml +editLink: false +contributors: false --- diff --git a/commands/docs/random.md b/commands/docs/random.md index 907db1d9a39..41e11ed5414 100644 --- a/commands/docs/random.md +++ b/commands/docs/random.md @@ -2,11 +2,13 @@ title: random categories: | random -version: 0.101.0 +version: 0.102.0 random: | Generate a random value. usage: | Generate a random value. +editLink: false +contributors: false --- diff --git a/commands/docs/random_binary.md b/commands/docs/random_binary.md index e0fb13fa3a3..71571489d4f 100644 --- a/commands/docs/random_binary.md +++ b/commands/docs/random_binary.md @@ -2,11 +2,13 @@ title: random binary categories: | random -version: 0.101.0 +version: 0.102.0 random: | Generate random bytes. usage: | Generate random bytes. +editLink: false +contributors: false --- diff --git a/commands/docs/random_bool.md b/commands/docs/random_bool.md index 116119eb8a0..dd63621f402 100644 --- a/commands/docs/random_bool.md +++ b/commands/docs/random_bool.md @@ -2,11 +2,13 @@ title: random bool categories: | random -version: 0.101.0 +version: 0.102.0 random: | Generate a random boolean value. usage: | Generate a random boolean value. +editLink: false +contributors: false --- diff --git a/commands/docs/random_chars.md b/commands/docs/random_chars.md index eac6d316bd0..fe93a0dea7d 100644 --- a/commands/docs/random_chars.md +++ b/commands/docs/random_chars.md @@ -2,11 +2,13 @@ title: random chars categories: | random -version: 0.101.0 +version: 0.102.0 random: | Generate random chars uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9. usage: | Generate random chars uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9. +editLink: false +contributors: false --- diff --git a/commands/docs/random_dice.md b/commands/docs/random_dice.md index 61d5960edfa..f137d68215d 100644 --- a/commands/docs/random_dice.md +++ b/commands/docs/random_dice.md @@ -2,11 +2,13 @@ title: random dice categories: | random -version: 0.101.0 +version: 0.102.0 random: | Generate a random dice roll. usage: | Generate a random dice roll. +editLink: false +contributors: false --- diff --git a/commands/docs/random_float.md b/commands/docs/random_float.md index 2f3c34b1d91..7e1925684fa 100644 --- a/commands/docs/random_float.md +++ b/commands/docs/random_float.md @@ -2,11 +2,13 @@ title: random float categories: | random -version: 0.101.0 +version: 0.102.0 random: | Generate a random float within a range [min..max]. usage: | Generate a random float within a range [min..max]. +editLink: false +contributors: false --- diff --git a/commands/docs/random_int.md b/commands/docs/random_int.md index b63edd8ded1..c22dbc8ba02 100644 --- a/commands/docs/random_int.md +++ b/commands/docs/random_int.md @@ -2,11 +2,13 @@ title: random int categories: | random -version: 0.101.0 +version: 0.102.0 random: | Generate a random integer [min..max]. usage: | Generate a random integer [min..max]. +editLink: false +contributors: false --- diff --git a/commands/docs/random_uuid.md b/commands/docs/random_uuid.md index b485a784eab..1e875833c0c 100644 --- a/commands/docs/random_uuid.md +++ b/commands/docs/random_uuid.md @@ -2,11 +2,13 @@ title: random uuid categories: | random -version: 0.101.0 +version: 0.102.0 random: | Generate a random uuid4 string. usage: | Generate a random uuid4 string. +editLink: false +contributors: false --- diff --git a/commands/docs/range.md b/commands/docs/range.md index d44b6db2457..abfedc7dfe0 100644 --- a/commands/docs/range.md +++ b/commands/docs/range.md @@ -1,16 +1,18 @@ --- title: range categories: | - filters -version: 0.101.0 -filters: | + deprecated +version: 0.102.0 +deprecated: | Return only the selected rows. usage: | Return only the selected rows. +editLink: false +contributors: false --- -# `range` for [filters](/commands/categories/filters.md) +# `range` for [deprecated](/commands/categories/deprecated.md)
Return only the selected rows.
diff --git a/commands/docs/reduce.md b/commands/docs/reduce.md index 5745e8e73c6..2f67c95e2ff 100644 --- a/commands/docs/reduce.md +++ b/commands/docs/reduce.md @@ -2,11 +2,13 @@ title: reduce categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Aggregate a list (starting from the left) to a single value using an accumulator closure. usage: | Aggregate a list (starting from the left) to a single value using an accumulator closure. +editLink: false +contributors: false --- diff --git a/commands/docs/registry_query.md b/commands/docs/registry_query.md index e339c8f927b..fad58434141 100644 --- a/commands/docs/registry_query.md +++ b/commands/docs/registry_query.md @@ -2,7 +2,7 @@ title: registry query categories: | system -version: 0.101.0 +version: 0.102.0 system: | Query the Windows registry. usage: | diff --git a/commands/docs/reject.md b/commands/docs/reject.md index 1128b58a2ad..158ed78e768 100644 --- a/commands/docs/reject.md +++ b/commands/docs/reject.md @@ -2,11 +2,13 @@ title: reject categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Remove the given columns or rows from the table. Opposite of `select`. usage: | Remove the given columns or rows from the table. Opposite of `select`. +editLink: false +contributors: false --- @@ -29,10 +31,11 @@ usage: | ## Input/output types: -| input | output | -| ------ | ------ | -| record | record | -| table | table | +| input | output | +| --------- | --------- | +| list\ | list\ | +| record | record | +| table | table | ## Examples Reject a column in the `ls` table @@ -111,5 +114,15 @@ Reject multiple columns by spreading a list ``` +Reject item in list +```nu +> [1 2 3] | reject 1 +╭───┬───╮ +│ 0 │ 1 │ +│ 1 │ 3 │ +╰───┴───╯ + +``` + ## Notes To remove a quantity of rows or columns, use `skip`, `drop`, or `drop column`. \ No newline at end of file diff --git a/commands/docs/rename.md b/commands/docs/rename.md index d7f56e6d715..f86f80c4b9f 100644 --- a/commands/docs/rename.md +++ b/commands/docs/rename.md @@ -2,11 +2,13 @@ title: rename categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Creates a new table with columns renamed. usage: | Creates a new table with columns renamed. +editLink: false +contributors: false --- diff --git a/commands/docs/return.md b/commands/docs/return.md index 44d8162839a..2876eff95e6 100644 --- a/commands/docs/return.md +++ b/commands/docs/return.md @@ -2,11 +2,13 @@ title: return categories: | core -version: 0.101.0 +version: 0.102.0 core: | Return early from a function. usage: | Return early from a function. +editLink: false +contributors: false --- diff --git a/commands/docs/reverse.md b/commands/docs/reverse.md index 0a2947cc742..eff051c839f 100644 --- a/commands/docs/reverse.md +++ b/commands/docs/reverse.md @@ -2,11 +2,13 @@ title: reverse categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Reverses the input list or table. usage: | Reverses the input list or table. +editLink: false +contributors: false --- diff --git a/commands/docs/rm.md b/commands/docs/rm.md index f5efa27c089..a2a069b60f1 100644 --- a/commands/docs/rm.md +++ b/commands/docs/rm.md @@ -2,11 +2,13 @@ title: rm categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Remove files and directories. usage: | Remove files and directories. +editLink: false +contributors: false --- diff --git a/commands/docs/roll.md b/commands/docs/roll.md index 8313e251f38..4634b5926ac 100644 --- a/commands/docs/roll.md +++ b/commands/docs/roll.md @@ -2,11 +2,13 @@ title: roll categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Rolling commands for tables. usage: | Rolling commands for tables. +editLink: false +contributors: false --- diff --git a/commands/docs/roll_down.md b/commands/docs/roll_down.md index a67b7e822e9..c9f88a05e57 100644 --- a/commands/docs/roll_down.md +++ b/commands/docs/roll_down.md @@ -2,11 +2,13 @@ title: roll down categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Roll table rows down. usage: | Roll table rows down. +editLink: false +contributors: false --- diff --git a/commands/docs/roll_left.md b/commands/docs/roll_left.md index ba90ac43dcc..881477cb4ac 100644 --- a/commands/docs/roll_left.md +++ b/commands/docs/roll_left.md @@ -2,11 +2,13 @@ title: roll left categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Roll record or table columns left. usage: | Roll record or table columns left. +editLink: false +contributors: false --- diff --git a/commands/docs/roll_right.md b/commands/docs/roll_right.md index deb3cd3c749..919498632ae 100644 --- a/commands/docs/roll_right.md +++ b/commands/docs/roll_right.md @@ -2,11 +2,13 @@ title: roll right categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Roll table columns right. usage: | Roll table columns right. +editLink: false +contributors: false --- diff --git a/commands/docs/roll_up.md b/commands/docs/roll_up.md index ff0c93cd1f6..ef976decb4c 100644 --- a/commands/docs/roll_up.md +++ b/commands/docs/roll_up.md @@ -2,11 +2,13 @@ title: roll up categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Roll table rows up. usage: | Roll table rows up. +editLink: false +contributors: false --- diff --git a/commands/docs/rotate.md b/commands/docs/rotate.md index d927521bb9c..36f9dc519a0 100644 --- a/commands/docs/rotate.md +++ b/commands/docs/rotate.md @@ -2,11 +2,13 @@ title: rotate categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Rotates a table or record clockwise (default) or counter-clockwise (use --ccw flag). usage: | Rotates a table or record clockwise (default) or counter-clockwise (use --ccw flag). +editLink: false +contributors: false --- @@ -29,10 +31,12 @@ usage: | ## Input/output types: -| input | output | -| ------ | ------ | -| record | table | -| table | table | +| input | output | +| --------- | ------ | +| list\ | table | +| record | table | +| string | table | +| table | table | ## Examples Rotate a record clockwise, producing a table (like `transpose` but with column order reversed) diff --git a/commands/docs/run-external.md b/commands/docs/run-external.md index ea38423d825..a4500ab2aa9 100644 --- a/commands/docs/run-external.md +++ b/commands/docs/run-external.md @@ -2,11 +2,13 @@ title: run-external categories: | system -version: 0.101.0 +version: 0.102.0 system: | Runs external command. usage: | Runs external command. +editLink: false +contributors: false --- @@ -16,12 +18,11 @@ usage: | ## Signature -```> run-external {flags} (command) ...rest``` +```> run-external {flags} ...rest``` ## Parameters - - `command`: External command to run. - - `...rest`: Arguments for external command. + - `...rest`: External command to run, with arguments. ## Input/output types: diff --git a/commands/docs/save.md b/commands/docs/save.md index 142c7b39906..ef2aa4ee5d2 100644 --- a/commands/docs/save.md +++ b/commands/docs/save.md @@ -2,11 +2,13 @@ title: save categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Save a file. usage: | Save a file. +editLink: false +contributors: false --- diff --git a/commands/docs/schema.md b/commands/docs/schema.md index d83b66ac540..66ab06c943c 100644 --- a/commands/docs/schema.md +++ b/commands/docs/schema.md @@ -2,11 +2,13 @@ title: schema categories: | database -version: 0.101.0 +version: 0.102.0 database: | Show the schema of a SQLite database. usage: | Show the schema of a SQLite database. +editLink: false +contributors: false --- diff --git a/commands/docs/scope.md b/commands/docs/scope.md index 8029817b846..c0b8a784015 100644 --- a/commands/docs/scope.md +++ b/commands/docs/scope.md @@ -2,11 +2,13 @@ title: scope categories: | core -version: 0.101.0 +version: 0.102.0 core: | Commands for getting info about what is in scope. usage: | Commands for getting info about what is in scope. +editLink: false +contributors: false --- diff --git a/commands/docs/scope_aliases.md b/commands/docs/scope_aliases.md index a4f0f5f0572..6bae8d040eb 100644 --- a/commands/docs/scope_aliases.md +++ b/commands/docs/scope_aliases.md @@ -2,11 +2,13 @@ title: scope aliases categories: | core -version: 0.101.0 +version: 0.102.0 core: | Output info on the aliases in the current scope. usage: | Output info on the aliases in the current scope. +editLink: false +contributors: false --- diff --git a/commands/docs/scope_commands.md b/commands/docs/scope_commands.md index 67478e29526..e33c363798e 100644 --- a/commands/docs/scope_commands.md +++ b/commands/docs/scope_commands.md @@ -2,11 +2,13 @@ title: scope commands categories: | core -version: 0.101.0 +version: 0.102.0 core: | Output info on the commands in the current scope. usage: | Output info on the commands in the current scope. +editLink: false +contributors: false --- diff --git a/commands/docs/scope_engine-stats.md b/commands/docs/scope_engine-stats.md index ed1fd382c10..96a2d34652d 100644 --- a/commands/docs/scope_engine-stats.md +++ b/commands/docs/scope_engine-stats.md @@ -2,11 +2,13 @@ title: scope engine-stats categories: | core -version: 0.101.0 +version: 0.102.0 core: | Output stats on the engine in the current state. usage: | Output stats on the engine in the current state. +editLink: false +contributors: false --- diff --git a/commands/docs/scope_externs.md b/commands/docs/scope_externs.md index a5e09440656..31136a3fbca 100644 --- a/commands/docs/scope_externs.md +++ b/commands/docs/scope_externs.md @@ -2,11 +2,13 @@ title: scope externs categories: | core -version: 0.101.0 +version: 0.102.0 core: | Output info on the known externals in the current scope. usage: | Output info on the known externals in the current scope. +editLink: false +contributors: false --- diff --git a/commands/docs/scope_modules.md b/commands/docs/scope_modules.md index 0caa26b3477..64cd42d3d6b 100644 --- a/commands/docs/scope_modules.md +++ b/commands/docs/scope_modules.md @@ -2,11 +2,13 @@ title: scope modules categories: | core -version: 0.101.0 +version: 0.102.0 core: | Output info on the modules in the current scope. usage: | Output info on the modules in the current scope. +editLink: false +contributors: false --- diff --git a/commands/docs/scope_variables.md b/commands/docs/scope_variables.md index f83ef1c8ae3..728ec274564 100644 --- a/commands/docs/scope_variables.md +++ b/commands/docs/scope_variables.md @@ -2,11 +2,13 @@ title: scope variables categories: | core -version: 0.101.0 +version: 0.102.0 core: | Output info on the variables in the current scope. usage: | Output info on the variables in the current scope. +editLink: false +contributors: false --- diff --git a/commands/docs/select.md b/commands/docs/select.md index d3735f3400f..04aedd2ae59 100644 --- a/commands/docs/select.md +++ b/commands/docs/select.md @@ -2,11 +2,13 @@ title: select categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Select only these columns or rows from the input. Opposite of `reject`. usage: | Select only these columns or rows from the input. Opposite of `reject`. +editLink: false +contributors: false --- diff --git a/commands/docs/seq.md b/commands/docs/seq.md index 299491e1e16..883ec495ad4 100644 --- a/commands/docs/seq.md +++ b/commands/docs/seq.md @@ -2,11 +2,13 @@ title: seq categories: | generators -version: 0.101.0 +version: 0.102.0 generators: | Output sequences of numbers. usage: | Output sequences of numbers. +editLink: false +contributors: false --- diff --git a/commands/docs/seq_char.md b/commands/docs/seq_char.md index fe2cd6a9712..188b9f3d7c9 100644 --- a/commands/docs/seq_char.md +++ b/commands/docs/seq_char.md @@ -2,11 +2,13 @@ title: seq char categories: | generators -version: 0.101.0 +version: 0.102.0 generators: | Print a sequence of ASCII characters. usage: | Print a sequence of ASCII characters. +editLink: false +contributors: false --- diff --git a/commands/docs/seq_date.md b/commands/docs/seq_date.md index 6533db336c8..e09857c4954 100644 --- a/commands/docs/seq_date.md +++ b/commands/docs/seq_date.md @@ -2,11 +2,13 @@ title: seq date categories: | generators -version: 0.101.0 +version: 0.102.0 generators: | Print sequences of dates. usage: | Print sequences of dates. +editLink: false +contributors: false --- @@ -24,8 +26,9 @@ usage: | - `--input-format, -i {string}`: give argument dates in this format (defaults to %Y-%m-%d) - `--begin-date, -b {string}`: beginning date range - `--end-date, -e {string}`: ending date - - `--increment, -n {int}`: increment dates by this number - - `--days, -d {int}`: number of days to print + - `--increment, -n {one_of(duration, int)}`: increment dates by this duration (defaults to days if integer) + - `--days, -d {int}`: number of days to print (ignored if periods is used) + - `--periods, -p {int}`: number of periods to print - `--reverse, -r`: print dates in reverse @@ -57,7 +60,7 @@ Return the previous 10 days, starting today, in the MM/DD/YYYY format Return the first 10 days in January, 2020 ```nu -> seq date --begin-date '2020-01-01' --end-date '2020-01-10' +> seq date --begin-date '2020-01-01' --end-date '2020-01-10' --increment 1day ╭───┬────────────╮ │ 0 │ 2020-01-01 │ │ 1 │ 2020-01-02 │ @@ -73,8 +76,54 @@ Return the first 10 days in January, 2020 ``` +Return the first 10 days in January, 2020 using --days flag +```nu +> seq date --begin-date '2020-01-01' --days 10 --increment 1day +╭───┬────────────╮ +│ 0 │ 2020-01-01 │ +│ 1 │ 2020-01-02 │ +│ 2 │ 2020-01-03 │ +│ 3 │ 2020-01-04 │ +│ 4 │ 2020-01-05 │ +│ 5 │ 2020-01-06 │ +│ 6 │ 2020-01-07 │ +│ 7 │ 2020-01-08 │ +│ 8 │ 2020-01-09 │ +│ 9 │ 2020-01-10 │ +╰───┴────────────╯ + +``` + +Return the first five 5-minute periods starting January 1, 2020 +```nu +> seq date --begin-date '2020-01-01' --periods 5 --increment 5min --output-format '%Y-%m-%d %H:%M:%S' +╭───┬─────────────────────╮ +│ 0 │ 2020-01-01 00:00:00 │ +│ 1 │ 2020-01-01 00:05:00 │ +│ 2 │ 2020-01-01 00:10:00 │ +│ 3 │ 2020-01-01 00:15:00 │ +│ 4 │ 2020-01-01 00:20:00 │ +╰───┴─────────────────────╯ + +``` + print every fifth day between January 1st 2020 and January 31st 2020 ```nu +> seq date --begin-date '2020-01-01' --end-date '2020-01-31' --increment 5day +╭───┬────────────╮ +│ 0 │ 2020-01-01 │ +│ 1 │ 2020-01-06 │ +│ 2 │ 2020-01-11 │ +│ 3 │ 2020-01-16 │ +│ 4 │ 2020-01-21 │ +│ 5 │ 2020-01-26 │ +│ 6 │ 2020-01-31 │ +╰───┴────────────╯ + +``` + +increment defaults to days if no duration is supplied +```nu > seq date --begin-date '2020-01-01' --end-date '2020-01-31' --increment 5 ╭───┬────────────╮ │ 0 │ 2020-01-01 │ @@ -87,3 +136,20 @@ print every fifth day between January 1st 2020 and January 31st 2020 ╰───┴────────────╯ ``` + +print every six hours starting January 1st, 2020 until January 3rd, 2020 +```nu +> seq date --begin-date '2020-01-01' --end-date '2020-01-03' --increment 6hr --output-format '%Y-%m-%d %H:%M:%S' +╭───┬─────────────────────╮ +│ 0 │ 2020-01-01 00:00:00 │ +│ 1 │ 2020-01-01 06:00:00 │ +│ 2 │ 2020-01-01 12:00:00 │ +│ 3 │ 2020-01-01 18:00:00 │ +│ 4 │ 2020-01-02 00:00:00 │ +│ 5 │ 2020-01-02 06:00:00 │ +│ 6 │ 2020-01-02 12:00:00 │ +│ 7 │ 2020-01-02 18:00:00 │ +│ 8 │ 2020-01-03 00:00:00 │ +╰───┴─────────────────────╯ + +``` diff --git a/commands/docs/shuffle.md b/commands/docs/shuffle.md index 649412f08b7..5672835a84b 100644 --- a/commands/docs/shuffle.md +++ b/commands/docs/shuffle.md @@ -2,11 +2,13 @@ title: shuffle categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Shuffle rows randomly. usage: | Shuffle rows randomly. +editLink: false +contributors: false --- diff --git a/commands/docs/skip.md b/commands/docs/skip.md index 09475c7082e..aaf9835437a 100644 --- a/commands/docs/skip.md +++ b/commands/docs/skip.md @@ -2,11 +2,13 @@ title: skip categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Skip the first several rows of the input. Counterpart of `drop`. Opposite of `first`. usage: | Skip the first several rows of the input. Counterpart of `drop`. Opposite of `first`. +editLink: false +contributors: false --- diff --git a/commands/docs/skip_until.md b/commands/docs/skip_until.md index 79d39b754c1..882bfdaf4d7 100644 --- a/commands/docs/skip_until.md +++ b/commands/docs/skip_until.md @@ -2,11 +2,13 @@ title: skip until categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Skip elements of the input until a predicate is true. usage: | Skip elements of the input until a predicate is true. +editLink: false +contributors: false --- diff --git a/commands/docs/skip_while.md b/commands/docs/skip_while.md index cb772bf3925..ed6db84c12d 100644 --- a/commands/docs/skip_while.md +++ b/commands/docs/skip_while.md @@ -2,11 +2,13 @@ title: skip while categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Skip elements of the input while a predicate is true. usage: | Skip elements of the input while a predicate is true. +editLink: false +contributors: false --- diff --git a/commands/docs/sleep.md b/commands/docs/sleep.md index a1a1b1e821b..2b47f5a9adf 100644 --- a/commands/docs/sleep.md +++ b/commands/docs/sleep.md @@ -2,11 +2,13 @@ title: sleep categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Delay for a specified amount of time. usage: | Delay for a specified amount of time. +editLink: false +contributors: false --- diff --git a/commands/docs/slice.md b/commands/docs/slice.md new file mode 100644 index 00000000000..18e7a12aacf --- /dev/null +++ b/commands/docs/slice.md @@ -0,0 +1,64 @@ +--- +title: slice +categories: | + filters +version: 0.102.0 +filters: | + Return only the selected rows. +usage: | + Return only the selected rows. +editLink: false +contributors: false +--- + + +# `slice` for [filters](/commands/categories/filters.md) + +
Return only the selected rows.
+ +## Signature + +```> slice {flags} (rows)``` + +## Parameters + + - `rows`: Range of rows to return. + + +## Input/output types: + +| input | output | +| --------- | --------- | +| list\ | list\ | + +## Examples + +Get the last 2 items +```nu +> [0,1,2,3,4,5] | slice 4..5 +╭───┬───╮ +│ 0 │ 4 │ +│ 1 │ 5 │ +╰───┴───╯ + +``` + +Get the last 2 items +```nu +> [0,1,2,3,4,5] | slice (-2).. +╭───┬───╮ +│ 0 │ 4 │ +│ 1 │ 5 │ +╰───┴───╯ + +``` + +Get the next to last 2 items +```nu +> [0,1,2,3,4,5] | slice (-3)..-2 +╭───┬───╮ +│ 0 │ 3 │ +│ 1 │ 4 │ +╰───┴───╯ + +``` diff --git a/commands/docs/sort-by.md b/commands/docs/sort-by.md index fccc974b16d..c7549b52a1b 100644 --- a/commands/docs/sort-by.md +++ b/commands/docs/sort-by.md @@ -2,11 +2,13 @@ title: sort-by categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Sort by the given cell path or closure. usage: | Sort by the given cell path or closure. +editLink: false +contributors: false --- diff --git a/commands/docs/sort.md b/commands/docs/sort.md index 75a6fa1349e..2b17ece87c6 100644 --- a/commands/docs/sort.md +++ b/commands/docs/sort.md @@ -2,11 +2,13 @@ title: sort categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Sort in increasing order. usage: | Sort in increasing order. +editLink: false +contributors: false --- diff --git a/commands/docs/source-env.md b/commands/docs/source-env.md index 04f60554e37..5c555674126 100644 --- a/commands/docs/source-env.md +++ b/commands/docs/source-env.md @@ -2,11 +2,13 @@ title: source-env categories: | core -version: 0.101.0 +version: 0.102.0 core: | Source the environment from a source file into the current environment. usage: | Source the environment from a source file into the current environment. +editLink: false +contributors: false --- @@ -20,7 +22,7 @@ usage: | ## Parameters - - `filename`: The filepath to the script file to source the environment from. + - `filename`: The filepath to the script file to source the environment from (`null` for no-op). ## Input/output types: @@ -37,6 +39,12 @@ Sources the environment from foo.nu in the current context ``` +Sourcing `null` is a no-op. +```nu +> source-env null + +``` + ## 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/source.md b/commands/docs/source.md index e44d26f9685..9c19d19a604 100644 --- a/commands/docs/source.md +++ b/commands/docs/source.md @@ -2,11 +2,13 @@ title: source categories: | core -version: 0.101.0 +version: 0.102.0 core: | Runs a script file in the current context. usage: | Runs a script file in the current context. +editLink: false +contributors: false --- @@ -20,7 +22,7 @@ usage: | ## Parameters - - `filename`: The filepath to the script file to source. + - `filename`: The filepath to the script file to source (`null` for no-op). ## Input/output types: @@ -43,6 +45,18 @@ Runs foo.nu in current context and call the command defined, suppose foo.nu has ``` +Sourcing `null` is a no-op. +```nu +> source null + +``` + +Source can be used with const variables. +```nu +> const file = if $nu.is-interactive { "interactive.nu" } else { null }; source $file + +``` + ## 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/split-by.md b/commands/docs/split-by.md deleted file mode 100644 index 6a8802cce29..00000000000 --- a/commands/docs/split-by.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: split-by -categories: | - deprecated -version: 0.101.0 -deprecated: | - Split a record into groups. -usage: | - Split a record into groups. ---- - - -# `split-by` for [deprecated](/commands/categories/deprecated.md) - -
Split a record into groups.
- -## Signature - -```> split-by {flags} (splitter)``` - -## Parameters - - - `splitter`: The splitter value to use. - - -## Input/output types: - -| input | output | -| ------ | ------ | -| record | record | - -## Examples - -split items by column named "lang" -```nu -> { - '2019': [ - { name: 'andres', lang: 'rb', year: '2019' }, - { name: 'jt', lang: 'rs', year: '2019' } - ], - '2021': [ - { name: 'storm', lang: 'rs', 'year': '2021' } - ] - } | split-by lang -╭────┬─────────────────────────────────────────╮ -│ │ ╭──────┬──────────────────────────────╮ │ -│ rb │ │ │ ╭───┬────────┬──────┬──────╮ │ │ -│ │ │ 2019 │ │ # │ name │ lang │ year │ │ │ -│ │ │ │ ├───┼────────┼──────┼──────┤ │ │ -│ │ │ │ │ 0 │ andres │ rb │ 2019 │ │ │ -│ │ │ │ ╰───┴────────┴──────┴──────╯ │ │ -│ │ ╰──────┴──────────────────────────────╯ │ -│ │ ╭──────┬─────────────────────────────╮ │ -│ rs │ │ │ ╭───┬──────┬──────┬──────╮ │ │ -│ │ │ 2019 │ │ # │ name │ lang │ year │ │ │ -│ │ │ │ ├───┼──────┼──────┼──────┤ │ │ -│ │ │ │ │ 0 │ jt │ rs │ 2019 │ │ │ -│ │ │ │ ╰───┴──────┴──────┴──────╯ │ │ -│ │ │ │ ╭───┬───────┬──────┬──────╮ │ │ -│ │ │ 2021 │ │ # │ name │ lang │ year │ │ │ -│ │ │ │ ├───┼───────┼──────┼──────┤ │ │ -│ │ │ │ │ 0 │ storm │ rs │ 2021 │ │ │ -│ │ │ │ ╰───┴───────┴──────┴──────╯ │ │ -│ │ ╰──────┴─────────────────────────────╯ │ -╰────┴─────────────────────────────────────────╯ -``` diff --git a/commands/docs/split.md b/commands/docs/split.md index b8d1db049c4..2c48adf5af4 100644 --- a/commands/docs/split.md +++ b/commands/docs/split.md @@ -2,11 +2,13 @@ title: split categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Split contents across desired subcommand (like row, column) via the separator. usage: | Split contents across desired subcommand (like row, column) via the separator. +editLink: false +contributors: false --- diff --git a/commands/docs/split_cell-path.md b/commands/docs/split_cell-path.md index f34182a126c..bdd725cf797 100644 --- a/commands/docs/split_cell-path.md +++ b/commands/docs/split_cell-path.md @@ -2,11 +2,13 @@ title: split cell-path categories: | conversions -version: 0.101.0 +version: 0.102.0 conversions: | Split a cell-path into its components. usage: | Split a cell-path into its components. +editLink: false +contributors: false --- diff --git a/commands/docs/split_chars.md b/commands/docs/split_chars.md index 82483272c24..87ed7735edb 100644 --- a/commands/docs/split_chars.md +++ b/commands/docs/split_chars.md @@ -2,11 +2,13 @@ title: split chars categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Split a string into a list of characters. usage: | Split a string into a list of characters. +editLink: false +contributors: false --- diff --git a/commands/docs/split_column.md b/commands/docs/split_column.md index 58a943aa3eb..8aef03d592c 100644 --- a/commands/docs/split_column.md +++ b/commands/docs/split_column.md @@ -2,11 +2,13 @@ title: split column categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Split a string into multiple columns using a separator. usage: | Split a string into multiple columns using a separator. +editLink: false +contributors: false --- diff --git a/commands/docs/split_list.md b/commands/docs/split_list.md index a474e6d778d..90234429798 100644 --- a/commands/docs/split_list.md +++ b/commands/docs/split_list.md @@ -2,11 +2,13 @@ title: split list categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Split a list into multiple lists using a separator. usage: | Split a list into multiple lists using a separator. +editLink: false +contributors: false --- diff --git a/commands/docs/split_row.md b/commands/docs/split_row.md index 25e23042821..63ec3926632 100644 --- a/commands/docs/split_row.md +++ b/commands/docs/split_row.md @@ -2,11 +2,13 @@ title: split row categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Split a string into multiple rows using a separator. usage: | Split a string into multiple rows using a separator. +editLink: false +contributors: false --- diff --git a/commands/docs/split_words.md b/commands/docs/split_words.md index bb63a6f4850..3ba2871f56d 100644 --- a/commands/docs/split_words.md +++ b/commands/docs/split_words.md @@ -2,11 +2,13 @@ title: split words categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Split a string's words into separate rows. usage: | Split a string's words into separate rows. +editLink: false +contributors: false --- diff --git a/commands/docs/start.md b/commands/docs/start.md index e04d2097e35..7a0a8b2a144 100644 --- a/commands/docs/start.md +++ b/commands/docs/start.md @@ -2,17 +2,19 @@ title: start categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | - Open a folder, file or website in the default application or viewer. + Open a folder, file, or website in the default application or viewer. usage: | - Open a folder, file or website in the default application or viewer. + Open a folder, file, or website in the default application or viewer. +editLink: false +contributors: false --- # `start` for [filesystem](/commands/categories/filesystem.md) -
Open a folder, file or website in the default application or viewer.
+
Open a folder, file, or website in the default application or viewer.
## Signature @@ -20,7 +22,7 @@ usage: | ## Parameters - - `path`: Path to open. + - `path`: Path or URL to open. ## Input/output types: @@ -49,14 +51,20 @@ Open the current directory with the default file manager ``` -Open a pdf with the default pdf viewer +Open a PDF with the default PDF viewer ```nu > start file.pdf ``` -Open a website with default browser +Open a website with the default browser ```nu > start https://www.nushell.sh ``` + +Open an application-registered protocol URL +```nu +> start obsidian://open?vault=Test + +``` diff --git a/commands/docs/stor.md b/commands/docs/stor.md index 14a0a80d53f..f559abee500 100644 --- a/commands/docs/stor.md +++ b/commands/docs/stor.md @@ -2,11 +2,13 @@ title: stor categories: | database -version: 0.101.0 +version: 0.102.0 database: | Various commands for working with the in-memory sqlite database. usage: | Various commands for working with the in-memory sqlite database. +editLink: false +contributors: false --- diff --git a/commands/docs/stor_create.md b/commands/docs/stor_create.md index 868decbd519..e5349b13a18 100644 --- a/commands/docs/stor_create.md +++ b/commands/docs/stor_create.md @@ -2,11 +2,13 @@ title: stor create categories: | database -version: 0.101.0 +version: 0.102.0 database: | Create a table in the in-memory sqlite database. usage: | Create a table in the in-memory sqlite database. +editLink: false +contributors: false --- diff --git a/commands/docs/stor_delete.md b/commands/docs/stor_delete.md index 4b428987c78..dae554d0920 100644 --- a/commands/docs/stor_delete.md +++ b/commands/docs/stor_delete.md @@ -2,11 +2,13 @@ title: stor delete categories: | database -version: 0.101.0 +version: 0.102.0 database: | Delete a table or specified rows in the in-memory sqlite database. usage: | Delete a table or specified rows in the in-memory sqlite database. +editLink: false +contributors: false --- @@ -20,7 +22,7 @@ usage: | ## Flags - - `--table-name, -t {string}`: name of the table you want to insert into + - `--table-name, -t {string}`: name of the table you want to delete or delete from - `--where-clause, -w {string}`: a sql string to use as a where clause without the WHERE keyword diff --git a/commands/docs/stor_export.md b/commands/docs/stor_export.md index 9f44b44a859..d1cc9c250ad 100644 --- a/commands/docs/stor_export.md +++ b/commands/docs/stor_export.md @@ -2,11 +2,13 @@ title: stor export categories: | database -version: 0.101.0 +version: 0.102.0 database: | Export the in-memory sqlite database to a sqlite database file. usage: | Export the in-memory sqlite database to a sqlite database file. +editLink: false +contributors: false --- diff --git a/commands/docs/stor_import.md b/commands/docs/stor_import.md index 5030ffe6c8a..eb3b491d8bc 100644 --- a/commands/docs/stor_import.md +++ b/commands/docs/stor_import.md @@ -2,11 +2,13 @@ title: stor import categories: | database -version: 0.101.0 +version: 0.102.0 database: | Import a sqlite database file into the in-memory sqlite database. usage: | Import a sqlite database file into the in-memory sqlite database. +editLink: false +contributors: false --- diff --git a/commands/docs/stor_insert.md b/commands/docs/stor_insert.md index 45c38a233f9..57716db6c24 100644 --- a/commands/docs/stor_insert.md +++ b/commands/docs/stor_insert.md @@ -2,11 +2,13 @@ title: stor insert categories: | database -version: 0.101.0 +version: 0.102.0 database: | Insert information into a specified table in the in-memory sqlite database. usage: | Insert information into a specified table in the in-memory sqlite database. +editLink: false +contributors: false --- @@ -28,6 +30,7 @@ usage: | | input | output | | ------- | ------ | +| any | table | | nothing | table | | record | table | | table | table | diff --git a/commands/docs/stor_open.md b/commands/docs/stor_open.md index 2d618311f6f..5a0290ca0bd 100644 --- a/commands/docs/stor_open.md +++ b/commands/docs/stor_open.md @@ -2,11 +2,13 @@ title: stor open categories: | database -version: 0.101.0 +version: 0.102.0 database: | Opens the in-memory sqlite database. usage: | Opens the in-memory sqlite database. +editLink: false +contributors: false --- diff --git a/commands/docs/stor_reset.md b/commands/docs/stor_reset.md index 6b81e8b3dcc..b1844dfb86f 100644 --- a/commands/docs/stor_reset.md +++ b/commands/docs/stor_reset.md @@ -2,11 +2,13 @@ title: stor reset categories: | database -version: 0.101.0 +version: 0.102.0 database: | Reset the in-memory database by dropping all tables. usage: | Reset the in-memory database by dropping all tables. +editLink: false +contributors: false --- diff --git a/commands/docs/stor_update.md b/commands/docs/stor_update.md index 0ca45e32704..30cfd245158 100644 --- a/commands/docs/stor_update.md +++ b/commands/docs/stor_update.md @@ -2,11 +2,13 @@ title: stor update categories: | database -version: 0.101.0 +version: 0.102.0 database: | Update information in a specified table in the in-memory sqlite database. usage: | Update information in a specified table in the in-memory sqlite database. +editLink: false +contributors: false --- @@ -29,6 +31,7 @@ usage: | | input | output | | ------- | ------ | +| any | table | | nothing | table | | record | table | ## Examples diff --git a/commands/docs/str.md b/commands/docs/str.md index 245f383ff44..6f5ff272377 100644 --- a/commands/docs/str.md +++ b/commands/docs/str.md @@ -2,11 +2,13 @@ title: str categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Various commands for working with string data. usage: | Various commands for working with string data. +editLink: false +contributors: false --- diff --git a/commands/docs/str_camel-case.md b/commands/docs/str_camel-case.md index a2d1f770f39..56e1110f076 100644 --- a/commands/docs/str_camel-case.md +++ b/commands/docs/str_camel-case.md @@ -2,11 +2,13 @@ title: str camel-case categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Convert a string to camelCase. usage: | Convert a string to camelCase. +editLink: false +contributors: false --- diff --git a/commands/docs/str_capitalize.md b/commands/docs/str_capitalize.md index d1dc1e0fc8c..bcbe55573fa 100644 --- a/commands/docs/str_capitalize.md +++ b/commands/docs/str_capitalize.md @@ -2,11 +2,13 @@ title: str capitalize categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Capitalize first letter of text. usage: | Capitalize first letter of text. +editLink: false +contributors: false --- diff --git a/commands/docs/str_contains.md b/commands/docs/str_contains.md index 8b7f5c79ebe..80a8a2330ce 100644 --- a/commands/docs/str_contains.md +++ b/commands/docs/str_contains.md @@ -2,11 +2,13 @@ title: str contains categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Checks if string input contains a substring. usage: | Checks if string input contains a substring. +editLink: false +contributors: false --- diff --git a/commands/docs/str_distance.md b/commands/docs/str_distance.md index 71b65b93e29..18cfc8825f0 100644 --- a/commands/docs/str_distance.md +++ b/commands/docs/str_distance.md @@ -2,11 +2,13 @@ title: str distance categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Compare two strings and return the edit distance/Levenshtein distance. usage: | Compare two strings and return the edit distance/Levenshtein distance. +editLink: false +contributors: false --- diff --git a/commands/docs/str_downcase.md b/commands/docs/str_downcase.md index 88671d2c3ff..7c1c89763e9 100644 --- a/commands/docs/str_downcase.md +++ b/commands/docs/str_downcase.md @@ -2,11 +2,13 @@ title: str downcase categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Make text lowercase. usage: | Make text lowercase. +editLink: false +contributors: false --- diff --git a/commands/docs/str_ends-with.md b/commands/docs/str_ends-with.md index 5ea033ba439..07eb49d2873 100644 --- a/commands/docs/str_ends-with.md +++ b/commands/docs/str_ends-with.md @@ -2,11 +2,13 @@ title: str ends-with categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Check if an input ends with a string. usage: | Check if an input ends with a string. +editLink: false +contributors: false --- diff --git a/commands/docs/str_expand.md b/commands/docs/str_expand.md index ebacccfc59c..06441dc587e 100644 --- a/commands/docs/str_expand.md +++ b/commands/docs/str_expand.md @@ -2,11 +2,13 @@ title: str expand categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Generates all possible combinations defined in brace expansion syntax. usage: | Generates all possible combinations defined in brace expansion syntax. +editLink: false +contributors: false --- diff --git a/commands/docs/str_index-of.md b/commands/docs/str_index-of.md index 1c01f6a5ace..d8aa08f6c3e 100644 --- a/commands/docs/str_index-of.md +++ b/commands/docs/str_index-of.md @@ -2,11 +2,13 @@ title: str index-of categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Returns start index of first occurrence of string in input, or -1 if no match. usage: | Returns start index of first occurrence of string in input, or -1 if no match. +editLink: false +contributors: false --- diff --git a/commands/docs/str_join.md b/commands/docs/str_join.md index 55146571111..88105c2c814 100644 --- a/commands/docs/str_join.md +++ b/commands/docs/str_join.md @@ -2,11 +2,13 @@ title: str join categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Concatenate multiple strings into a single string, with an optional separator between each. usage: | Concatenate multiple strings into a single string, with an optional separator between each. +editLink: false +contributors: false --- diff --git a/commands/docs/str_kebab-case.md b/commands/docs/str_kebab-case.md index ac4ffc694c6..1ffdc62ba30 100644 --- a/commands/docs/str_kebab-case.md +++ b/commands/docs/str_kebab-case.md @@ -2,11 +2,13 @@ title: str kebab-case categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Convert a string to kebab-case. usage: | Convert a string to kebab-case. +editLink: false +contributors: false --- diff --git a/commands/docs/str_length.md b/commands/docs/str_length.md index a126bbae21e..67b5f9cf8ce 100644 --- a/commands/docs/str_length.md +++ b/commands/docs/str_length.md @@ -2,11 +2,13 @@ title: str length categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Output the length of any strings in the pipeline. usage: | Output the length of any strings in the pipeline. +editLink: false +contributors: false --- diff --git a/commands/docs/str_pascal-case.md b/commands/docs/str_pascal-case.md index f27d428e944..dc603c6d0db 100644 --- a/commands/docs/str_pascal-case.md +++ b/commands/docs/str_pascal-case.md @@ -2,11 +2,13 @@ title: str pascal-case categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Convert a string to PascalCase. usage: | Convert a string to PascalCase. +editLink: false +contributors: false --- diff --git a/commands/docs/str_replace.md b/commands/docs/str_replace.md index e9edba82a28..f68a1ecd519 100644 --- a/commands/docs/str_replace.md +++ b/commands/docs/str_replace.md @@ -2,11 +2,13 @@ title: str replace categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Find and replace text. usage: | Find and replace text. +editLink: false +contributors: false --- diff --git a/commands/docs/str_reverse.md b/commands/docs/str_reverse.md index 5a7f410a0ae..fb503983d80 100644 --- a/commands/docs/str_reverse.md +++ b/commands/docs/str_reverse.md @@ -2,11 +2,13 @@ title: str reverse categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Reverse every string in the pipeline. usage: | Reverse every string in the pipeline. +editLink: false +contributors: false --- diff --git a/commands/docs/str_screaming-snake-case.md b/commands/docs/str_screaming-snake-case.md index 9d4646bd892..147243df643 100644 --- a/commands/docs/str_screaming-snake-case.md +++ b/commands/docs/str_screaming-snake-case.md @@ -2,11 +2,13 @@ title: str screaming-snake-case categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Convert a string to SCREAMING_SNAKE_CASE. usage: | Convert a string to SCREAMING_SNAKE_CASE. +editLink: false +contributors: false --- diff --git a/commands/docs/str_snake-case.md b/commands/docs/str_snake-case.md index 70407e00d38..b23a9a5516e 100644 --- a/commands/docs/str_snake-case.md +++ b/commands/docs/str_snake-case.md @@ -2,11 +2,13 @@ title: str snake-case categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Convert a string to snake_case. usage: | Convert a string to snake_case. +editLink: false +contributors: false --- diff --git a/commands/docs/str_starts-with.md b/commands/docs/str_starts-with.md index a49e53aa8d0..8b4045c391a 100644 --- a/commands/docs/str_starts-with.md +++ b/commands/docs/str_starts-with.md @@ -2,11 +2,13 @@ title: str starts-with categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Check if an input starts with a string. usage: | Check if an input starts with a string. +editLink: false +contributors: false --- diff --git a/commands/docs/str_stats.md b/commands/docs/str_stats.md index 95732831d04..6b87bf7a6d1 100644 --- a/commands/docs/str_stats.md +++ b/commands/docs/str_stats.md @@ -2,11 +2,13 @@ title: str stats categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Gather word count statistics on the text. usage: | Gather word count statistics on the text. +editLink: false +contributors: false --- diff --git a/commands/docs/str_substring.md b/commands/docs/str_substring.md index 85d786bfcb0..d22545d2f81 100644 --- a/commands/docs/str_substring.md +++ b/commands/docs/str_substring.md @@ -2,11 +2,13 @@ title: str substring categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Get part of a string. Note that the first character of a string is index 0. usage: | Get part of a string. Note that the first character of a string is index 0. +editLink: false +contributors: false --- diff --git a/commands/docs/str_title-case.md b/commands/docs/str_title-case.md index 02d3391c071..9c6a33a03c1 100644 --- a/commands/docs/str_title-case.md +++ b/commands/docs/str_title-case.md @@ -2,11 +2,13 @@ title: str title-case categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Convert a string to Title Case. usage: | Convert a string to Title Case. +editLink: false +contributors: false --- diff --git a/commands/docs/str_trim.md b/commands/docs/str_trim.md index 1626b4f4274..d75417a4c1d 100644 --- a/commands/docs/str_trim.md +++ b/commands/docs/str_trim.md @@ -2,11 +2,13 @@ title: str trim categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Trim whitespace or specific character. usage: | Trim whitespace or specific character. +editLink: false +contributors: false --- diff --git a/commands/docs/str_upcase.md b/commands/docs/str_upcase.md index 41f97ca6ad1..b63a1e5ef02 100644 --- a/commands/docs/str_upcase.md +++ b/commands/docs/str_upcase.md @@ -2,11 +2,13 @@ title: str upcase categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Make text uppercase. usage: | Make text uppercase. +editLink: false +contributors: false --- diff --git a/commands/docs/sys.md b/commands/docs/sys.md index 912f5b78374..430fcae6b65 100644 --- a/commands/docs/sys.md +++ b/commands/docs/sys.md @@ -2,11 +2,13 @@ title: sys categories: | system -version: 0.101.0 +version: 0.102.0 system: | View information about the system. usage: | View information about the system. +editLink: false +contributors: false --- diff --git a/commands/docs/sys_cpu.md b/commands/docs/sys_cpu.md index a76baa683ed..a6ad18c6fb2 100644 --- a/commands/docs/sys_cpu.md +++ b/commands/docs/sys_cpu.md @@ -2,11 +2,13 @@ title: sys cpu categories: | system -version: 0.101.0 +version: 0.102.0 system: | View information about the system CPUs. usage: | View information about the system CPUs. +editLink: false +contributors: false --- diff --git a/commands/docs/sys_disks.md b/commands/docs/sys_disks.md index f8b4a218462..d7dff0e834a 100644 --- a/commands/docs/sys_disks.md +++ b/commands/docs/sys_disks.md @@ -2,11 +2,13 @@ title: sys disks categories: | system -version: 0.101.0 +version: 0.102.0 system: | View information about the system disks. usage: | View information about the system disks. +editLink: false +contributors: false --- diff --git a/commands/docs/sys_host.md b/commands/docs/sys_host.md index 5af9f1b8e26..5c0a71df106 100644 --- a/commands/docs/sys_host.md +++ b/commands/docs/sys_host.md @@ -2,11 +2,13 @@ title: sys host categories: | system -version: 0.101.0 +version: 0.102.0 system: | View information about the system host. usage: | View information about the system host. +editLink: false +contributors: false --- diff --git a/commands/docs/sys_mem.md b/commands/docs/sys_mem.md index dfe4dc6c930..a2c0cb3c565 100644 --- a/commands/docs/sys_mem.md +++ b/commands/docs/sys_mem.md @@ -2,11 +2,13 @@ title: sys mem categories: | system -version: 0.101.0 +version: 0.102.0 system: | View information about the system memory. usage: | View information about the system memory. +editLink: false +contributors: false --- diff --git a/commands/docs/sys_net.md b/commands/docs/sys_net.md index 4138d4ba6e1..0917bcd5787 100644 --- a/commands/docs/sys_net.md +++ b/commands/docs/sys_net.md @@ -2,11 +2,13 @@ title: sys net categories: | system -version: 0.101.0 +version: 0.102.0 system: | View information about the system network interfaces. usage: | View information about the system network interfaces. +editLink: false +contributors: false --- diff --git a/commands/docs/sys_temp.md b/commands/docs/sys_temp.md index 1215553acef..5c1607bb6e0 100644 --- a/commands/docs/sys_temp.md +++ b/commands/docs/sys_temp.md @@ -2,11 +2,13 @@ title: sys temp categories: | system -version: 0.101.0 +version: 0.102.0 system: | View the temperatures of system components. usage: | View the temperatures of system components. +editLink: false +contributors: false --- diff --git a/commands/docs/sys_users.md b/commands/docs/sys_users.md index c3f169fc686..66a2179252e 100644 --- a/commands/docs/sys_users.md +++ b/commands/docs/sys_users.md @@ -2,11 +2,13 @@ title: sys users categories: | system -version: 0.101.0 +version: 0.102.0 system: | View information about the users on the system. usage: | View information about the users on the system. +editLink: false +contributors: false --- diff --git a/commands/docs/table.md b/commands/docs/table.md index 748aeb3b0af..64abbad553f 100644 --- a/commands/docs/table.md +++ b/commands/docs/table.md @@ -2,11 +2,13 @@ title: table categories: | viewers -version: 0.101.0 +version: 0.102.0 viewers: | Render the table. usage: | Render the table. +editLink: false +contributors: false --- diff --git a/commands/docs/take.md b/commands/docs/take.md index 0176720d2c4..bfa5f5049e3 100644 --- a/commands/docs/take.md +++ b/commands/docs/take.md @@ -2,11 +2,13 @@ title: take categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Take only the first n elements of a list, or the first n bytes of a binary value. usage: | Take only the first n elements of a list, or the first n bytes of a binary value. +editLink: false +contributors: false --- diff --git a/commands/docs/take_until.md b/commands/docs/take_until.md index bcd57d0259d..5739ab852dc 100644 --- a/commands/docs/take_until.md +++ b/commands/docs/take_until.md @@ -2,11 +2,13 @@ title: take until categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Take elements of the input until a predicate is true. usage: | Take elements of the input until a predicate is true. +editLink: false +contributors: false --- diff --git a/commands/docs/take_while.md b/commands/docs/take_while.md index 61fa5595a34..b883a6a903d 100644 --- a/commands/docs/take_while.md +++ b/commands/docs/take_while.md @@ -2,11 +2,13 @@ title: take while categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Take elements of the input while a predicate is true. usage: | Take elements of the input while a predicate is true. +editLink: false +contributors: false --- diff --git a/commands/docs/tee.md b/commands/docs/tee.md index fe73025c11a..7d94886de85 100644 --- a/commands/docs/tee.md +++ b/commands/docs/tee.md @@ -2,11 +2,13 @@ title: tee categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Copy a stream to another command in parallel. usage: | Copy a stream to another command in parallel. +editLink: false +contributors: false --- diff --git a/commands/docs/term.md b/commands/docs/term.md index a772e7afea2..e4d0743e700 100644 --- a/commands/docs/term.md +++ b/commands/docs/term.md @@ -2,11 +2,13 @@ title: term categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Commands for querying information about the terminal. usage: | Commands for querying information about the terminal. +editLink: false +contributors: false --- diff --git a/commands/docs/term_query.md b/commands/docs/term_query.md index e8b810e6889..8bf2c93a268 100644 --- a/commands/docs/term_query.md +++ b/commands/docs/term_query.md @@ -2,11 +2,13 @@ title: term query categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Query the terminal for information. usage: | Query the terminal for information. +editLink: false +contributors: false --- diff --git a/commands/docs/term_size.md b/commands/docs/term_size.md index e2d9f8ed7d3..8c7621557af 100644 --- a/commands/docs/term_size.md +++ b/commands/docs/term_size.md @@ -2,11 +2,13 @@ title: term size categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Returns a record containing the number of columns (width) and rows (height) of the terminal. usage: | Returns a record containing the number of columns (width) and rows (height) of the terminal. +editLink: false +contributors: false --- diff --git a/commands/docs/timeit.md b/commands/docs/timeit.md index 79756a22eb3..badf49dbe45 100644 --- a/commands/docs/timeit.md +++ b/commands/docs/timeit.md @@ -2,11 +2,13 @@ title: timeit categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Time how long it takes a closure to run. usage: | Time how long it takes a closure to run. +editLink: false +contributors: false --- diff --git a/commands/docs/to.md b/commands/docs/to.md index ce334c26035..9c70d99f660 100644 --- a/commands/docs/to.md +++ b/commands/docs/to.md @@ -2,11 +2,13 @@ title: to categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Translate structured data to a format. usage: | Translate structured data to a format. +editLink: false +contributors: false --- diff --git a/commands/docs/to_csv.md b/commands/docs/to_csv.md index c675196c619..ce59e8a5376 100644 --- a/commands/docs/to_csv.md +++ b/commands/docs/to_csv.md @@ -2,11 +2,13 @@ title: to csv categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert table into .csv text . usage: | Convert table into .csv text . +editLink: false +contributors: false --- diff --git a/commands/docs/to_html.md b/commands/docs/to_html.md index 442b61155cc..7bbad8c227e 100644 --- a/commands/docs/to_html.md +++ b/commands/docs/to_html.md @@ -2,11 +2,13 @@ title: to html categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert table into simple HTML. usage: | Convert table into simple HTML. +editLink: false +contributors: false --- diff --git a/commands/docs/to_json.md b/commands/docs/to_json.md index 0fd5c8c7fda..087ab0fbbdd 100644 --- a/commands/docs/to_json.md +++ b/commands/docs/to_json.md @@ -2,11 +2,13 @@ title: to json categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Converts table data into JSON text. usage: | Converts table data into JSON text. +editLink: false +contributors: false --- @@ -23,6 +25,7 @@ usage: | - `--raw, -r`: remove all of the whitespace - `--indent, -i {number}`: specify indentation width - `--tabs, -t {number}`: specify indentation tab quantity + - `--serialize, -s`: serialize nushell types that cannot be deserialized ## Input/output types: diff --git a/commands/docs/to_md.md b/commands/docs/to_md.md index 38b69d441ba..02d79dc41d2 100644 --- a/commands/docs/to_md.md +++ b/commands/docs/to_md.md @@ -2,11 +2,13 @@ title: to md categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert table into simple Markdown. usage: | Convert table into simple Markdown. +editLink: false +contributors: false --- diff --git a/commands/docs/to_msgpack.md b/commands/docs/to_msgpack.md index 6ced502c8b4..85fbca3e494 100644 --- a/commands/docs/to_msgpack.md +++ b/commands/docs/to_msgpack.md @@ -2,11 +2,13 @@ title: to msgpack categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert Nu values into MessagePack. usage: | Convert Nu values into MessagePack. +editLink: false +contributors: false --- diff --git a/commands/docs/to_msgpackz.md b/commands/docs/to_msgpackz.md index 57a48b7a541..294bd229d24 100644 --- a/commands/docs/to_msgpackz.md +++ b/commands/docs/to_msgpackz.md @@ -2,11 +2,13 @@ title: to msgpackz categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert Nu values into brotli-compressed MessagePack. usage: | Convert Nu values into brotli-compressed MessagePack. +editLink: false +contributors: false --- diff --git a/commands/docs/to_nuon.md b/commands/docs/to_nuon.md index d3a549e6eeb..e00a11d619e 100644 --- a/commands/docs/to_nuon.md +++ b/commands/docs/to_nuon.md @@ -2,11 +2,13 @@ title: to nuon categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Converts table data into Nuon (Nushell Object Notation) text. usage: | Converts table data into Nuon (Nushell Object Notation) text. +editLink: false +contributors: false --- @@ -23,6 +25,7 @@ usage: | - `--raw, -r`: remove all of the whitespace (default behaviour and overwrites -i and -t) - `--indent, -i {number}`: specify indentation width - `--tabs, -t {number}`: specify indentation tab quantity + - `--serialize, -s`: serialize nushell types that cannot be deserialized ## Input/output types: diff --git a/commands/docs/to_plist.md b/commands/docs/to_plist.md index f9c936e1ed1..b8a98bcc4a4 100644 --- a/commands/docs/to_plist.md +++ b/commands/docs/to_plist.md @@ -2,11 +2,13 @@ title: to plist categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert Nu values into plist usage: | Convert Nu values into plist +editLink: false +contributors: false --- diff --git a/commands/docs/to_text.md b/commands/docs/to_text.md index 7f5cc40cf31..cc82fc22c60 100644 --- a/commands/docs/to_text.md +++ b/commands/docs/to_text.md @@ -2,11 +2,13 @@ title: to text categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Converts data into simple text. usage: | Converts data into simple text. +editLink: false +contributors: false --- @@ -21,6 +23,7 @@ usage: | ## Flags - `--no-newline, -n`: Do not append a newline to the end of the text + - `--serialize, -s`: serialize nushell types that cannot be deserialized ## Input/output types: diff --git a/commands/docs/to_toml.md b/commands/docs/to_toml.md index 6f8bbc02ec4..41215b3a00e 100644 --- a/commands/docs/to_toml.md +++ b/commands/docs/to_toml.md @@ -2,11 +2,13 @@ title: to toml categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert record into .toml text. usage: | Convert record into .toml text. +editLink: false +contributors: false --- @@ -18,6 +20,10 @@ usage: | ```> to toml {flags} ``` +## Flags + + - `--serialize, -s`: serialize nushell types that cannot be deserialized + ## Input/output types: diff --git a/commands/docs/to_tsv.md b/commands/docs/to_tsv.md index 804d45d21c2..6137f0e31b7 100644 --- a/commands/docs/to_tsv.md +++ b/commands/docs/to_tsv.md @@ -2,11 +2,13 @@ title: to tsv categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert table into .tsv text. usage: | Convert table into .tsv text. +editLink: false +contributors: false --- diff --git a/commands/docs/to_xml.md b/commands/docs/to_xml.md index 0aced66ded2..a09ed40a607 100644 --- a/commands/docs/to_xml.md +++ b/commands/docs/to_xml.md @@ -2,11 +2,13 @@ title: to xml categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert special record structure into .xml text. usage: | Convert special record structure into .xml text. +editLink: false +contributors: false --- diff --git a/commands/docs/to_yaml.md b/commands/docs/to_yaml.md index 56eb7ad20f9..ad6e3447b2e 100644 --- a/commands/docs/to_yaml.md +++ b/commands/docs/to_yaml.md @@ -2,11 +2,13 @@ title: to yaml categories: | formats -version: 0.101.0 +version: 0.102.0 formats: | Convert table into .yaml/.yml text. usage: | Convert table into .yaml/.yml text. +editLink: false +contributors: false --- @@ -18,6 +20,10 @@ usage: | ```> to yaml {flags} ``` +## Flags + + - `--serialize, -s`: serialize nushell types that cannot be deserialized + ## Input/output types: diff --git a/commands/docs/touch.md b/commands/docs/touch.md index 2f3dd7fc33d..8b12c325b54 100644 --- a/commands/docs/touch.md +++ b/commands/docs/touch.md @@ -2,11 +2,13 @@ title: touch categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Creates one or more files. usage: | Creates one or more files. +editLink: false +contributors: false --- @@ -20,15 +22,17 @@ usage: | ## Flags - - `--reference, -r {string}`: change the file or directory time to the time of the reference file/directory - - `--modified, -m`: change the modification time of the file or directory. If no reference file/directory is given, the current time is used - - `--access, -a`: change the access time of the file or directory. If no reference file/directory is given, the current time is used - - `--no-create, -c`: do not create the file if it does not exist - - `--no-deref, -s`: do not follow symlinks + - `--reference, -r {path}`: Use the access and modification times of the reference file/directory instead of the current time + - `--timestamp, -t {datetime}`: Use the given timestamp instead of the current time + - `--date, -d {string}`: Use the given time instead of the current time. This can be a full timestamp or it can be relative to either the current time or reference file time (if given). For more information, see https://www.gnu.org/software/coreutils/manual/html_node/touch-invocation.html + - `--modified, -m`: Change only the modification time (if used with -a, access time is changed too) + - `--access, -a`: Change only the access time (if used with -m, modification time is changed too) + - `--no-create, -c`: Don't create the file if it doesn't exist + - `--no-deref, -s`: Affect each symbolic link instead of any referenced file (only for systems that can change the timestamps of a symlink). Ignored if touching stdout ## Parameters - - `...rest`: The file(s) to create. + - `...rest`: The file(s) to create. '-' is used to represent stdout. ## Input/output types: @@ -57,8 +61,38 @@ Changes the last modified time of "fixture.json" to today's date ``` -Changes the last modified time of file d and e to "fixture.json"'s last modified time +Changes the last modified and accessed time of all files with the .json extension to today's date +```nu +> touch *.json + +``` + +Changes the last accessed and modified times of files a, b and c to the current time but yesterday +```nu +> touch -d "yesterday" a b c + +``` + +Changes the last modified time of files d and e to "fixture.json"'s last modified time ```nu > touch -m -r fixture.json d e ``` + +Changes the last accessed time of "fixture.json" to a datetime +```nu +> touch -a -t 2019-08-24T12:30:30 fixture.json + +``` + +Change the last accessed and modified times of stdout +```nu +> touch - + +``` + +Changes the last accessed and modified times of file a to 1 month before "fixture.json"'s last modified time +```nu +> touch -r fixture.json -d "-1 month" a + +``` diff --git a/commands/docs/transpose.md b/commands/docs/transpose.md index a08b070c887..fd4891263a7 100644 --- a/commands/docs/transpose.md +++ b/commands/docs/transpose.md @@ -2,11 +2,13 @@ title: transpose categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Transposes the table contents so rows become columns and columns become rows. usage: | Transposes the table contents so rows become columns and columns become rows. +editLink: false +contributors: false --- diff --git a/commands/docs/try.md b/commands/docs/try.md index 49dc9849d15..d7018738a1d 100644 --- a/commands/docs/try.md +++ b/commands/docs/try.md @@ -2,11 +2,13 @@ title: try categories: | core -version: 0.101.0 +version: 0.102.0 core: | Try to run a block, if it fails optionally run a catch closure. usage: | Try to run a block, if it fails optionally run a catch closure. +editLink: false +contributors: false --- diff --git a/commands/docs/tutor.md b/commands/docs/tutor.md index 47d854da971..560560e07c5 100644 --- a/commands/docs/tutor.md +++ b/commands/docs/tutor.md @@ -2,11 +2,13 @@ title: tutor categories: | misc -version: 0.101.0 +version: 0.102.0 misc: | Run the tutorial. To begin, run: tutor. usage: | Run the tutorial. To begin, run: tutor. +editLink: false +contributors: false --- diff --git a/commands/docs/ulimit.md b/commands/docs/ulimit.md index 9a8d914d6b9..11ad8c050c2 100644 --- a/commands/docs/ulimit.md +++ b/commands/docs/ulimit.md @@ -2,11 +2,13 @@ title: ulimit categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Set or get resource usage limits. usage: | Set or get resource usage limits. +editLink: false +contributors: false --- diff --git a/commands/docs/uname.md b/commands/docs/uname.md index bc84deeedb1..582b05885ff 100644 --- a/commands/docs/uname.md +++ b/commands/docs/uname.md @@ -2,11 +2,13 @@ title: uname categories: | system -version: 0.101.0 +version: 0.102.0 system: | Print certain system information using uutils/coreutils uname. usage: | Print certain system information using uutils/coreutils uname. +editLink: false +contributors: false --- diff --git a/commands/docs/uniq-by.md b/commands/docs/uniq-by.md index 9b5dc8a0834..e431f5adb38 100644 --- a/commands/docs/uniq-by.md +++ b/commands/docs/uniq-by.md @@ -2,11 +2,13 @@ title: uniq-by categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Return the distinct values in the input by the given column(s). usage: | Return the distinct values in the input by the given column(s). +editLink: false +contributors: false --- diff --git a/commands/docs/uniq.md b/commands/docs/uniq.md index 8626df5fffa..6a4e36c5515 100644 --- a/commands/docs/uniq.md +++ b/commands/docs/uniq.md @@ -2,11 +2,13 @@ title: uniq categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Return the distinct values in the input. usage: | Return the distinct values in the input. +editLink: false +contributors: false --- diff --git a/commands/docs/update.md b/commands/docs/update.md index fc2d96702d0..1888097d49d 100644 --- a/commands/docs/update.md +++ b/commands/docs/update.md @@ -2,11 +2,13 @@ title: update categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Update an existing column to have a new value. usage: | Update an existing column to have a new value. +editLink: false +contributors: false --- diff --git a/commands/docs/update_cells.md b/commands/docs/update_cells.md index d7e6d19eedd..e764f11c021 100644 --- a/commands/docs/update_cells.md +++ b/commands/docs/update_cells.md @@ -2,11 +2,13 @@ title: update cells categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Update the table cells. usage: | Update the table cells. +editLink: false +contributors: false --- diff --git a/commands/docs/upsert.md b/commands/docs/upsert.md index 0034576266e..5be82a629f2 100644 --- a/commands/docs/upsert.md +++ b/commands/docs/upsert.md @@ -2,11 +2,13 @@ title: upsert categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Update an existing column to have a new value, or insert a new column. usage: | Update an existing column to have a new value, or insert a new column. +editLink: false +contributors: false --- diff --git a/commands/docs/url.md b/commands/docs/url.md index 1747d304916..15703e53ad8 100644 --- a/commands/docs/url.md +++ b/commands/docs/url.md @@ -2,11 +2,13 @@ title: url categories: | network -version: 0.101.0 +version: 0.102.0 network: | Various commands for working with URLs. usage: | Various commands for working with URLs. +editLink: false +contributors: false --- diff --git a/commands/docs/url_build-query.md b/commands/docs/url_build-query.md index 10d87f4f761..f358d239980 100644 --- a/commands/docs/url_build-query.md +++ b/commands/docs/url_build-query.md @@ -2,11 +2,13 @@ title: url build-query categories: | network -version: 0.101.0 +version: 0.102.0 network: | Converts record or table into query string applying percent-encoding. usage: | Converts record or table into query string applying percent-encoding. +editLink: false +contributors: false --- diff --git a/commands/docs/url_decode.md b/commands/docs/url_decode.md index 22422e54066..8741417531e 100644 --- a/commands/docs/url_decode.md +++ b/commands/docs/url_decode.md @@ -2,11 +2,13 @@ title: url decode categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Converts a percent-encoded web safe string to a string. usage: | Converts a percent-encoded web safe string to a string. +editLink: false +contributors: false --- diff --git a/commands/docs/url_encode.md b/commands/docs/url_encode.md index 3ff1bd37c74..0cb53e2f528 100644 --- a/commands/docs/url_encode.md +++ b/commands/docs/url_encode.md @@ -2,11 +2,13 @@ title: url encode categories: | strings -version: 0.101.0 +version: 0.102.0 strings: | Converts a string to a percent encoded web safe string. usage: | Converts a string to a percent encoded web safe string. +editLink: false +contributors: false --- diff --git a/commands/docs/url_join.md b/commands/docs/url_join.md index d9441be8753..8a0db28cc0c 100644 --- a/commands/docs/url_join.md +++ b/commands/docs/url_join.md @@ -2,11 +2,13 @@ title: url join categories: | network -version: 0.101.0 +version: 0.102.0 network: | Converts a record to url. usage: | Converts a record to url. +editLink: false +contributors: false --- diff --git a/commands/docs/url_parse.md b/commands/docs/url_parse.md index a8d8570bf6f..2046382c1d9 100644 --- a/commands/docs/url_parse.md +++ b/commands/docs/url_parse.md @@ -2,11 +2,13 @@ title: url parse categories: | network -version: 0.101.0 +version: 0.102.0 network: | Parses a url. usage: | Parses a url. +editLink: false +contributors: false --- diff --git a/commands/docs/url_split-query.md b/commands/docs/url_split-query.md index d2eced92988..b7fba043eb6 100644 --- a/commands/docs/url_split-query.md +++ b/commands/docs/url_split-query.md @@ -2,11 +2,13 @@ title: url split-query categories: | network -version: 0.101.0 +version: 0.102.0 network: | Converts query string into table applying percent-decoding. usage: | Converts query string into table applying percent-decoding. +editLink: false +contributors: false --- diff --git a/commands/docs/use.md b/commands/docs/use.md index 97d89a269a6..68ac3f8dc9b 100644 --- a/commands/docs/use.md +++ b/commands/docs/use.md @@ -2,11 +2,13 @@ title: use categories: | core -version: 0.101.0 +version: 0.102.0 core: | Use definitions from a module, making them available in your shell. usage: | Use definitions from a module, making them available in your shell. +editLink: false +contributors: false --- @@ -20,7 +22,7 @@ usage: | ## Parameters - - `module`: Module or module file. + - `module`: Module or module file (`null` for no-op). - `...rest`: Which members of the module to import. diff --git a/commands/docs/utouch.md b/commands/docs/utouch.md deleted file mode 100644 index b89ff9788bc..00000000000 --- a/commands/docs/utouch.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: utouch -categories: | - filesystem -version: 0.101.0 -filesystem: | - Creates one or more files. -usage: | - Creates one or more files. ---- - - -# `utouch` for [filesystem](/commands/categories/filesystem.md) - -
Creates one or more files.
- -## Signature - -```> utouch {flags} ...rest``` - -## Flags - - - `--reference, -r {path}`: Use the access and modification times of the reference file/directory instead of the current time - - `--timestamp, -t {datetime}`: Use the given timestamp instead of the current time - - `--date, -d {string}`: Use the given time instead of the current time. This can be a full timestamp or it can be relative to either the current time or reference file time (if given). For more information, see https://www.gnu.org/software/coreutils/manual/html_node/touch-invocation.html - - `--modified, -m`: Change only the modification time (if used with -a, access time is changed too) - - `--access, -a`: Change only the access time (if used with -m, modification time is changed too) - - `--no-create, -c`: Don't create the file if it doesn't exist - - `--no-deref, -s`: Affect each symbolic link instead of any referenced file (only for systems that can change the timestamps of a symlink). Ignored if touching stdout - -## Parameters - - - `...rest`: The file(s) to create. '-' is used to represent stdout. - - -## Input/output types: - -| input | output | -| ------- | ------- | -| nothing | nothing | - -## Examples - -Creates "fixture.json" -```nu -> utouch fixture.json - -``` - -Creates files a, b and c -```nu -> utouch a b c - -``` - -Changes the last modified time of "fixture.json" to today's date -```nu -> utouch -m fixture.json - -``` - -Changes the last accessed and modified times of files a, b and c to the current time but yesterday -```nu -> utouch -d "yesterday" a b c - -``` - -Changes the last modified time of files d and e to "fixture.json"'s last modified time -```nu -> utouch -m -r fixture.json d e - -``` - -Changes the last accessed time of "fixture.json" to a datetime -```nu -> utouch -a -t 2019-08-24T12:30:30 fixture.json - -``` - -Change the last accessed and modified times of stdout -```nu -> utouch - - -``` - -Changes the last accessed and modified times of file a to 1 month before "fixture.json"'s last modified time -```nu -> utouch -r fixture.json -d "-1 month" a - -``` diff --git a/commands/docs/values.md b/commands/docs/values.md index c198d208330..5e653fd39da 100644 --- a/commands/docs/values.md +++ b/commands/docs/values.md @@ -2,11 +2,13 @@ title: values categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Given a record or table, produce a list of its columns' values. usage: | Given a record or table, produce a list of its columns' values. +editLink: false +contributors: false --- diff --git a/commands/docs/version.md b/commands/docs/version.md index 5cad03570ca..ac443dc56d6 100644 --- a/commands/docs/version.md +++ b/commands/docs/version.md @@ -2,11 +2,13 @@ title: version categories: | core -version: 0.101.0 +version: 0.102.0 core: | Display Nu version, and its build configuration. usage: | Display Nu version, and its build configuration. +editLink: false +contributors: false --- @@ -32,3 +34,10 @@ Display Nu version > version ``` + + +## Subcommands: + +| name | description | type | +| -------------------------------------------------- | -------------------------------------------------------- | -------- | +| [`version check`](/commands/docs/version_check.md) | Checks to see if you have the latest version of nushell. | built-in | diff --git a/commands/docs/version_check.md b/commands/docs/version_check.md new file mode 100644 index 00000000000..1ad4e2203fb --- /dev/null +++ b/commands/docs/version_check.md @@ -0,0 +1,39 @@ +--- +title: version check +categories: | + platform +version: 0.102.0 +platform: | + Checks to see if you have the latest version of nushell. +usage: | + Checks to see if you have the latest version of nushell. +editLink: false +contributors: false +--- + + +# `version check` for [platform](/commands/categories/platform.md) + +
Checks to see if you have the latest version of nushell.
+ +## Signature + +```> version check {flags} ``` + + +## Input/output types: + +| input | output | +| ------- | ------ | +| nothing | string | + +## Examples + +Check if you have the latest version of nushell +```nu +> version check + +``` + +## Notes +If you're running nushell nightly, `version check` will check to see if you are running the latest nightly version. If you are running the nushell release, `version check` will check to see if you're running the latest release version. \ No newline at end of file diff --git a/commands/docs/view.md b/commands/docs/view.md index 5154a3c596c..23d9c5af5e4 100644 --- a/commands/docs/view.md +++ b/commands/docs/view.md @@ -2,11 +2,13 @@ title: view categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | Various commands for viewing debug information. usage: | Various commands for viewing debug information. +editLink: false +contributors: false --- diff --git a/commands/docs/view_blocks.md b/commands/docs/view_blocks.md index 3dc9f43aea8..606fcb8ac63 100644 --- a/commands/docs/view_blocks.md +++ b/commands/docs/view_blocks.md @@ -2,11 +2,13 @@ title: view blocks categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | View the blocks registered in nushell's EngineState memory. usage: | View the blocks registered in nushell's EngineState memory. +editLink: false +contributors: false --- diff --git a/commands/docs/view_files.md b/commands/docs/view_files.md index 0c9a140a711..a9f509d3725 100644 --- a/commands/docs/view_files.md +++ b/commands/docs/view_files.md @@ -2,11 +2,13 @@ title: view files categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | View the files registered in nushell's EngineState memory. usage: | View the files registered in nushell's EngineState memory. +editLink: false +contributors: false --- diff --git a/commands/docs/view_ir.md b/commands/docs/view_ir.md index 18da54f57bb..eff15b6a55a 100644 --- a/commands/docs/view_ir.md +++ b/commands/docs/view_ir.md @@ -2,11 +2,13 @@ title: view ir categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | View the compiled IR code for a block of code. usage: | View the compiled IR code for a block of code. +editLink: false +contributors: false --- diff --git a/commands/docs/view_source.md b/commands/docs/view_source.md index 160c9f2a4af..0867d2075ee 100644 --- a/commands/docs/view_source.md +++ b/commands/docs/view_source.md @@ -2,11 +2,13 @@ title: view source categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | View a block, module, or a definition. usage: | View a block, module, or a definition. +editLink: false +contributors: false --- diff --git a/commands/docs/view_span.md b/commands/docs/view_span.md index ded3c0ec5e8..cf5ef01fd51 100644 --- a/commands/docs/view_span.md +++ b/commands/docs/view_span.md @@ -2,11 +2,13 @@ title: view span categories: | debug -version: 0.101.0 +version: 0.102.0 debug: | View the contents of a span. usage: | View the contents of a span. +editLink: false +contributors: false --- diff --git a/commands/docs/watch.md b/commands/docs/watch.md index 70e5d1962a9..e9e73137a75 100644 --- a/commands/docs/watch.md +++ b/commands/docs/watch.md @@ -2,11 +2,13 @@ title: watch categories: | filesystem -version: 0.101.0 +version: 0.102.0 filesystem: | Watch for file changes and execute Nu code when they happen. usage: | Watch for file changes and execute Nu code when they happen. +editLink: false +contributors: false --- diff --git a/commands/docs/where.md b/commands/docs/where.md index 39355daf8d0..d82c2e064f9 100644 --- a/commands/docs/where.md +++ b/commands/docs/where.md @@ -2,11 +2,13 @@ title: where categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Filter values based on a row condition. usage: | Filter values based on a row condition. +editLink: false +contributors: false --- diff --git a/commands/docs/which.md b/commands/docs/which.md index adfd095dc12..54acb96b113 100644 --- a/commands/docs/which.md +++ b/commands/docs/which.md @@ -2,11 +2,13 @@ title: which categories: | system -version: 0.101.0 +version: 0.102.0 system: | Finds a program file, alias or custom command. usage: | Finds a program file, alias or custom command. +editLink: false +contributors: false --- diff --git a/commands/docs/while.md b/commands/docs/while.md index 2e501d93a72..5ceedd8b076 100644 --- a/commands/docs/while.md +++ b/commands/docs/while.md @@ -2,11 +2,13 @@ title: while categories: | core -version: 0.101.0 +version: 0.102.0 core: | Conditionally run a block in a loop. usage: | Conditionally run a block in a loop. +editLink: false +contributors: false --- diff --git a/commands/docs/whoami.md b/commands/docs/whoami.md index eed33f55387..be5a58a69b6 100644 --- a/commands/docs/whoami.md +++ b/commands/docs/whoami.md @@ -2,11 +2,13 @@ title: whoami categories: | platform -version: 0.101.0 +version: 0.102.0 platform: | Get the current username using uutils/coreutils whoami. usage: | Get the current username using uutils/coreutils whoami. +editLink: false +contributors: false --- diff --git a/commands/docs/window.md b/commands/docs/window.md index af4e88beccc..f59e262fb39 100644 --- a/commands/docs/window.md +++ b/commands/docs/window.md @@ -2,11 +2,13 @@ title: window categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Creates a sliding window of `window_size` that slide by n rows/elements across input. usage: | Creates a sliding window of `window_size` that slide by n rows/elements across input. +editLink: false +contributors: false --- diff --git a/commands/docs/with-env.md b/commands/docs/with-env.md index 963a4330152..6ea55e6ecfc 100644 --- a/commands/docs/with-env.md +++ b/commands/docs/with-env.md @@ -2,11 +2,13 @@ title: with-env categories: | env -version: 0.101.0 +version: 0.102.0 env: | Runs a block with an environment variable set. usage: | Runs a block with an environment variable set. +editLink: false +contributors: false --- diff --git a/commands/docs/wrap.md b/commands/docs/wrap.md index 66674d0a7bf..06d10cfdf4d 100644 --- a/commands/docs/wrap.md +++ b/commands/docs/wrap.md @@ -2,11 +2,13 @@ title: wrap categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Wrap the value into a column. usage: | Wrap the value into a column. +editLink: false +contributors: false --- diff --git a/commands/docs/zip.md b/commands/docs/zip.md index 51abd93d2e6..86e6eb21038 100644 --- a/commands/docs/zip.md +++ b/commands/docs/zip.md @@ -2,11 +2,13 @@ title: zip categories: | filters -version: 0.101.0 +version: 0.102.0 filters: | Combine a stream with the input. usage: | Combine a stream with the input. +editLink: false +contributors: false ---