dscl createpl <path> <key> <plist path> <val> [vals...]

Creates a string, or array of strings at plist_path

Arguments

NameDescription
pathPath to the record
keyDirectory Service record attribute type
plist pathPath to the plist file
valValue of the key
valsValue of the key