0.0.7 • Published 8 years ago

plist-array v0.0.7

Weekly downloads
14
License
-
Repository
github
Last release
8 years ago

Install

[sudo] pip install plist-array

[sudo] sudo npm install -g plist-array

Features

  • based on Plistbuddy

Usage

# plist-array --help
usage: plist-array command plist key [options]

Available commands:
	get
	set
	add

run `plist-array help command` for more infos

Example

plist="path/to/name.plist"
key="ProgramArguments"

# set
$ set -- value1 value2
$ plist-array set "$plist" "$key" "$@"

# get
$ plist-array get "$plist" "$key"
value1
value2

# add
$ set -- value3 value3
$ plist-array add "$plist" "$key" "$@"
$ plist-array get "$plist" "$key"
value1
value2
value3
value4

Examples/

Feedback GitHub issues Join the chat at https://gitter.im/russianidiot/plist-array.sh.cli GitHub followers