from plist

For formats.

Convert plist to Nushell values

warning This command requires a plugin The from plist command resides in the formats plugin. To use this command, you must install and register nu_plugin_formats. See the Plugins chapter in the book for more information.

Command Type

plugin

Signature

> from plist {flags}

Examples

Convert a table into a plist file

> '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>a</key>
        <integer>3</integer>
</dict>
</plist>' | from plist
╭───┬───╮
│ a │ 3 │
╰───┴───╯

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.