ayax79 / nu_plugin_plist

Plugin for handling plist files in nushell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plist plugin for Nushell

Provides the ability to read and write Apple plists.

To read a plist:

open /System/Library/LaunchDaemons/bootps.plist

or

cat /System/Library/LaunchDaemons/bootps.plist | from plist

to write a plist:

ps | to plist

Note: this requires Nushell 0.89 or later

To install:

> cargo install --path .

To register (from inside Nushell):

> register <path to installed plugin> 

Usage:

open file.plist 
open --raw file.plist | from plist

About

Plugin for handling plist files in nushell

License:MIT License


Languages

Language:Rust 100.0%