from vcf
For formats.
Parse text as .vcf and create table.
warning This command requires a plugin The
from vcfcommand resides in theformatsplugin. To use this command, you must install and registernu_plugin_formats. See the Plugins chapter in the book for more information.
Command Type
plugin
Signature
> from vcf {flags}
Input/output types:
| input | output |
|---|---|
| string | table |
Examples
Converts ics formatted string to table
> 'BEGIN:VCARD
N:Foo
FN:Bar
EMAIL:[email protected]
END:VCARD' | from vcf
╭───┬──────────────────────────────────────╮
│ # │ properties │
├───┼──────────────────────────────────────┤
│ 0 │ ╭───┬───────┬─────────────┬────────╮ │
│ │ │ # │ name │ value │ params │ │
│ │ ├───┼───────┼─────────────┼────────┤ │
│ │ │ 0 │ N │ Foo │ │ │
│ │ │ 1 │ FN │ Bar │ │ │
│ │ │ 2 │ EMAIL │ [email protected] │ │ │
│ │ ╰───┴───────┴─────────────┴────────╯ │
╰───┴──────────────────────────────────────╯
Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.