Skip to content
/ plu Public

A simple property list printer similar to that of `plutil(1)` -p

License

Notifications You must be signed in to change notification settings

dlevi309/plu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plu

A simple plist parser meant to present data in a more machine readable format.

Similar to plutil(1)'s -p switch.

Build with make

$ Usage: plu [-p] [path]

Running plu /System/Library/LaunchDaemons/com.apple.uikit.eyedropperd.plist will get you an output like this:

Dictionary[7]
   ThrottleInterval => 1
   POSIXSpawnType => "Interactive"
   MachServices => Dictionary[1]
      com.apple.uikit.eyedropperd.service => true
   ProgramArguments => Array[1]
      [0]: "/System/Library/PrivateFrameworks/Eyedropper.framework/Support/eyedropperd"
   UserName => "mobile"
   EnablePressuredExit => true
   Label => "com.apple.uikit.eyedropperd"

Running plu -p on the same file will get you an output like this:

{
    EnablePressuredExit = 1;
    Label = "com.apple.uikit.eyedropperd";
    MachServices =     {
        "com.apple.uikit.eyedropperd.service" = 1;
    };
    POSIXSpawnType = Interactive;
    ProgramArguments =     (
        "/System/Library/PrivateFrameworks/Eyedropper.framework/Support/eyedropperd"
    );
    ThrottleInterval = 1;
    UserName = mobile;
}

It currently supports printing all property types backed by Foundation

About

A simple property list printer similar to that of `plutil(1)` -p

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published