Skip to content

tree command, reimplementation of doctrine:phpcr:node:dump command #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2014

Conversation

dantleech
Copy link
Member

Added level option to node:list command, show node hierarchy, equivalent of doctrine:phpcr:node:dump command

PHPCRSH> node:list --level=3
PHPCRSH> node:list -L3
+------------------------+-----------------+---------------------------------------------------------+
| page/                  | nt:unstructured |                                                         |
| | main                 | nt:unstructured |                                                         |
| | | jcr:primaryType    | NAME            | nt:unstructured                                         |
| | | jcr:mixinTypes     | NAME            | [0] phpcr:managed                                       |
|                        |                 | [1] mix:referenceable                                   |
| | | phpcr:class        | STRING          | Symfony\Cmf\Bundle\RoutingAutoBundle\Document\AutoRoute |
| | | phpcr:classparents | STRING          | [0] Symfony\Component\Routing\Route                     |
|                        |                 | [1] Symfony\Cmf\...                                     |
| | | jcr:uuid           | STRING          | 1944d5b2-a036-4a06-b51b-6d6d6ecad5af                    |
| | | host               | STRING          |                                                         |
| | | defaults           | STRING          |                                                         |
| | | requirements       | STRING          |                                                         |
| | | options            | STRING          |                                                         |
| | | addFormatPattern   | BOOLEAN         | false                                                   |
| | | addTrailingSlash   | BOOLEAN         | false                                                   |
| | | routeContent       | WEAKREFERENCE   | 3ae8261a-c2f6-4289-8bd6-dd76891816d5                    |
| | | fooo               | STRING          | barrrr                                                  |

dantleech added a commit that referenced this pull request Jun 8, 2014
tree command, reimplementation of `doctrine:phpcr:node:dump` command
@dantleech dantleech merged commit feaafe7 into master Jun 8, 2014
@dantleech dantleech deleted the lstree branch June 8, 2014 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant