nushell/crates
Sam Hedin ae5f3c8210
WIP: 1486/first row as headers (#1530)
* headers plugin

* Remove plugin

* Add non-functioning headers command

* Add ability to extract headers from first row

* Refactor header extraction

* Rebuild indexmap with proper headers

* Rebuild result properly

* Compiling, probably wrapped too much?

* Refactoring

* Deal with case of empty header cell

* Deal with case of empty header cell

* Fix formatting

* Fix linting, attempt 2.

* Move whole_stream_command(Headers) to more appropriate section

* ... more linting

* Return Err(ShellError...) instead of panic, yield each row instead of entire table

* Insert Column[index] if no header info is found.

* Update error description

* Add initial test

* Add tests for headers command

* Lint test cases in headers

* Change ShellError for headers, Add sample_headers file to utils.rs

* Add empty sheet to test file

* Revert "Add empty sheet to test file"

This reverts commit a4bf38a31d.

* Show error message when given empty table
2020-03-29 15:05:57 +13:00
..
nu_plugin_average Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu_plugin_binaryview Add a --full mode to ps (#1507) 2020-03-20 20:53:49 +13:00
nu_plugin_fetch Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu_plugin_inc Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu_plugin_match Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu_plugin_post Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu_plugin_ps Fixes the crash for ps --full in Windows (#1514) 2020-03-23 08:28:02 +13:00
nu_plugin_str Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu_plugin_sys Add a --full mode to ps (#1507) 2020-03-20 20:53:49 +13:00
nu_plugin_textview Add a --full mode to ps (#1507) 2020-03-20 20:53:49 +13:00
nu_plugin_tree Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu-build Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu-cli WIP: 1486/first row as headers (#1530) 2020-03-29 15:05:57 +13:00
nu-errors Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu-macros Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu-parser Infer types from regular delimited plain text unstructured files. (#1494) 2020-03-16 15:50:45 -05:00
nu-plugin Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00
nu-protocol Make sum plugin as internal command. (#1501) 2020-03-18 18:46:00 -05:00
nu-source Infer types from regular delimited plain text unstructured files. (#1494) 2020-03-16 15:50:45 -05:00
nu-test-support Respect CARGO_TARGET_DIR when set (#1528) 2020-03-27 17:13:59 -04:00
nu-value-ext Bump to 0.11.0 (#1474) 2020-03-11 06:34:19 +13:00