mirror of
https://github.com/nushell/nushell.git
synced 2025-05-10 01:42:57 +00:00
* 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 a4bf38a31d7e242a5a9f9045f22eb4975ec5d6d0. * Show error message when given empty table
4.7 KiB
4.7 KiB