mirror of
https://github.com/nushell/nushell
synced 2025-02-13 04:33:38 +00:00
The table parsing/creation logic has changed from treating every line the same to processing each line in context of the column header's placement. Previously, lines on separate rows would go towards the same column as long as they were the same index based on separator alone. Now, each item's index is based on vertical alignment to the column header. This may seem brittle, but it solves the problem of some tables operating with empty cells that would cause remaining values to be paired with the wrong column. Based on kubernetes output (get pods, events), the new method has shown to have much greater success rates for parsing. |
||
---|---|---|
.. | ||
commands | ||
data | ||
env | ||
evaluate | ||
format | ||
parser | ||
plugins | ||
shell | ||
cli.rs | ||
commands.rs | ||
context.rs | ||
data.rs | ||
env.rs | ||
errors.rs | ||
format.rs | ||
fuzzysearch.rs | ||
git.rs | ||
lib.rs | ||
main.rs | ||
parser.rs | ||
plugin.rs | ||
prelude.rs | ||
shell.rs | ||
stream.rs | ||
traits.rs | ||
utils.rs |