from vcf for formats

Parse text as .vcf and create table.

WARNING

Command from vcf resides in plugin nu_plugin_formatsopen in new window. To use this command, you must install/compile and register nu_plugin_formats

Signature

> from vcf {flags}

Input/output types:

inputoutput
stringtable

Examples

Converts ics formatted string to table

> 'BEGIN:VCARD
N:Foo
FN:Bar
EMAIL:foo@bar.com
END:VCARD' | from vcf
╭───┬──────────────────────────────────────╮
 # │              properties              │
├───┼──────────────────────────────────────┤
 0  ╭───┬───────┬─────────────┬────────╮ 
     # │ name  │    value    │ params │ │
    ├───┼───────┼─────────────┼────────┤ 
     0  N      Foo                  
     1  FN     Bar                  
     2  EMAIL  foo@bar.com          
    ╰───┴───────┴─────────────┴────────╯ 
╰───┴──────────────────────────────────────╯