phpcr/phpcr-shell — pull request #73 by dantleech (2014-07-27 08:37:49+00:00)
Title: Node edit command

This is a PR for a new command which enables nodes to be edited as a whole, and replaces the `node:property:edit` command (the `node:property:set` command still exists however).

Example:

````
PHPCRSH> node:edit cms/products/product1
````

Will open an editor with the following:

````
cost:
type: Double
value: 12.13
weight:
type: Long
value: 10
size:
type: String
value: XL
name:
type: String
value: 'Product One'
'jcr:primaryType':
type: Name
value: 'nt:unstructured'
tags:
type: String
value: [one, two, three]
````

You can then edit, remove or add properties as required.