forked from extern/nushell
4b301710d3
# Description Use `record!` macro instead of defining two separate `vec!` for `cols` and `vals` when appropriate. This visually aligns the key with the value. Further more you don't have to deal with the construction of `Record { cols, vals }` so we can hide the implementation details in the future. ## State Not covering all possible commands yet, also some tests/examples are better expressed by creating cols and vals separately. # User/Developer-Facing Changes The examples and tests should read more natural. No relevant functional change # Bycatch Where I noticed it I replaced usage of `Value` constructors with `Span::test_data()` or `Span::unknown()` to the `Value::test_...` constructors. This should make things more readable and also simplify changes to the `Span` system in the future. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
nu_plugin_formats
A nushell plugin to convert data to nushell tables.
support commands:
- from eml - original ported from nushell core.
- from ics - original ported from nushell core.
- from ini - original ported from nushell core.
- from vcf - original ported from nushell core.
Prerequisite
nushell
, It's a nushell plugin, so you need it.
Usage
- compile the binary:
cargo build
- register plugin(assume it's compiled in ./target/debug/):
register ./target/debug/nu_plugin_formats