from ini
for formats
Parse text as .ini and create table.
Signature
> from ini
Input/output types:
input | output |
---|---|
string | record |
Examples
Converts ini formatted string to record
> '[foo]
a=1
b=2' | from ini
╭─────┬───────────╮
│ │ ╭───┬───╮ │
│ foo │ │ a │ 1 │ │
│ │ │ b │ 2 │ │
│ │ ╰───┴───╯ │
╰─────┴───────────╯