nushell/crates/nu-cli/src/commands
Ian Manske e879d4ecaf
ListStream touchup (#12524)
# Description

Does some misc changes to `ListStream`:
- Moves it into its own module/file separate from `RawStream`.
- `ListStream`s now have an associated `Span`.
- This required changes to `ListStreamInfo` in `nu-plugin`. Note sure if
this is a breaking change for the plugin protocol.
- Hides the internals of `ListStream` but also adds a few more methods.
- This includes two functions to more easily alter a stream (these take
a `ListStream` and return a `ListStream` instead of having to go through
the whole `into_pipeline_data(..)` route).
  -  `map`: takes a `FnMut(Value) -> Value`
  - `modify`: takes a function to modify the inner stream.
2024-05-05 16:00:59 +00:00
..
commandline Remove deprecated flags on commandline (#12658) 2024-04-25 14:16:42 +00:00
history ListStream touchup (#12524) 2024-05-05 16:00:59 +00:00
default_context.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
keybindings.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
keybindings_default.rs Shrink the size of Expr (#12610) 2024-04-24 15:46:35 +00:00
keybindings_list.rs Shrink the size of Expr (#12610) 2024-04-24 15:46:35 +00:00
keybindings_listen.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
mod.rs separate commandline into subcommands (#11877) 2024-02-18 16:15:59 -06:00