from ini for formats

Parse text as .ini and create table.

WARNING

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

Signature

> from ini {flags}

Input/output types:

inputoutput
stringrecord

Examples

Converts ini formatted string to record

> '[foo]
a=1
b=2' | from ini
╭─────┬───────────╮
 ╭───┬───╮
 foo a 1
 b 2
 ╰───┴───╯
╰─────┴───────────╯