mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
c10aa2cf09
# Description This changes the `collect` command so that it doesn't require a closure. Still allowed, optionally. Before: ```nushell open foo.json | insert foo bar | collect { save -f foo.json } ``` After: ```nushell open foo.json | insert foo bar | collect | save -f foo.json ``` The closure argument isn't really necessary, as collect values are also supported as `PipelineData`. # User-Facing Changes - `collect` command changed # Tests + Formatting Example changed to reflect. # After Submitting - [ ] release notes - [ ] we may want to deprecate the closure arg? |
||
---|---|---|
.. | ||
commands | ||
format_conversions | ||
main.rs |